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/ASIN-to-barcode endpoint converts Amazon Standard Identification Numbers (ASINs) to their corresponding barcodes. Each ASIN can map to multiple barcodes, so the API returns an array for each one.
Endpoint
Request body
Example request
Example response
B0C792QRW6 and B00AQUO5RI each map to two barcodes, while B0C792QRW9 returns an empty array because no barcode was found. to_total is 2 because only two ASINs produced results.
Response fields
meta object
data object
Each key is an ASIN from your request. Each value is an array of barcode strings. An ASIN can correspond to multiple barcodes (e.g. different regional packaging). An empty array [] means no barcode was found for that ASIN.
ASIN conversions always return an array of barcodes, not a single string. Check for an empty array
[] to identify ASINs where no barcode was found.