Products
Fetch products
Retrieve one or more of your products by our numeric id.
| Field | Type | Required | Notes |
|---|---|---|---|
id |
integer | one of the two | A single id. |
ids |
array of integer | one of the two | A JSON array, for example ids=[123,456]. A bare 123,456 is rejected. |
This is not a catalogue listing and has no pagination. Store the id
values we return when you push products. Products on another channel cannot be
fetched.
condition, delivery_type, discreet_listing, gtin, handling_time and
quantity_per_lot always read back empty, because they are not stored on the
product.
Failures
| Status | Body | Meaning |
|---|---|---|
400 |
Invalid ids or id, please specify id or ids. |
Neither id nor ids was supplied. |
400 |
invalid ids[0] |
ids was not sent as a JSON array, for example ids=123,456. |
400 |
a product with a given id does not belong to the channel |
One of the ids belongs to another channel. |
404 |
could not find product/s |
No product matched. |
Response
200 with the matching products and a count.
See the example response.