---
title: "Returns a list of sales transactions"
method: GET
path: "/sales-transactions"
tags: ["Sales transactions"]
---

# Returns a list of sales transactions

`GET /sales-transactions`

Get all sales transactions.

## Query parameters

- `createdTime` object
- `endingBefore` string
- `startingAfter` string
- `ids` string[]
- `limit` integer
- `saleTime` object
- `salesSummaryId` string
- `orderUpstreamId` string
- `paymentType` string
- `type` 'sale' | 'replacement' | 'replacement_refund' | 'replacement_return' | 'fraud_chargeback' | 'non_fraud_chargeback' | 'refund' | 'return' | 'fraud_detection' | 'declined_settlement'
- `currency` string
- `orderId` string
- `skuId` string
- `quantity` object
- `amount` object
- `digitalRiverShare` object
- `payoutAmount` object

## Response `200`

200 OK

- object
  - `hasMore` boolean — Whether or not there are more elements available after this set. If false this set represents the end of the list.
  - `data` SalesTransaction[]
    - `id` string — Unique identifier for the sales transaction
    - `createdTime` string, date-time — Time at which the sales transaction was created
    - `updatedTime` string, date-time — Time at which the sales transaction was last updated.
    - `saleTime` string, date-time — Time at which the sales occurred.
    - `salesSummaryId` string — Unique identifier of a Digital River sales summary, if any.
    - `currency` string — Three-letter ISO currency code representing the sale currency.
    - `amount` number, double — The sales transaction amount.
    - `type` 'sale' | 'replacement' | 'replacement_refund' | 'replacement_return' | 'fraud_chargeback' | 'non_fraud_chargeback' | 'refund' | 'return' | 'fraud_detection' | 'declined_settlement' — Sales transaction type.
    - `orderId` string — Order identifier.
    - `skuId` string — SKU identifier.
    - `quantity` number, double — The quantity of the SKU.
    - `payoutAmounts` PayoutAmounts
      - `currency` string — Three-letter ISO currency code representing the payout currency.
      - `exchangeRate` number, double — The exchange rate used to convert the sales amount into the payout currency sales amount.
      - `amount` number, double — The sales transaction amount.
      - `tax` number, double — Tax amount.
      - `shipping` number, double — Shipping amount.
      - `regulatoryFees` number, double — Regulatory fees amount.
      - `landedCost` number, double — Landed costs amount.
      - `productPrice` number, double — Product price.
      - `digitalRiverShare` number, double — Digital River share amount.
      - `distributorShare` number, double — Distributor amount.
      - `transactionFees` number, double — Transaction fees amount.
      - `shippingDiscount` number, double — Shipping discount amount.
      - `regulatoryFeeDiscount` number, double — Regulatory fee discount amount.
      - `remitShipping` number, double — Shipping remittance amount.
      - `remitLandedCost` number, double — Landed Cost remittance amount.
      - `payoutAmount` number, double — Payout amount.
      - `storeCredit` number, double — Store credit.
    - `payerId` string — The ID of payer.
    - `payerName` string — The name of the payer
    - `payeeId` string — The ID of the payee.
    - `payeeName` string — The name of the payee.
    - `liveMode` boolean — Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    - `orderUpstreamId` string — Unique upstream ID for the order.
    - `skuTaxCode` string — The sku tax code.
    - `shipFromCountry` string — Country being shipped from.
    - `shipToCountry` string — Country being shipped to.
    - `billToCountry` string — Country listed on shopper's billing address.
    - `shipFromState` string — The state, county, province, or region being shipped from.
    - `shipToState` string — The state, county, province, or region being shipped to.
    - `billToState` string — The state, county, province, or region being billed to.
    - `paymentType` string — Type of payment used.
    - `lineItemId` string — The unique identiier of the line item.
    - `orderMetadata` Metadata — Key-value pairs used to store additional data. Value can be string, boolean or integer types.
    - `lineItemMetadata` Metadata — Key-value pairs used to store additional data. Value can be string, boolean or integer types.

## Other responses

- `400` — 400 Bad Request
- `401` — 401 Unauthorized
- `403` — 403 Forbidden
- `405` — 405 Method Not Allowed
- `406` — 406 Not Acceptable
- `408` — 408 Request Timeout
- `429` — 429 Too Many Requests
- `500` — 500 Internal Server Error
- `502` — 502 Bad Gateway Error
- `503` — 503 Service Unavailable Error
- `504` — 504 Gateway Timeout Error

---

[API](https://skmtc.net/digitalriver/apis/digital-river-api-reference.md) · [All operations](https://skmtc.net/digitalriver/apis/digital-river-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalriver/digital-river-api-reference/revisions/f21981db32be/schema)
