GET
/
v1
/
retailers
/
{retailer_pk}
/
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

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

retailer_pk
number
required

Retailer ID

Query Parameters

since
number

Past date till current (Unix epoch format)

Search by variant ID, identifier, UPC, name, and retailer_identifier

search_id
number

Variant ID

search_name
string

Search by name

search_upc
string

Search by UPC

search_sku
string

Search by SKU

retailer_sku
string

Retailer SKU

Search by product name, identifier, or brand category

attribute
string

Product attributes

retailer_attribute
string

Retailer attribute

retailer_id
number

Retailer ID

brand_id
number[]

Vendor IDs. Multiple values may be added, separated by commas.

brand_code
string[]

Brand codes. Multiple values may be added, separated by commas.

brand_category
string[]

Brand categories. Multiple values may be separated by commas.

manufacturer_id
number[]

Manufacturer IDs. Multiple values may be separated by commas.

connection_id
number

Connection ID.

manufacturer_code
string[]

Manufacturer codes. Multiple values may be separated by commas.

identifier
string

Stock Keeping Unit (SKU), unique identifier of a product

parent_identifier
string

SKU of parent product

is_discontinued
number

1: Product is discontinued <br /> 0: Product is not discontinued

is_sellable
number

1: Product is sellable <br /> 0: Product is not sellable

in_stock
number

1: Product is in stock <br /> 0: Product is out of stock

taxonomy_id
string

Taxonomy ID

has_images
number

1: Product has images <br /> 0: Product does not have images

has_shipping
number

1: Product has shipping <br /> 0: Product does not have shipping

decision
string

Internal only

order_by
string

Sorting preference

page
integer

Page number within the paginated result set

limit
integer

Number of records per page

Response

200 - application/json
OK
count
integer
required

Total number of records

results
object[]
required
next
string | null

Next page (applicable in a paginated response)

previous
string | null

Previous page (applicable in a paginated response)