POST /shipping-rate-zone-code-bands.json
Body Required
-
Price
Default value is
0
. -
Price increase
Default value is
0
. -
Shipping rate zone code
-
Threshold
Default value is
0
.
POST
/shipping-rate-zone-code-bands.json
curl \
-X POST http://api.example.com/v1/shipping-rate-zone-code-bands.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"price":0,"priceIncrease":0,"shippingRateZoneCodeId":42,"threshold":0}'
Request example
{
"price": 0,
"priceIncrease": 0,
"shippingRateZoneCodeId": 42,
"threshold": 0
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"price": 0,
"priceIncrease": 0,
"shippingRateZoneCodeId": 42,
"threshold": 0,
"updatedAt": "2024-05-04T09:42:00+00:00"
}