Channel Listings

GET/channels/{channel_id}/listings

List listings for a channel

Lists the listings on one of the selected merchant's channels.

Required attributes

  • Name
    channel_id
    Type
    integer
    Description
    The ID of the channel, written with digits only; leading zeros are ignored. 0 lists the listings on every channel of the selected merchant. A channel that is not the selected merchant's, or no longer exists, returns an empty page. 1

Optional attributes

  • Name
    q
    Type
    string
    Description
    Search-language filters. Membership uses field:[JSON values], with at most 100 string or numeric values, e.g. productLink.product_id:[123,456]. Empty lists match nothing. Malformed clauses are silently omitted. Existing field permissions, types and AND/OR grouping apply. Also supported by GET /channels/listings. Listing pagination still applies; follow every page to retrieve all linked listings.
  • Name
    page
    Type
    integer
    Description
    The page number to retrieve (1-indexed). A page after the last one returns no listings. 1
  • Name
    per_page
    Type
    integer
    Description
    The number of listings per page 25
  • Name
    sorts
    Type
    string
    Description
    Up to two sorts, keyed either all by position or all by name
  • Name
    _has_multiple_fnskus
    Type
    integer
    Description
    Accepted for compatibility and ignored; it does not filter the listings.

Request

GET/channels/{channel_id}/listings
curl -G https://YOUR_DOMAIN/api/channels/{channel-id}/listings \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json"
Loading response...
POST/channels/{channel_id}/listings

Create a listing for a channel

Create a listing on a channel, optionally linked to one of the merchant's inventory items.

Required attributes

  • Name
    channel_id
    Type
    integer
    Description
    The ID of the channel 1
  • Name
    channel_identifier
    Type
    string
    Description
    The channel-specific identifier for the listing (e.g. ASIN for Amazon) B01234567

Optional attributes

  • Name
    item_id
    Type
    string
    Description
    The ID of the inventory item to link to this listing 1
  • Name
    merchant_sku
    Type
    string
    Description
    The merchant SKU; defaults to the item's SKU, then the channel identifier SKU-1
  • Name
    condition
    Type
    string
    Description
    Accepted for compatibility and not stored New

Request

POST/channels/{channel_id}/listings
curl -X POST https://YOUR_DOMAIN/api/channels/{channel-id}/listings \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "channel_identifier": "B01234567",
    "item_id": 1,
    "merchant_sku": "SKU-1",
    "condition": "New"
}'
Loading response...
POST/channels/listings/{listing}/link

Link a listing to a product

Links a channel listing to an inventory item, replacing any item it was linked to before.

Required attributes

  • Name
    listing
    Type
    integer
    Description
    The ID of the listing, written with 1 to 18 digits 1
  • Name
    item_id
    Type
    string
    Description
    The ID of the inventory item to link to this listing 1

Request

POST/channels/listings/{listing}/link
curl -X POST https://YOUR_DOMAIN/api/channels/listings/{listing}/link \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "item_id": 1
}'
Loading response...