Skip to main content

Update Customer Default Case Pack Rule

PUT 

/api/customers/:customer/case-pack-rules/default

Set the customer's default case pack rule, or clear it by sending ship_unit null. The response has the same shape as Get Customer Default Case Pack Rule, with a message of "Default case pack saved" or "Default case pack cleared".

Required scope: customers:write

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

Authentication: a Personal Access Token with the customers:write scope. Requires permission to edit customers.

Body fields:

  • ship_unit (required, nullable): case | case_then_inner | inner | each | custom. Must be present; null clears the default.
  • ship_pack_quantity (number, >0, max 100000): the pack size; required when ship_unit is custom and ignored otherwise.

Request​

Responses​

OK

Response Headers
    Content-Type