Create Shipping Zone
curl --request POST \
--url https://api.launchmystore.io/api/v1/shipping-zones \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"countries": [
{}
],
"rates": [
{
"name": "<string>",
"price": 123,
"min_order_subtotal": 123,
"max_order_subtotal": 123,
"estimated_days_min": 123,
"estimated_days_max": 123
}
]
}
'{
"success": true,
"data": {
"id": "zone_new123",
"name": "Asia Pacific",
"countries": ["JP", "KR", "SG", "AU", "NZ"],
"rates": [
{
"id": "rate_new001",
"name": "Standard International",
"price": 1999,
"estimated_days_min": 7,
"estimated_days_max": 14
}
],
"created_at": "2024-01-20T14:30:00Z"
}
}
Shipping Zones
Create Shipping Zone
Create a new shipping zone
POST
/
api
/
v1
/
shipping-zones
Create Shipping Zone
curl --request POST \
--url https://api.launchmystore.io/api/v1/shipping-zones \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"countries": [
{}
],
"rates": [
{
"name": "<string>",
"price": 123,
"min_order_subtotal": 123,
"max_order_subtotal": 123,
"estimated_days_min": 123,
"estimated_days_max": 123
}
]
}
'{
"success": true,
"data": {
"id": "zone_new123",
"name": "Asia Pacific",
"countries": ["JP", "KR", "SG", "AU", "NZ"],
"rates": [
{
"id": "rate_new001",
"name": "Standard International",
"price": 1999,
"estimated_days_min": 7,
"estimated_days_max": 14
}
],
"created_at": "2024-01-20T14:30:00Z"
}
}
Body Parameters
Zone name (e.g., “Domestic”, “Europe”, “Rest of World”)
Array of ISO 3166-1 alpha-2 country codes
Shipping rates for this zone
Response
{
"success": true,
"data": {
"id": "zone_new123",
"name": "Asia Pacific",
"countries": ["JP", "KR", "SG", "AU", "NZ"],
"rates": [
{
"id": "rate_new001",
"name": "Standard International",
"price": 1999,
"estimated_days_min": 7,
"estimated_days_max": 14
}
],
"created_at": "2024-01-20T14:30:00Z"
}
}
⌘I