Skip to main content

Get order

To retrieve details about a specific order using our management api, you need to perform a GET request to the orders endpoint while providing the order's id.

Please note

It is important to note that when retrieving the order details after an action, such as capture or refund, the values returned may exhibit eventual consistency. This means that there may be a slight delay between performing an action and the updated order details being reflected in the API's response.

GET /manage/orders/{{orderId}} HTTP/1.1
Host: api.uat.walleydev.com // (Please note! Different hostname in production)
Content-Type: application/json
Authorization: Bearer bXlVc2VybmFtZTpmN2E1ODA4MGQzZTk0M2VmNWYyMTZlMDE...

Data Model​

Request​

Request path​
PathRequiredExplanation
orderIdYesThe id of the order that is requested
Request headers​
HeaderRequiredExplanation
AuthorizationYesInstructions on how to generate the Bearer token value can be found here

Response​

Possible responses​
Http status codeDescription
200OK
401Unauthorized, token verification needed. See: Authentication for more information
403Permissions needed e.g. trying to handle content for a store you don't have permission to
404Order not found
Response body from 200 OK​

This is the main structure of the response object:

{
"data": {},
"links": {},
"metaData": {}
}

response.data object follows the structure:

Example​
{
"id": "853f3f82-ab12-47c3-9d97-af17009852cd",
"reference": "MX_220921_111434",
"paymentMethod": "Invoice",
"totalAmount": 2362.36,
"currency": "SEK",
"status": "Activated",
"salesSegment": "B2C",
"countryCode": "SE",
"productCode": "DI_001",
"placedAt": "2022-09-21T11:14:35.7900411+02:00",
"expiresAt": null,
"customer": {
/*...*/
},
"deliveryAddress": {
/*...*/
},
"invoiceAddress": {
/*...*/
},
"items": [
/*...*/
],
"invoices": [
/*...*/
]
}
PropertyExplanation
idThe id of the order
referenceThe order number/reference set by merchant at point of purchase
paymentMethodThe method used by the end customer to perform the Purchase. Invoice, Account, Installment, Card, BankTransfer, Swish, InterestFreeAccount
totalAmountThe total amount of the order excluding financial fees
currencyThe currency of the order
statusThe status of the entire order. NotActivated, Activated, PartActivated, Returned, Expired, OnHold, Closed
salesSegmentThe type of endcustomer that made the order, B2C, B2B
countryCodeThe country code of the market where the order was placed
productCodeThe product code used for the payment method
placedAtTimestamp in UTC of when the order was placed
expiresAtTimestamp in UTC of when the order expires if not activated
customerCustomer specific details. See Customer
deliveryAddressDelivery address. See Address
invoiceAddressInvoicing address. See Address
itemsAll items of the order See Items
invoicesList of invoices the end customer has been notified. See Invoice