Get Shipping Options
GET
/store/shipping-optionsRetrieve a list of Shipping Options.
Request
Whether return shipping options should be included. By default, all shipping options are returned.
"Comma-separated list of Product IDs to filter Shipping Options by. If provided, only shipping options that can be used with the provided products are retrieved."
"The ID of the region that the shipping options belong to. If not provided, all shipping options are retrieved."
Request samples
Responses
An array of shipping options details.
The shipping option's ID
The name given to the Shipping Option - this may be displayed to the Customer.
The ID of the region this shipping option can be used in.
The details of the region this shipping option can be used in.
The ID of the Shipping Profile that the shipping option belongs to.
The ID of the fulfillment provider that will be used to later to process the shipping method created from this shipping option and its fulfillments.
The amount to charge for shipping when the Shipping Option price type is flat_rate
.
Flag to indicate if the Shipping Option can be used for Return shipments.
Flag to indicate if the Shipping Option usage is restricted to admin users.
Whether the shipping option price include tax
The date with timezone at which the resource was created.
The date with timezone at which the resource was updated.
The date with timezone at which the resource was deleted.
The type of pricing calculation that is used when creatin Shipping Methods from the Shipping Option. Can be flat_rate
for fixed prices or calculated
if the Fulfillment Provider can provide price calulations.
The data needed for the Fulfillment Provider to identify the Shipping Option.
An optional key-value map with additional details
A Shipping Profile has a set of defined Shipping Options that can be used to fulfill a given set of Products. For example, gift cards are shipped differently than physical products, so a shipping profile with the type gift_card
groups together the shipping options that can only be used for gift cards.
A fulfillment provider represents a fulfillment service installed in the Medusa backend, either through a plugin or backend customizations. It holds the fulfillment service's installation status.
The details of the requirements that must be satisfied for the Shipping Option to be available for usage in a Cart.
Price including taxes
The taxes applied.
An array of applied tax rates
{
"shipping_options": [
{
"id": "so_01G1G5V27GYX4QXNARRQCW1N8T",
"name": "PostFake Standard",
"region_id": "reg_01G1G5V26T9H8Y0M4JNE3YGA4G",
"region": {},
"profile_id": "sp_01G1G5V239ENSZ5MV4JAR737BM",
"provider_id": "manual",
"amount": 200,
"is_return": false,
"admin_only": false,
"includes_tax": false,
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"deleted_at": "2019-08-24T14:15:22.123Z",
"price_type": "flat_rate",
"data": {},
"metadata": {
"car": "white"
},
"profile": {
"id": "sp_01G1G5V239ENSZ5MV4JAR737BM",
"name": "Default Shipping Profile",
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"deleted_at": "2019-08-24T14:15:22.123Z",
"type": "default",
"products": [
{}
],
"shipping_options": [
{}
],
"metadata": {
"car": "white"
}
},
"provider": {
"id": "manual",
"is_installed": true
},
"requirements": [
{
"id": "sor_01G1G5V29AB4CTNDRFSRWSRKWD",
"shipping_option_id": "so_01G1G5V27GYX4QXNARRQCW1N8T",
"shipping_option": {},
"amount": 100,
"deleted_at": "2019-08-24T14:15:22.123Z",
"type": "min_subtotal"
}
],
"price_incl_tax": 0,
"tax_amount": 0,
"tax_rates": [
{
"rate": 0,
"name": "string",
"code": "string"
}
]
}
]
}