Labels document
GET
/ admin/ v1/ stores/ {store_id}/ documents/ labels- products:read
Price and barcode labels for the shelf: each variant's title, option, price and a Code 128 barcode of its barcode number (or SKU), on an A4 sheet or a label printer's roll.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Query parameters
itemsstringrequiredComma-separated variant or product IDs (a product: each of its variants), each with
*copieswhen more than one:var_1*3,prod_2. Up to 1,000 labels.layoutenumsheet(A4, 3 × 7) orroll(50 × 30 mm);sheetby default.- sheet
- roll
pricebooleanPrint prices;
trueby default.langstringar(right to left) oren; the store's language by default.
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Returns
200 Print-ready HTML.
Errors
- 403
forbiddenMissing permission. - 404
not_foundA variant that doesn't exist. - 422
validation_failedNo, too many or malformed items.