Effective from: November 30, 2021
Here are the most recent updates to our API Reference page :
- We added the
start
andlimit
query parameters for the following 4 endpoints so you can control pagination better:
-
We updated the
subscription_url
body parameter for thePOST /v1/webhooks
endpoint to reflect the removal of the Webhooks redirection support. -
Duplicate
name
andoptions
body parameters were removed from thePOST /v1/productFields
endpoint. -
We documented the
ids
query parameter for theGET /v1/products
endpoint. You can now specify an array of integers with the IDs of the Products that should be returned in the response. -
The response status code for the following endpoints has been updated from
200
“OK” to201
“Created” to reflect reality:
- We updated the
GET /v1/products/{id}/followers
endpoint response schema so that the data property is a ProductFollower object. Previously, the data property was an array of user IDs.
Here’s the code example of the improved response in JSON:
{
"success": true,
"data": [ … ]
{ … }
"user_id": 123,
"id": 456,
"product_id": 789,
"add_time": "2021-08-03 12:07:05"
"additional_data": { … }
"pagination": { … }
"start": 0,
"limit": 100,
"more_items_in_collection": false
}
See more about recent changes announced in our Changelog!