latestOpenAPI 3.0.12026-08-101292701.1 MB
f21981db32be
Sales transactions
Gets a sales transaction by ID
Retrieves the details of a sales transaction. Supply the unique identifier of the sales transaction.
get/sales-transactions/{id}
Path parameters
idstring required
Sales transaction ID
Response
OK.
Example response
{
"id": "0206802584_000010_3700005504",
"createdTime": "2019-04-25T20:36:00Z",
"updatedTime": "2018-04-25T20:36:00Z",
"saleTime": "2019-04-25T00:00:00Z",
"salesSummaryId": "8100000400_1410_2019",
"currency": "GBP",
"amount": 443.08,
"type": "sale",
"orderId": "37031462099",
"skuId": "945-0198",
"quantity": 1,
"payoutAmounts": {
"currency": "USD",
"exchangeRate": 1.24535,
"amount": 551.79,
"tax": -91.97,
"shipping": -14.36,
"productPrice": 445.46,
"digitalRiverShare": -41.38,
"distributorShare": -375.61,
"payoutAmount": 28.47,
"storeCredit": 23.41
},
"payerId": "1410",
"payerName": "DR globalTech, Inc.",
"payeeId": "0013900100",
"payeeName": "ACME, Inc.",
"liveMode": true,
"orderUpstreamId": "fe18c37b-f76b-4eaa-892a-b1aca88cf46d",
"skuTaxCode": "4323.310_A",
"shipFromCountry": "US",
"shipToCountry": "NL",
"billToCountry": "US",
"shipFromState": "MN",
"shipToState": "MN",
"billToState": "MN",
"paymentType": "creditCard",
"lineItemId": "51885630082",
"orderMetadata": {
"coupon": "iOS"
},
"lineItemMetadata": {
"coupon": "iOS"
}
}