Confirm Order¶
A created order must be confirmed with a separate call to Logitrail. This call can be done asynchronously after you have received the payment for the order or otherwise previewed the order.
Endpoint |
|
Method |
POST |
Request Parameters¶
URL placeholder {id} should be replaced with the Logitrail’s ID of the order.
The request body may contain a JSON object describing order details that should be updated. See section “Order JSON Object” in Create or Modify Order.
Response¶
Status: HTTP 200 OK
JSON object with following parameters.
|
|
|
Logitrail’s ID for the order (24-digit hex) |
|
Tracking code for the order, to be passed for the customer. |
|
Tracking URL for the order, to be passed for the customer. |
Error Responses¶
See Error Handling for generic documentation regarding error responses.
code values¶
Code |
HTTP Code |
Reason + how to fix |
|
The order is already confirmed or in another status but |