Confirmation
Confirm that you can accept the order (at least partially) and deliver it on the requested date. If some products can't be supplied you can still confirm; the packing slip then states what's actually delivered.
Confirm before the order's confirm_by. You can also confirm inline in the response to the Order call; in that case, don't call this endpoint.
POST https://erp.wundermart.com/api/v1/order/<uuid>/confirm/
The request takes no payload; the order is identified by the uuid in the path.
Responses
- 204: confirmation received.
- 404: the order doesn't exist or isn't waiting for confirmation. That includes orders that are already confirmed, inline or through this endpoint. The body is a plain-text explanation.
- 401 / 403: authentication failed (token or IP address). The body is JSON:
{"detail": "..."}.
Confirm an order once. A 404 when you retry after a timeout most likely means your first call did arrive.
No comments to display
No comments to display