PUT /shipping-rate-weights/{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
-
Grams
Default value is
0
. -
id integer(int32)
Id
-
name string | null
Name
-
Price
Default value is
0
. -
Price increase
Default value is
0
. -
Shipping rate
-
Shipping zone
Values are
domestic
orrest_of_world
. Default value isdomestic
. -
updatedAt string(date-time)
Updated at
PUT
/shipping-rate-weights/{id}.json
curl \
-X PUT http://api.example.com/v1/shipping-rate-weights/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"code":"string","createdAt":"2024-05-04T09:42:00+00:00","grams":0,"id":42,"name":"string","price":0,"priceIncrease":0,"shippingRateId":42,"shippingZone":"domestic","updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
"code": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"grams": 0,
"id": 42,
"name": "string",
"price": 0,
"priceIncrease": 0,
"shippingRateId": 42,
"shippingZone": "domestic",
"updatedAt": "2024-05-04T09:42:00+00:00"
}