Access to individual endpoints can be restricted per account. If a request to this endpoint returns
403 with error code endpoint_not_enabled and you expect to have access, contact your account representative.POST /tools/convert/barcode-to-sku endpoint converts barcodes to the internal SKUs used by a specific merchant. Because SKUs are merchant-specific, you must identify the merchant in the config object with every request.
Endpoint
Request body
The barcodes to convert. Each element must be a valid numeric barcode string.
Example request
Example response
1234567890123 returns null because the merchant does not carry a product with that barcode.
Response fields
meta object
data object
Each key is a barcode from your request. Each value is the merchant SKU string, or null if the merchant does not carry that product.