Skip to main content
GET
/
v1
/
retailers
/
{retailer_pk}
/
products
/
List products
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"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

retailer_pk
number
required

Query Parameters

since
number
search_id
number
search_name
string
search_upc
string
search_sku
string
retailer_sku
string
attribute
string
retailer_attribute
string
retailer_id
number
brand_id
number[]
brand_code
string[]
brand_category
string[]
manufacturer_id
number[]
connection_id
number
manufacturer_code
string[]
identifier
string
parent_identifier
string
is_discontinued
number
is_sellable
number
in_stock
number
taxonomy_id
string
has_images
number
has_shipping
number
decision
string
order_by
string
page
integer
limit
integer

Response

200 - application/json
count
integer
required
Example:
results
object[]
required
next
string<uri> | null
Example:
previous
string<uri> | null
Example: