Sales summaries

Sales Summaries provide a comprehensive overview of your transaction data daily. Managed and compiled by Digital River, these summaries offer easy access to detailed sales information, empowering businesses to monitor and analyze their financial performance effortlessly. Users can retrieve specific sales summaries or access a complete list to gain insights into daily sales activity, enabling data-driven decisions and strategic planning.

Returns a list of sales summaries

get

Get all sales summaries.

Authorizations
Query parameters
endingBeforestringOptional

A cursor for use in pagination. The endingBefore parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with xyz your subsequent calls can include endingBefore=xyz in order to fetch the previous page of the list.

startingAfterstringOptional

A cursor for use in pagination. The startingAfter parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with xyz, your subsequent calls can include startingAfter=xyz in order to fetch the next page of the list.

idsstring[]Optional

Only return objects with these IDs.

limitinteger · min: 1 · max: 5000Optional

A limit on the number of objects returned. Limit can range between 1 and 5000, and the default is 10.

paidstringOptional

Only return sales summaries which have been paid

payoutIdstringOptional

Only return sales summaries with this payout identifier

currencystringOptional

Only return sales summaries in the given currency

payerIdstringOptional

Only return sales summaries with this payer identifier

payerNamestringOptional

Only return sales summaries with this payer name

payeeIdstringOptional

Only return sales summaries with this payee identifier

payeeNamestringOptional

Only return sales summaries with this payee name

Responses
200
200 OK
application/json
get
GET /sales-summaries HTTP/1.1
Host: api.digitalriver.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "hasMore": true,
  "data": [
    {
      "id": "8100000400_1410_2019",
      "createdTime": {
        "offset": {
          "totalSeconds": 0,
          "id": "Z",
          "rules": {
            "fixedOffset": true,
            "transitions": [],
            "transitionRules": []
          }
        },
        "nano": 0,
        "year": 2019,
        "monthValue": 4,
        "dayOfMonth": 25,
        "hour": 20,
        "minute": 36,
        "second": 0,
        "dayOfWeek": "THURSDAY",
        "dayOfYear": 115,
        "month": "APRIL"
      },
      "salesClosingTime": {
        "offset": {
          "totalSeconds": 0,
          "id": "Z",
          "rules": {
            "fixedOffset": true,
            "transitions": [],
            "transitionRules": []
          }
        },
        "nano": 0,
        "year": 2019,
        "monthValue": 4,
        "dayOfMonth": 25,
        "hour": 0,
        "minute": 0,
        "second": 0,
        "dayOfWeek": "THURSDAY",
        "dayOfYear": 115,
        "month": "APRIL"
      },
      "currency": "USD",
      "amount": 1180.26,
      "payoutId": "2000028600_1410_2019",
      "paid": true,
      "payerId": "1410",
      "payerName": "DR globalTech, Inc.",
      "payeeId": "0013900100",
      "payeeName": "ACME, Inc.",
      "liveMode": true
    }
  ]
}

Gets a sales summary by ID

get

Retrieves the details of a sales summary. Supply the unique identifier of the sales summary.

Authorizations
Path parameters
idstringRequired

Sales summary ID

Responses
200
OK.
application/json
get
GET /sales-summaries/{id} HTTP/1.1
Host: api.digitalriver.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "8100000400_1410_2019",
  "createdTime": {
    "offset": {
      "totalSeconds": 0,
      "id": "Z",
      "rules": {
        "fixedOffset": true,
        "transitions": [],
        "transitionRules": []
      }
    },
    "nano": 0,
    "year": 2019,
    "monthValue": 4,
    "dayOfMonth": 25,
    "hour": 20,
    "minute": 36,
    "second": 0,
    "dayOfWeek": "THURSDAY",
    "dayOfYear": 115,
    "month": "APRIL"
  },
  "salesClosingTime": {
    "offset": {
      "totalSeconds": 0,
      "id": "Z",
      "rules": {
        "fixedOffset": true,
        "transitions": [],
        "transitionRules": []
      }
    },
    "nano": 0,
    "year": 2019,
    "monthValue": 4,
    "dayOfMonth": 25,
    "hour": 0,
    "minute": 0,
    "second": 0,
    "dayOfWeek": "THURSDAY",
    "dayOfYear": 115,
    "month": "APRIL"
  },
  "currency": "USD",
  "amount": 1180.26,
  "payoutId": "2000028600_1410_2019",
  "paid": true,
  "payerId": "1410",
  "payerName": "DR globalTech, Inc.",
  "payeeId": "0013900100",
  "payeeName": "ACME, Inc.",
  "liveMode": true
}

Last updated