Admin API / Types
CreateShippingProfileInput
InputThe shipping profile to create.
input CreateShippingProfileInputInput fields
| Field | Type | Description |
|---|---|---|
idempotencyKey | String! | A client-generated key, 1 to 200 characters after trim. A repeat with the same key and input within 24 hours in the same marketplace returns the first result. The same key with another input returns IdempotencyConflictError. |
name | NonEmptyString! | The name that the seller sees, stored without leading and trailing white space. |
origin | ShippingOriginInput | Where calculated rates ship from. Required when a setting is CALCULATED, and refused when none is: either case fails with VALIDATION_ERROR. |
parcel | ParcelInput | The parcel that calculated rates price. Required when a setting is CALCULATED, and refused when none is: either case fails with VALIDATION_ERROR. |
settings | [ShippingSettingInput!]! | 1 to 5 settings with different countries. FIXED takes price. PROGRESSIVE takes price and additionalItemPrice. CALCULATED takes serviceLevelToken and bundlesLaterOrders; an omitted bundlesLaterOrders is false. FREE takes no other field. A missing field that the type takes, or a field that it does not take, fails with VALIDATION_ERROR. |