Import SKUs using CSV

Method imports SKUs to the repository.

curl -i -X POST \
  -H "X-App-Id: c70a6f00-cf91-4756-9df5-47628850002b" \
  -H "X-App-Token: 3266b9f8-e246-4f79-bdf0-833929b1380c" \
  -F [email protected]/path/to/skus.csv \

The CSV file has to include headers in the first line. All properties which cannot be mapped to standard SKU fields will be added to the metadata object. You can find an example template here.


Import sequence

First import products using the dedicated endpoint, then import SKUs using this endpoint to properly match SKUs to products.


Standard SKU fields mapping

  • Required fields are source_id and product_id.
  • Supported CSV file headers: product_id,sku,source_id,price,image_url,attributes
    SKU source_id's must be unique in the entire product catalog, no duplicates allowed.
  • SKU attributes need to be in the form of a stringy-fied json, i.e."{'color':'blue'}". These attributes must be defined in the product beforehand in order for you to be able to import them to the SKU.
  • You can use this method to update the following parameters in bulk: sku and the sku price.

Response schema

Returns 202 HTTP status code on success. It informs that your request has been accepted and SKUs will be added to the repository asynchronously. To learn about operation status and result, copy the async action ID from the API response and use Get Async Action endpoint.

Click Try It! to start a request and see the response here!