PUT /shipping-rate-weights/{id}.json

PUT /shipping-rate-weights/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

PUT /shipping-rate-weights/{id}.json
curl \
 --request PUT 'http://api.example.com/v1/shipping-rate-weights/{id}.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"code":"string","createdAt":"2025-05-04T09:42:00Z","grams":0,"id":42,"name":"string","price":0,"priceIncrease":0,"shippingRateId":42,"shippingZone":"domestic","updatedAt":"2025-05-04T09:42:00Z"}'
Request examples
{
  "code": "string",
  "createdAt": "2025-05-04T09:42:00Z",
  "grams": 0,
  "id": 42,
  "name": "string",
  "price": 0,
  "priceIncrease": 0,
  "shippingRateId": 42,
  "shippingZone": "domestic",
  "updatedAt": "2025-05-04T09:42:00Z"
}