Admin API / Types
ProductShippingInput
InputHow a listing ships. Set exactly one field.
input ProductShippingInputInput fields
| Field | Type | Description |
|---|---|---|
custom | ProductShippingSettingsInput | Explicit rates for each destination. |
shippingProfileId | ID | A shipping profile of the listing seller. The listing copies the profile's settings when the call runs, and its parcel and ship-from when a setting is CALCULATED. A later change or deletion of the profile does not change the listing. A repeat of updateProduct copies the profile as it is then. A profile that is not the listing seller's, or that Query.shippingProfile does not return to the caller, gives SHIPPING_PROFILE_NOT_FOUND. A profile with no setting, a FIXED or PROGRESSIVE setting without a valid price, a CALCULATED setting without a service level, or a CALCULATED setting and no stored ship-from or valid parcel gives SHIPPING_PROFILE_INCOMPLETE. A destination other than US in a store that ships to the United States only gives SHIPPING_COUNTRY_NOT_ALLOWED. When no variant ships, the profile is ignored and gives no issue. |