Path parameters
-
id
integer(int64) Required Numeric ID of the instance
Minimum value is
1
.
Body
Required
-
code
string | null Code
-
createdAt
string(date-time) Created at
-
id
integer(int32) Id
-
label
string | null Label
-
maxLimit
boolean | null Max limit
-
maxLimitValue
number | null Max limit value
-
name
string | null Name
-
price
number Required Price
Default value is
0
. -
priceIncrease
number | null Required 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
-
shippingRateZoneId
integer(int32) Required Shipping rate zone
-
signatureRequired
boolean | null Signature required
-
updatedAt
string(date-time) Updated at
PUT
/shipping-rate-zone-codes/{id}.json
curl \
--request PUT 'http://api.example.com/v1/shipping-rate-zone-codes/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"code":"string","createdAt":"2025-05-04T09:42:00Z","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":"2025-05-04T09:42:00Z"}'
Request examples
{
"code": "string",
"createdAt": "2025-05-04T09:42:00Z",
"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": "2025-05-04T09:42:00Z"
}