Zone Management
Welcome to zone management documentation file.
This documentation page contains the following items;
- What is the cargo zone?
- How is the corgo zone implement?
What is the cargo zone?
The regions of the users are determined according to their IP address. If there is a currency and localization rule defined for this detected region, it will be applied.
How is the cargo zone implement?
If you want to define zone, use the payload below.
Endpoint : Insert Zone
Method : POST
Payload
{
"language": "tr",
"currency": "TRY",
"regions": [
"tr"
]
}
Insert cargo zone with tax settings
Endpoint : Insert Zone
Method : POST
Payload
{
"language": "tr",
"currency": "TRY",
"regions": [
"tr",
"nl"
],
"rounding": "ToEven",
"taxOption": {
"isShowDetailPage": true,
"rules": [
{
"region": "tr",
"rate": 18,
"isIncludedProductPrice": true,
"isIncludedShippingPrice": true
},
{
"region": "nl",
"rate": 6,
"isIncludedProductPrice": false,
"isIncludedShippingPrice": false
}
]
}
}
Note
TaxOption
field is not mandatory.