Skip to content

v3.7.1

Compare
Choose a tag to compare
@seb86 seb86 released this 13 Jun 18:14
· 232 commits to trunk since this release

What's New

  • πŸš€ You can now limit the results set to products assigned a specific category or tag via their slug names instead of ID.

Example of limiting products via category and tag. wp-json/cocart/v2/products/?category=accessories&tag=hats

There was some confusion with this as the documentation said (query by ID) but the API schema said (query by slug). Now you can do either. This adjustment affects both API versions.