PUT /shipping-rate-zone-codes/{id}.json
Path parameters
-
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
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
-
updatedAt string(date-time)
Updated at
PUT
/shipping-rate-zone-codes/{id}.json
curl \
-X PUT http://api.example.com/v1/shipping-rate-zone-codes/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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"}'
Request example
{
"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"
}