Skip to main content

Get 2D Barcode Data

GET 

/api/amazon/:integrationInstance/draft-inbound-plans/:draft_inbound_plan/labels/2d-barcode-data

Get the 2D box-content barcode content strings for every box of a packing group that was submitted with the BARCODE_2D content information source. Returns one entry per box with the content string in Amazon's documented AMZN 2D box-content format:

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

AMZN,PO:<shipment reference>,MSKU:<msku>,QTY:<qty>[,EXP:<YYYY-MM-DD>],MSKU:...

The PO: reference is the shipment confirmation ID (FBA…) when available, falling back to the Amazon shipment ID, then PLAN-{id}. Each box item contributes an MSKU:/QTY: pair; EXP: follows the pair it applies to when the item has an expiration date.

Note: this endpoint returns content STRINGS only — PDF417 graphic rendering is deferred (render client-side or in a later phase).

Query parameters:

  • packing_group_id (integer, required) — the packing group; must belong to this draft inbound plan (404 otherwise)

422 condition: the packing group was not submitted with the BARCODE_2D content information source.

Request

Responses

OK

Response Headers
    Content-Type