Errors
STORE_CLOSED
STORE_CLOSED
The store is not accepting orders at the time of the request — either outside posted hours, manually closed by the operator, or under a temporary capacity hold.
Summary
| Field | Value |
|---|---|
| HTTP status | 400 |
errorCategory | availability |
retryable | false |
When This Fires
POST /v1/marketplace/orders/validate— pre-flight rejects an order that targets a closed store.POST /v1/marketplace/orders/place— store transitioned to closed between validation and placement (TOCTOU). Provider is the authority at place-order; pre-flight is a UX hint, not a correctness gate.
Recommended Action
Do not retry the same store immediately. Instead:
- Re-call store availability (
GET /v1/marketplace/stores/{storeId}or re-run discovery for the user's address) to confirm current open hours. - Surface a "closed" affordance to the user with the next-open time if available.
- Offer alternative stores from a fresh discovery call.
A retry is only appropriate after the store's next-open time, and even then a fresh availability check should precede order submission.
Example
Code