Retrieves an order
{- "orderId": "ordr_Z2icv3UXMhzzOEVl",
- "merchantId": "mcht_Z2icvnUXMhzzOEVh",
- "referenceOrderId": "ORD-12411",
- "amount": {
- "minorCurrencyUnits": 0,
- "currency": "AUD"
}, - "surcharge": {
- "surchargeOptions": {
- "property1": "string",
- "property2": "string"
}, - "surchargePaidAmount": 0
}, - "customerEmailAddress": "string",
- "customerPhoneNumber": "string",
- "customerName": "string",
- "orderType": "online",
- "orderTypeDetails": {
- "InvoiceOrderTypeDetails": {
- "invoiceLineItems": [
- {
- "feeAmount": 0,
- "taxAmount": 0,
- "totalTransactionValue": 0,
- "count": 0,
- "description": "string",
- "category": "string",
- "unitPrice": "string"
}
], - "customerConfig": {
- "merchantPublicKey": "string",
- "customToken": "string",
- "hidePayLaterOption": true,
- "billingPaymentSourceId": "psrc_Z2icv3UXMhzzOEVn"
}
}
}, - "description": "string",
- "items": [
- {
- "amount": {
- "minorCurrencyUnits": 0,
- "currency": "AUD"
}, - "description": "string",
- "sku": "string",
- "quantity": 0,
- "imageUrl": "string"
}
], - "discountAmount": 0,
- "shipping": {
- "amount": 0,
- "address": {
- "line1": "string",
- "line2": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string"
}, - "carrier": "string",
- "name": "string",
- "phoneNumber": "string",
- "trackingNumber": "string"
}, - "billing": {
- "address": {
- "line1": "string",
- "line2": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string"
}, - "name": "string",
- "phoneNumber": "string"
}, - "metadata": { },
- "status": "created",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}