latestOpenAPI 3.0.02026-08-1056429755.6 KB
a6efafc1669c
Retrieve Order (Synchronous API)
Get an order details
Retrieves the details of an order.
get/v1/orders/{orderId}
Path parameters
orderIdstring required
The identifier of the Order.
Response
Successful response.
Example response
{
"id": "1067669580082",
"totalItemsInCart": 1,
"locale": "en_US",
"currency": "USD",
"shopperLoginType": "Anonymous",
"shopperId": "42317897435",
"orderState": "Completed",
"lineItems": [
{
"id": "52467820082",
"quantity": 1,
"lineItemState": "Submitted",
"product": {
"id": "5145984800",
"sku": "sku",
"displayName": "Physical Product",
"systemProductName": "Physical Product"
},
"pricing": {
"netPrice": {
"value": 100
},
"listPrice": {
"value": 100
},
"salePriceWithQuantity": {
"value": 100
}
},
"subscriptions": [
{
"id": "10007820082"
}
],
"downloads": [
{
"downloadUri": "https://wgt.digitalriver.com/wgt/9B5A1DA80C/B5E89D92/paytest/testdownload22222.txt"
}
],
"digitalRights": [
{
"unlockCode": "unlockCode"
}
]
}
],
"pricing": {
"total": {
"value": 122
},
"subTotal": {
"value": 100
},
"subtotalWithDiscount": {
"value": 100
},
"tax": {
"value": 22
}
},
"businessEntityCode": "DR_IRELAND-ENTITY",
"paymentMethods": [
{
"type": "creditCard",
"sourceId": "31674ac7-09bf-463b-b22b-eef835c6feed",
"sourceClientSecret": "31674ac7-09bf-463b-b22b-eef835c6feed_e5d0257c-107d-4515-b732-521a05cb4b6f",
"creditCard": {
"expirationYear": "2030",
"lastFourDigits": "1111",
"clientSecret": "31674ac7-09bf-463b-b22b-eef835c6feed_e5d0257c-107d-4515-b732-521a05cb4b6f",
"expirationMonth": "expirationMonth",
"brand": "AmericanExpress",
"flow": "standard"
},
"amountContributed": {
"currency": "USD",
"value": 97
}
}
],
"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": [
{
"key": "IT_VAT2",
"value": "IT12345678901"
}
]
}