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
array of strings
required
The barcodes to convert. Each element must be a valid numeric barcode string.
object
required
Configuration for the conversion. You must specify the target merchant.
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.
object
Key-value pairs where each barcode maps to a SKU string or
null.