orderBase
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": [
/*...*/
]
}
| Property | Explanation |
|---|---|
| id | The id of the order |
| reference | The order number/reference set by merchant at point of purchase |
| paymentMethod | The method used by the end customer to perform the Purchase. Invoice, Account, Installment, AdvanceInvoice, Swish, Amex, Dankort, Vipps, Card, MobilePay, BankTransfer, LoyalPay, VippsMobilePay, ApplePay |
| totalAmount | The total amount of the order excluding financial fees |
| currency | The currency of the order |
| status | The status of the entire order. NotActivated, Activated, PartActivated, Returned, Expired, OnHold, Closed |
| salesSegment | The type of endcustomer that made the order, B2C, B2B |
| countryCode | The country code of the market where the order was placed |
| productCode | The product code used for the payment method |
| placedAt | Timestamp in UTC of when the order was placed |
| expiresAt | Timestamp in UTC of when the order expires if not activated |
| customer | Customer specific details. See Customer |
| deliveryAddress | Delivery address. See Address |
| invoiceAddress | Invoicing address. See Address |
| items | All items of the order See Items |
| invoices | List of invoices the end customer has been notified. See Invoice |