YOUR_API_SECRETwith your actual API Secret. For example, if your API secret was
curlcommand to fetch all affiliates would be:
401 UnauthorizedJSON response:
404 Not FoundJSON response:
422 UnprocessableEntity JSON response:
nullif there's no previous page.
nullif there's no next page.
paginationfor a collection of 150 objects in total, split into 3 pages of 50 objects per page:
expandrequest parameter. You can use
expandto expand a single type of object, or
expandto expand multiple types of objects.
affiliateyou would prepend this query string parameter to the request URL:
saleobjects, prepend this query string parameter to the request URL:
429responses will include RateLimit header fields which you can use to gracefully handle failures and retry requests when your quota resets.