Confirm a retail order
POST/retail_orders/:id/actions/confirm
note
This endpoint is a work in progress and may change before being stabilized.
Confirm a previously created order. This action finalizes the order and triggers the activation of the associated giftcard product.
Use this endpoint when the payment has been successfully collected. Activating the order may take some time depending on the product and the retail location.
Request
Responses
- 200
- 400
- 404
- 500
Retail order confirmed successfully
Bad Request
Not Found
Internal Server Error
Error Codes
| HTTP Status | Class | Code | Description |
|---|---|---|---|
| 404 | not_found | entity_not_found | Entity not found |
| 400 | invalid_state | order_invalidated | The order has been invalidated and cannot be completed |
| 400 | invalid_state | order_failed | The order already failed and cannot be completed |
| 400 | invalid_state | order_already_completed | The order has already been completed |