Receive product data in response to PUT/POST calls

What's new

It became possible to reduce the number of GET calls to the REST API – now, when you make PUT/POST calls, you can receive full or partial product data in the response JSON.

Changes in API

Additional query params added to POST /products and PUT /products/{id} requests:

  • returnItem when true adds product data to the response JSON instead of its standard fields.

  • responseFields allows you to limit received fields similarly to how it works with GET requests

Update productchevron-rightCreate productchevron-right

Last updated

Was this helpful?