Ecommerce: Shipping
Set store shipping
Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.
post/api/ecommerce/v1/stores/{store_id}/shipping
Path parameters
store_idstring required
Example:store_01J8Z5F8W9K8M4A7B3C2D1E0FG
The ID of the store to configure shipping for.
Request body
Example request
{
"price": 500
}Response
Success response
Example response
{
"shipping_option": {
"id": "so_01J8Z5F8W9K8M4A7B3C2D1E0FG",
"amount": 500,
"currency_code": "usd"
},
"admin_url": "https://admin.example.com/store_01.../store-settings/shipping"
}