Skip to main content

Update Product Freight Attributes

PUT 

/api/products/:product/freight-attributes

Save a product's freight attributes.

Required scope: products:write

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

Body fields

  • freight_class (optional): 50, 55, 60, 65, 70, 77.5, 85, 92.5, 100, 110, 125, 150, 175, 200, 250, 300, 400, 500.
  • nmfc_code (optional, max 20).
  • is_stackable (boolean).
  • is_hazmat (boolean).
  • un_number (UN or NA + 4 digits, upper-cased, e.g. UN1266), proper_shipping_name (max 255), hazard_class (max 10): required when is_hazmat is true.
  • packing_group (optional): I, II or III.

Response. The stored attributes (a product with none reports stackable and not hazardous), plus density (lb per cubic foot, from the case dimensions and weight when the product has a case, else the unit's: density_source is case or unit, null when it can't be worked out), suggested_freight_class (the class that density falls in) and freight_classes (every valid class). Freight loads prefilled from orders use these attributes for the handling units' class, NMFC, stackability and hazmat data.

Authentication: Requires Bearer token with the products:write scope.

Requires permission: products.update

Request​

Responses​

OK

Response Headers
    Content-Type