1. Help Center
  2. Setup & Developer Documentation

Shoppable v5 Product API Documentation

This endpoint is used to query a given set of UPCs to get: Stock availabilities in retailers Up-to-date price information Variations (customers have the ability to create their own variation by grouping products )

 

Overview

This endpoint is used to query a given set of UPCs to get:
  • Stock availabilities in retailers
  • Up-to-date price information
  • Variations (customers have the ability to create their own variation by grouping products )

API EndPoint

POST: https://cloud.shoppable.com/products 

Authentication

Authentication is done with two headers in the request header. Both the bearer token and x-shoppable-secret will be provided to you by your Customer Success Manager at Shoppable.  

Request Headers 

  "Authorization": “Bearer <Bearer token that will be provided by shoppable>”, 
  "x-shoppable-secret": “<Shoppable Secret will be provided by shoppable>”
  "Content-Type": "application/json"

Request Header authorization parameters when generating your request along with context

Name

Description

Authorization
(Bearer Token)
(String)

A unique token that allows access to authorized users to make calls against the Product API.


X-shoppable-secret
(string)

A unique identifier string that together with the authorization bearer, validates the bearer token    

Request Body

Requests must be in application/json format and must contain the following variables.


Name

Description

upcs (array)

Unique Product Code number used to identify products from different retailers, Max 20 upcs can be queried at one call

lean (boolean)

Setting this property to true will add a metadata object property to the response which adds additional data including total merchants, total in stock, and link off data for a UPC.



{
  "upcs": ["00050428648360"], 
  "lean": false
}

Response 

On a successful call, you will receive the following data.

Name

Description

totalMerchants
(Number)

Total Merchants the UPC is available at
(Property displayed when post parameter lean set to false)

totalInStock
(Number)

Total Number of Merchants the UPC is in stock for
(Property displayed when post parameter lean set to false)

totalOutOfStock
(boolean) 

Total Number of Merchants the UPC is out of stock for
(Property displayed when post parameter lean set to false)

linkOff
(boolean) 

Shows if Product has linkoff Merchants
(Property displayed when post parameter lean set to false)

exists
(boolean) 

Product exists at available merchants
(Property displayed when post parameter lean set to false)

Id (string)

Unique Shoppable Product Identifier

partNumber
(string)

Unique Shoppable Product Group Identifier
(Used for grouping Products with Variations)

Name
(string)

Name of the Product

Merchant
(string)

Name of Product’s Merchant 

MerchantId
(string)

Unique Shoppable Merchant Identifier

Brands
(string)

Name of Product’s Brand

Category
(string)

Category of Product

merchantSku
(string)

A unique product identifier, usually provided by Product manufacturer

UPC
(string)

A unique Product Code number used to identify products from different retailers

Description
(string)

Description of the Product

url
(string)

Product Detail Page link

salePrice
(number)

Sales Price of Product (If Product is on sale)

size
(string)

Size variation of Product

color
(string)

Color variation of Product

status
(number)

Product Availability (In Stock/Out of Stock)

image
(string)

Primary image of Product

images
(array)

Multiple Product Images (If Applicable)

asin
(string)

Amazon Unique Product Identifier

merchantLogo
(string)

Merchant Logo for Product

maxQuantity
(number)

Max number threshold of the Product that can be added to the cart

shippingCharge
(number)

Shipping charge of the Product (If free shipping threshold is not reached)

freeShipping
(number)

Cart total threshold that must be reached to qualify for free shipping 

customerServiceUrl
(string)

Customer Service Url for merchant of Product

returnPolicy
(string)

Return Policy Url for merchant of Product


Variations

Id (string)

Unique Shoppable Product Identifier

partNumber
(string)

Unique Shoppable Product Group Identifier
(Used for grouping Products with Variations)

Name
(string)

Name of the Product

merchant
(string)

Name of Product’s Merchant 

merchantId
(string)

Unique Shoppable Merchant Identifier

brands 
(string)

Name of Product’s Brand

Category
(string)

Category of Product

merchantSku
(string)

Unique product identifier, usually provided by Product manufacturer

UPC
(string)

Unique Product Code number used to identify products from different retailers

Description
(string)

Description of the Product


url
(string)

Product Detail Page link

salePrice
(number)

Sales Price of Product (If Product is on sale)

size
(string)

Size variation of Product

color
(string)

Color variation of Product

status
(number)

Product Availability (In Stock/Out of Stock)

image
(string)

Primary image of Product

images
(array)

Multiple Product Images (If Applicable)

asin
(string)

Amazon Unique Product Identifier

merchantLogo
(string)

Merchant Logo for Product

maxQuantity
(number)

Max number threshold of the Product that can be added to the cart

shippingCharge
(number)

Shipping charge of the Product (If free shipping threshold is not reached)

freeShipping
(number)

Cart total threshold that must be reached to qualify for free shipping 

customerServiceUrl
(string)

Customer Service Url for merchant of Product

returnPolicy
(string)

Return Policy Url for merchant of Product

error
(boolean)

Error object that returns a value if an error occurred during the
Product Call


{

  "metaData": {

     "totalMerchants":  Number,

     "totalInStock": Number,

     "totalOutOfStock": Number

  },

  "products": {

     "00050428648360": {

        "data": [

           {

              "id": String,

              "partNumber": String,

              "name": String,

              "merchant": String,

              "merchantId": String,

              "Brands": String,

              "category": String,

              "merchantSku": String,

              "upc": String

              "description": String,

              "url": String,

              "salePrice": Number,

              "price": Number,

              "size": String,

              "color": String,

              "status": Number,

              "image": String

              "images": Array

              "asin": "",

              "merchantLogo": String,

              "maxQuantity": Number,

              "shippingCharge": Number,

              "freeShipping": Number,

              "customerServiceUrl": String,

              "returnPolicy": String,

              "variations": Array [

                 {

                    "Id": String,

                    "partNumber": String,

                    "Name": String ,

                    "merchant": String,

                    "merchantId": String,

                    "brands": String,

                    "category": String,

                    "merchantSku": String

                    "upc": String,

                    "description": String,

                    "url": String,

                    "salePrice": Number,

                    "price": Number,

                    "size": String,

                    "color": String,

                    "status": Number,

                    "image": String,

                    "images": Array [

                       String

                    ],

                    "asin": String,

                    "merchantLogo": String,

                    "maxQuantity": Number,

                    "shippingCharge": Number,

                    "freeShipping": Number,

                    "customerServiceUrl": String,

                    "returnPolicy": "String

                 }

              ]

           }

         ],

        "linkOff": boolean,

        "totalMerchants": Number,

        "totalInStock": Number,

        "totalOutOfStock": Number,

        "exists": boolean

     }

  },

  "error": boolean

}