POST /shipping-rate-zone-codes.json
Body Required
-
code string | null
Code
-
label string | null
Label
-
maxLimit boolean | null
Max limit
-
maxLimitValue number | null
Max limit value
-
name string | null
Name
-
Price
Default value is
0
. -
Price increase
Default value is
0
. -
provider string | null
Provider
-
providerCode string | null
Provider code
-
providerId string | null
Provider
-
serviceLevelTerms string | null
Service level terms
-
serviceLevelToken string | null
Service level token
-
Shipping rate zone
-
signatureRequired boolean | null
Signature required
POST
/shipping-rate-zone-codes.json
curl \
-X POST http://api.example.com/v1/shipping-rate-zone-codes.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"code":"string","label":"string","maxLimit":true,"maxLimitValue":42.0,"name":"string","price":0,"priceIncrease":0,"provider":"string","providerCode":"string","providerId":"string","serviceLevelTerms":"string","serviceLevelToken":"string","shippingRateZoneId":42,"signatureRequired":true}'
Request example
{
"code": "string",
"label": "string",
"maxLimit": true,
"maxLimitValue": 42.0,
"name": "string",
"price": 0,
"priceIncrease": 0,
"provider": "string",
"providerCode": "string",
"providerId": "string",
"serviceLevelTerms": "string",
"serviceLevelToken": "string",
"shippingRateZoneId": 42,
"signatureRequired": true
}
Response examples (200)
{
"code": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"label": "string",
"maxLimit": true,
"maxLimitValue": 42.0,
"name": "string",
"price": 0,
"priceIncrease": 0,
"provider": "string",
"providerCode": "string",
"providerId": "string",
"serviceLevelTerms": "string",
"serviceLevelToken": "string",
"shippingRateZoneId": 42,
"signatureRequired": true,
"updatedAt": "2024-05-04T09:42:00+00:00"
}