Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Trigger async order completion

Schedules an asynchronous task to complete an order that was created through a deferred checkout flow.

The task runs with a 5-second countdown delay. The response is immediate (202 Accepted) and the order is completed in the background.

post
/orders/complete_async/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Body
order_numberstringRequired

The unique order number of the order to complete.

Responses
202

The completion task was scheduled successfully. The order will be completed asynchronously.

application/json
objectOptional

An empty response body.

post/orders/complete_async/
POST /api/v1/remote/1/orders/complete_async/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 31

{
  "order_number": "000123456789"
}
{}

Last updated

Was this helpful?