Skip to main content
POST
Bulk-pack multiple identical units under a single group

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ean
string
required

European Article Number looked up in the central EAN registry.

Example:

"8594001524129"

quantity
integer
required

Number of child product records to create under the group.

Required range: 1 <= x <= 10000
Example:

5

epc_ids
string[]
required

EPC IDs to be attached to the group product.

Minimum array length: 1
Example:
location_id
integer | null

Optional location ID. When provided, every created EPC is assigned this location (latest_location_id). Must reference an existing row in locations. Omit or set to null to leave EPCs without a location.

Example:

1

Response

Group product and children created, EPCs attached to the group.

group
object
required
children
object[]
required
epc_hashes
string[]
required

Hashes of the EPCs attached to the group product.