Skip to main content

Update Product Pallet Spec

PUT 

/api/v2/products/:product/pallet-spec

Save a product's pallet spec, or clear it by sending every field empty.

Required scope: products:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: a Personal Access Token in the Authorization header with the inventory scope. Requires permission to edit products.

Body fields (all optional, nullable):

  • cases_per_pallet (integer, 1-100000). Ignored when ti and hi are both given: cases per pallet is then ti x hi.
  • ti (integer, 1-1000): cases per layer; required with hi.
  • hi (integer, 1-1000): layers per pallet; required with ti.
  • length, width, height (number, >0, max 1000): the loaded pallet, deck included.
  • dimension_unit: in | cm (default in).
  • weight (number, >0): gross weight of a full pallet.
  • weight_unit: lb | kg (default lb).

Request​

Responses​

OK

Response Headers
    Content-Type