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
array of strings
required
The ASINs to convert. Maximum 10 per request.
object
required
Configuration for the conversion. You must specify the Amazon locale.
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.
object
Key-value pairs where each ASIN maps to an array of barcode strings.
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.