POST /shipping-rate-weights.json
Body Required
POST /shipping-rate-weights.json
curl \
-X POST http://api.example.com/v1/shipping-rate-weights.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"code":"string","grams":0,"name":"string","price":0,"priceIncrease":0,"shippingRateId":42,"shippingZone":"domestic"}'
Request example
{
"code": "string",
"grams": 0,
"name": "string",
"price": 0,
"priceIncrease": 0,
"shippingRateId": 42,
"shippingZone": "domestic"
}
Response examples (200)
{
"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"
}