Publish a new delivery charge schedule
POST/delivery-charge-schedules
PublishChargeSchedule. A schedule names a charge (and optional free-over threshold) for every classic service tier (SAME_DAY, NEXT_DAY, TWO_DAY, STANDARD) and may name one for CONSOLIDATED, which is free when the schedule does not declare it; the new version supersedes the current one and DeliveryChargeScheduleChanged is published.
Request
Responses
- 201
- 400
- 409
- 422
The published schedule.
Response Headers
"true" when this response is the stored answer of an earlier request carrying the same Idempotency-Key (the handler did not run again). Absent on the first execution.
idempotency-key-required (header missing), idempotency-key-invalid (not 1-128 printable ASCII characters) or malformed-request (bad JSON, an unknown field, a wrong type, an empty body, trailing data, a body over 64 KiB or a NUL character in the body or query string).
non-increasing-version (ErrNonIncreasingVersion), concurrent-update or idempotency-key-reused.
validation-failed or incomplete-charge-schedule (ErrIncompleteChargeSchedule).