Requests allow you to retrieve up-to-date product data from an online store. Please refer to this documentation for proper handling of requests from us.

HTTP POST request

Request header:

Authorization: Bearer {your unique token},
Content-Type: application/json,

Request getProducts example:

{
    "method": "getProducts",
    "details": 0,
    "offset": null,
    "count": 10
}

Request fields description

NameTypeValueRemarks
methodStringgetProduct
detailsInteger/Booleanfalse or 0: request basic data
true or 1: request detailed product information
Detailed information is requested for new product import or when product data has been changed (identified by updated field of response message). For existing products only basic info is requested such as price and availability.
offsetNull/Integer/StringLastId value from response message or null on first requestUsed to continue listing from last known position
countIntegerNumber of products to provide

Request getProductsBySku example:

{
   "method": "getProductsBySku",
   "details": 1,
   "sku": [
        "12312321",
        "21312312",
        "12321321"
   ]
}
NameTypeValueRemarks
methodStringgetProductsBySku
detailsInteger/Booleanfalse or 0: request basic data true or 1: request detailed product informationDetailed information is requested for new product import or when product data has been changed (identified by updated field of response message). For existing products only basic info is requested such as price and availability.
skuArraySKU listArray of strings with SKU list to provide

Response example:

{
   "prods": [
       {
           "sku": 12345678,
           "url": "https://example.com",
           "manufacturer": "Example Manufacturer",
           "model": "Example Model",
           "ean": "1234567890123",
           "price": 9.99,
           "availability": "InStock",
           "itemsAvailable": 42,
           "updated": "2020-02-20 15:44:49"
       }
   ],
   "lastId": 1234
}

Response with details flag set example:

{
   "prods": [
       {
           "sku": "12345678",
           "url": "https://example.com",
           "manufacturer": "Example Manufacturer",
           "model": "Example Model",
           "ean": "1234567890123",
           "price": 9.99,
           "availability": "InStock",
           "itemsAvailable": 42,
           "itemCondition": "NewCondition",
           "category": "Example Category",
           "name": "Example Product",
           "description": "Example Product Description",
           "updated": "2020-02-20 15:44:49",
           "delivery": [
               {
                   "country": [
                       "BE",
                       "DE"
                   ],
                   "carriers": [
                       {
                           "name": "UPS",
                           "shippingRate": 9.99,
                           "deliveryDays": 3
                       },
                       {
                           "name": "PickupInStore",
                           "shippingRate": 0,
                           "deliveryDays": 0,
                           "inStore": 1
                       }
                   ]
               },
               {
                   "country": "PL",
                   "carriers": [
                       {
                           "shippingRate": 5,
                           "name": "UPS",
                           "deliveryDays": 3
                       },
                       {
                           "shippingRate": 9.99,
                           "name": "UPS",
                           "deliveryDays": 2
                       }
                   ]
               }
           ],
           "images": [
                   "https://example.com/image1.jpg",
                   "https://example.com/image2.jpg",
                   "https://example.com/image3.jpg"
           ]
       }
   ],
   "lastId": 1234
}

Response fields description:

NameTypeMaximal LengthRequirementDescription
skuInteger/String100 symbolsMandatoryUnique store product identifier
urlString2048 symbolsMandatoryURL to product page
manufacturerString256 symbolsConditionalProduct manufacturer
modelString256 symbolsConditionalProduct model (manufacturer code or mpn)
eanString/Array255 symbols each eanConditionalProduct EAN-13 code(s)
priceFloat10 digitsMandatoryProduct price including VAT
availabilityString-MandatoryItemAvailability per schema.org enumeration
itemsAvailableInteger-OptionalNumber of products in stock available for purchase
itemConditionString-Mandatory[0]OfferItemCondition per schema.org enumeration
nameString512 symbolsMandatory[0]Product name
categoryString256 symbolsMandatory[0]Product category
descriptionString65535 symbolsOptional[0]Product short description
updatedString-MandatoryProduct details modification date in format “YYYY-MM-DD hh:mm:ss”
deliveryArray-Mandatory[0]Product delivery options (check array description below)
imagesArray1024 symbols each imageOptional[0]Product image list
lastIdInteger/String-MandatoryUnique record identifier of last product. This value is used as offset in getProducts request to continue product list

[0] - Field required when request flag is true or 1

Delivery array description:

NameTypeRequirementDescription
countryString/ArrayMandatoryCountry code in ISO 3166 where the store is able to deliver. For countries with the same shipping rates and delivery times an array of country codes can be provided
carriersArrayMandatoryCarriers array (check array description below)

Carriers array description:

NameTypeRequirementDescription
nameStringMandatoryCarrier name
shippingRateFloatMandatoryShipping costs for the product. Default value: 0
deliveryDaysIntegerMandatoryEstimated delivery time in days. Default value: 0
inStoreInteger/BooleanOptionalIf true or 1, indicates that product can be picked up from store without delivery
Default: false