cURL
curl --request GET \ --url https://marketplace-api.fabric.inc/v1/retailers/{retailer_pk}/products/ \ --header 'Authorization: Bearer <token>'
{ "count": 100, "next": "https://api.example.org/demo/{retailer_pk}/?page=5", "previous": "https://api.example.org/demo/{retailer_pk}/?page=3", "results": [ { "id": 5678, "name": "Sample Product AYX", "identifier": "SKU978", "brand": { "id": 456, "code": "marla-store", "name": "Marla Store" }, "brand_category": "Category 78", "brand_name": "Sample Brand", "parent_identifier": "Main-1", "parent_name": "Main Sample", "description": "Sample description of product", "rcn_status": "pending", "published_at": "2022-09-10T15:24:56Z", "expires_at": "2022-11-10T15:24:56Z", "primary_media": { "id": 567, "width": 1, "height": 1, "media": "<string>", "priority": 2, "url": "https://assets.demo.com/attachments/path_to_attachment/attachment.pdf", "updated_at": "2022-09-10T15:24:56Z", "created_at": "2022-08-10T15:24:56Z" }, "pricing": "12.00", "num_variants": 2, "created_at": "2022-07-10T15:24:56Z", "updated_at": "2022-08-10T15:24:56Z" } ] }
Gets a list of products.
Show child attributes
Was this page helpful?