Shipping
Introduction
Endpoints
Shipping rates
Shipping types
Shipping methods
Countries
Regions
Parameters
Key
Description
Last updated
Last updated
POST /api/beta/shipping/rates HTTP/1.1
Host: api.merchone.com
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"shipping": {
"country": 276
},
"items": [
{
"quantity": 5,
"variant_id": 4
}
]
}{
"data": [
{
"code": "DHL",
"name": "DHL",
"price": 6.02,
"price_details": {
"currency": "EUR",
"formatted": "6.02 €",
"in_subunit": 602
}
},
{
"code": "DHL",
"name": "DHL",
"price": 6.02,
"price_details": {
"currency": "EUR",
"formatted": "6.02 €",
"in_subunit": 602
}
}
]
}GET /api/beta/shipping/types HTTP/1.1
Host: api.merchone.com
Authorization: Basic username:password
Accept: */*
{
"data": [
{
"priority": 1,
"code": "UNTRACKED"
},
{
"priority": 2,
"code": "TRACKED"
}
]
}GET /api/beta/shipping/methods HTTP/1.1
Host: api.merchone.com
Authorization: Basic username:password
Accept: */*
{
"data": [
{
"code": "GEL",
"name": "GEL"
},
{
"code": "UPS",
"name": "UPS"
}
]
}GET /api/beta/countries HTTP/1.1
Host: api.merchone.com
Authorization: Basic username:password
Accept: */*
{
"data": [
{
"name": "Germany",
"country_id": 276,
"country_code": "DE"
},
{
"name": "Latvia",
"country_id": 428,
"country_code": "LV"
}
]
}GET /api/beta/regions/{country_id} HTTP/1.1
Host: api.merchone.com
Authorization: Basic username:password
Accept: */*
{
"data": [
{
"id": 52,
"code": "AB",
"name": "Alberta"
},
{
"id": 53,
"code": "LB",
"name": "Labrador"
}
]
}