Skip to content

PRICE-2642 - Add 503 service unavailable details in DELETE price list and price records endpoints#1300

Merged
bc-vinbase merged 3 commits intomainfrom
PRICE-2642
Mar 30, 2026
Merged

PRICE-2642 - Add 503 service unavailable details in DELETE price list and price records endpoints#1300
bc-vinbase merged 3 commits intomainfrom
PRICE-2642

Conversation

@bc-vinbase
Copy link
Copy Markdown
Contributor

@bc-vinbase bc-vinbase commented Mar 30, 2026

PRICE-2642

What changed?

Adds 503 error response documentation to the following DELETE endpoints in price_lists.v3.yml:

  • DELETE /pricelists — Delete All Price Lists
  • DELETE /pricelists/{price_list_id} — Delete a Price List
  • DELETE /pricelists/{price_list_id}/records — Delete Price List Records
  • DELETE /pricelists/{price_list_id}/records/{variant_id}/{currency_code} — Delete a Price Record by
    Currency Code

Also adds a new ServiceUnavailableError schema to components/schemas with the following fields: code,
message, details, retry_after_seconds, and timestamp.

These endpoints now return 503 when the service is temporarily degraded, with a SERVICE_DEGRADED error
code and a retry_after_seconds field indicating when the client should retry.

Release notes draft

The DELETE endpoints for Price Lists and Price List Records now return a 503 response when the
service is temporarily unavailable. If you receive this response, check the retry_after_seconds field
in the response body to know when to retry your request.

ping @bc-rogersepulveda @VivekV95 @bdav87

@bc-vinbase bc-vinbase merged commit 05974b1 into main Mar 30, 2026
2 checks passed
@bc-vinbase bc-vinbase deleted the PRICE-2642 branch March 30, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants