Get your sales counters

​

Returns the counters of your sales dashboard in your selling currency: the orders waiting to be shipped and their value, the orders on their way, how many orders need your action, the payout owed to you that has not been transferred yet, and the conversations with unread messages.

These counters use their own status sets and are not a report: for totals over a period use GET /v1/sales/report.

409 NOT_A_SELLER when the account has no seller profile.

Requires the sales:read scope.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/sales/stats
curl https://public-api.cardnexus.com/v1/sales/stats \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "currency": "EUR",
  "awaitingShipment": {
    "count": 7,
    "value": {
      "amount": 214.8,
      "currency": "EUR"
    }
  },
  "shipped": {
    "count": 12,
    "value": {
      "amount": 389.5,
      "currency": "EUR"
    }
  },
  "actionRequired": 8,
  "pendingFunds": {
    "amount": 311.9,
    "currency": "EUR"
  },
  "unreadConversations": {
    "withBuyers": 2,
    "withSupport": 0
  }
}