POST /shipping-rate-zone-code-bands.json

POST /shipping-rate-zone-code-bands.json
application/json

Body Required

  • price number Required

    Price

    Default value is 0.

  • priceIncrease number | null Required

    Price increase

    Default value is 0.

  • shippingRateZoneCodeId integer(int32) Required

    Shipping rate zone code

  • threshold number Required

    Threshold

    Default value is 0.

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • createdAt string(date-time)

      Created at

    • id integer(int32)

      Id

    • price number Required

      Price

      Default value is 0.

    • priceIncrease number | null Required

      Price increase

      Default value is 0.

    • shippingRateZoneCodeId integer(int32) Required

      Shipping rate zone code

    • threshold number Required

      Threshold

      Default value is 0.

    • updatedAt string(date-time)

      Updated at

POST /shipping-rate-zone-code-bands.json
curl \
 --request POST 'http://api.example.com/v1/shipping-rate-zone-code-bands.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"price":0,"priceIncrease":0,"shippingRateZoneCodeId":42,"threshold":0}'
Request examples
{
  "price": 0,
  "priceIncrease": 0,
  "shippingRateZoneCodeId": 42,
  "threshold": 0
}
Response examples (200)
{
  "createdAt": "2025-05-04T09:42:00Z",
  "id": 42,
  "price": 0,
  "priceIncrease": 0,
  "shippingRateZoneCodeId": 42,
  "threshold": 0,
  "updatedAt": "2025-05-04T09:42:00Z"
}