Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The shipping option's ID.
Query Parameters
Comma-separated fields that should be included in the returned data. if a field is prefixed with +
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.
Body
The properties to update in the shipping option.
The shipping option's name.
The shipping option's data that is useful for third-party providers.
The type of the shipping option's price. If calculated
, its price is retrieved by the associated fulfillment provider during checkout. If flat
, its price is set in the prices
property.
calculated
, flat
The ID of the associated fulfillment provider that is used to process the option.
The ID of the shipping profile this shipping option belongs to.
The shipping option's type.
The shipping option's prices. If the price_type
is calculated
, pass an empty array.
- Option 1
- Option 2
The shipping option's rules.
- Option 1
- Option 2
Response
OK
The shipping option's details.
The shipping option's details.