POST api/v{version}/merchant

Ottieni la lista di tutti i Point completa di tutti i dettagli. ATTENZIONE! Il quantitativo di dati è corposo, si consiglia di salvare la risposta in cache.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

ApiRequest
NameDescriptionTypeAdditional information
client_id

string

Required

auth_token

string

Required

ts

string

Required

Request Formats

application/json, text/json

Sample:
{
  "client_id": "peHFRa141xCu4WFnyF8e",
  "auth_token": "9722487d44b88c093ea140fc771a43aa2ea6edccea8f40a3bf7e69f6729cd09b",
  "ts": "2014-10-21T08:03:25.4238996Z"
}

Response Information

Resource Description

ApiSummary
NameDescriptionTypeAdditional information
credits

integer

None.

orders_count

integer

None.

orders

Collection of ApiOrderSummary

None.

Response Formats

application/json, text/json

Sample:
{
  "credits": 100,
  "orders_count": 118,
  "orders": [
    {
      "state": "WaitingForPayment",
      "count": 1
    },
    {
      "state": "Booked",
      "count": 3
    },
    {
      "state": "Arrived",
      "count": 1
    },
    {
      "state": "Collected",
      "count": 112
    },
    {
      "state": "Canceled",
      "count": 1
    }
  ]
}