Create Shipping Dimension
Shipping Operations
Create Shipping Dimension
Create a new shipping dimension preset
POST
Create Shipping Dimension
V2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.
Overview
Create a new shipping dimension preset. Presets can be generic (reusable) or product-specific. These are used to pre-fill package dimensions when fetching shipping rates.Use Cases
- Save commonly used box sizes for quick rate lookups
- Define product-specific packaging dimensions
- Standardize packaging across the vendor’s catalogue
Request Body
Dimension type. Must be
generic or productSpecific.Shopify product ID. Required when
type is productSpecific.A human-readable name for the preset (e.g. “Small Box”).
Unit of measurement. Must be one of:
in, cm, mm, ft, m, yd.Package height. Minimum 0.
Package width. Minimum 0.
Package length. Minimum 0.
Response
200