Actions for modifying an existing order
{- "UpdateReferenceOrderId": {
- "referenceOrderId": "string"
}
}
{- "orderId": "ordr_Zz6SN_8bIUK88SSq",
- "merchantId": "mcht_Zz6SN_8bIUK88SSm",
- "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_Zz6SN_8bIUK88SSs"
}
}
}, - "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"
}