Retrieve an order (synchronous API)
Last updated
Last updated
Retrieves the details of an order.
/v1/orders/{orderId}
The identifier of the Order.
curl -L \
--url 'https://api.digitalriver.com/v1/orders/{orderId}' \
--header 'Authorization: Basic username:password'
{
"id": "1067669580082",
"totalItemsInCart": 1,
"testOrder": false,
"sendEmail": false,
"locale": "en_US",
"currency": "USD",
"taxExempt": false,
"shopperLoginType": "Anonymous",
"shopperId": "42317897435",
"softDescriptor": "",
"orderState": "Completed",
"businessEntityCode": "DR_IRELAND-ENTITY",
"taxInclusive": false,
"shippingMethod": {
"code": 265200,
"description": "Standard"
},
"billingAddress": {
"title": "title",
"firstName": "firstName",
"lastName": "lastName",
"line1": "line1",
"line2": "line2",
"city": "city",
"postalCode": "00187",
"country": "IT",
"countryName": "Italy",
"phoneNumber": "06 6780691",
"emailAddress": "shopxTest@digitalriver.com",
"companyName": "companyName",
"countrySubdivision": "countrySubdivision",
"countyName": "countyName",
"phoneticFirstName": "phoneticFirstName",
"phoneticLastName": "phoneticLastName",
"division": "division"
},
"shippingAddress": {
"title": "title",
"firstName": "firstName",
"lastName": "lastName",
"line1": "line1",
"line2": "line2",
"city": "city",
"postalCode": "00187",
"country": "IT",
"countryName": "Italy",
"phoneNumber": "06 6780691",
"emailAddress": "shopxTest@digitalriver.com",
"companyName": "companyName",
"countrySubdivision": "countrySubdivision",
"countyName": "countyName",
"phoneticFirstName": "phoneticFirstName",
"phoneticLastName": "phoneticLastName",
"division": "division"
},
"taxRegistrations": [],
"submissionDate": {
"nano": 0,
"year": 2023,
"monthValue": 2,
"dayOfMonth": 27,
"hour": 20,
"minute": 36,
"second": 2,
"month": "FEBRUARY",
"dayOfWeek": "MONDAY",
"dayOfYear": 58,
"offset": {
"totalSeconds": 0,
"id": "Z",
"rules": {
"fixedOffset": true,
"transitions": [],
"transitionRules": []
}
}
},
"requestToBeForgotten": {
"nano": 0,
"year": 2023,
"monthValue": 2,
"dayOfMonth": 28,
"hour": 22,
"minute": 38,
"second": 6,
"month": "FEBRUARY",
"dayOfWeek": "TUESDAY",
"dayOfYear": 59,
"offset": {
"totalSeconds": 0,
"id": "Z",
"rules": {
"fixedOffset": true,
"transitions": [],
"transitionRules": []
}
}
},
"pricing": {
"total": {
"value": 122
},
"subTotal": {
"value": 100
},
"subtotalWithDiscount": {
"value": 100
},
"shippingAndHandling": {
"value": 0
},
"discount": {
"value": 0
},
"tax": {
"value": 22
},
"importTaxAndDuty": {
"value": 0
},
"fees": {
"value": 0
}
},
"paymentMethods": [],
"lineItems": []
}
Successful response.