Path parameters
-
id
integer(int64) Required Numeric ID of the instance
Minimum value is
1
.
Body
Required
-
createdAt
string(date-time) Created at
-
id
integer(int32) Id
-
name
string Required Name
-
price
number Required Price
Default value is
0
. -
priceIncrease
number | null Required Price increase
Default value is
0
. -
shippingRateId
integer(int32) Required Shipping rate
-
shippingZone
string Required Shipping zone
Values are
domestic
orrest_of_world
. Default value isdomestic
. -
updatedAt
string(date-time) Updated at
PUT
/shipping-rate-product-types/{id}.json
curl \
--request PUT 'http://api.example.com/v1/shipping-rate-product-types/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"createdAt":"2025-05-04T09:42:00Z","id":42,"name":"string","price":0,"priceIncrease":0,"shippingRateId":42,"shippingZone":"domestic","updatedAt":"2025-05-04T09:42:00Z"}'
Request examples
{
"createdAt": "2025-05-04T09:42:00Z",
"id": 42,
"name": "string",
"price": 0,
"priceIncrease": 0,
"shippingRateId": 42,
"shippingZone": "domestic",
"updatedAt": "2025-05-04T09:42:00Z"
}