Skip to main content

Fully deliver an order

Use this request when you ship the entire order to the customer

Use case​

The entire order has been picked and packed and you are about to ship it to the customer.

When the order is fully captured, the...

  • state of the order will be Activated in Walley's system.
  • amount will be marked for payout to your bank account
  • order will be a part of the reconciliation report

Endpoints used​

Capture order

Example​

The following request will capture the order with id abcdef-12345-1234-5555-6666 to marked it as fully delivered or "Activated".

POST /manage/orders/abcdef-12345-1234-5555-6666/capture HTTP/1.1
Host: api.uat.walleydev.com // Test environment. Production uses a different hostname.
Authorization: Bearer {{accessToken}}
Walley-Idempotency: 03304b06-cb33-4f78-bcea-86cb4b202ba0
Content-Type: application/json

{
"amount": 285.0,
"description": "Capture description",
"actionReference": "test-captureref-123"
}