Admin API / Types

CreateShippingProfileInput

Input

The shipping profile to create.

input CreateShippingProfileInput

Input fields

FieldTypeDescription
idempotencyKeyString!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.
nameNonEmptyString!The name that the seller sees, stored without leading and trailing white space.
originShippingOriginInputWhere calculated rates ship from. Required when a setting is CALCULATED, and refused when none is: either case fails with VALIDATION_ERROR.
parcelParcelInputThe 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.