Dokumenty - Paragony

Pobierz listę paragonów

Changed on

Zwraca listę paragonów

get/receipts

Request

  • Base URL
    https://demo.sellasist.pl/api/v1
  • URL
    https://demo.sellasist.pl/api/v1/receipts
  • Auth
    API key in header apiKey

Query parameters

order_idstring

Dla zamówienia nr

date_fromstring

Data utworzenia paragonu od

date_tostring

Data utworzenia paragonu do

printedboolean

Wydrukowane (true/false)

print_suspendedboolean

Wydruk zawieszony (true/false)

offsetinteger

Offset

limitinteger

Limit

sortstring

Sortowanie (asc/desc), domyślnie desc

series_idinteger

Identyfikator serii

Response

Sukces

integer[] required

Example response

[
  {
    "date": "2018-09-19T11:59:32.000Z",
    "id": 1,
    "print_suspended": 1,
    "printed": 0
  },
  {
    "date": "2018-09-19T11:59:32.000Z",
    "id": 2,
    "print_suspended": 0,
    "printed": 0
  },
  {
    "date": "2018-09-19T11:59:32.000Z",
    "id": 3,
    "print_suspended": 0,
    "printed": 1
  }
]

Changes

    • breaking

      for the query request parameter print_suspended, the type changed from bool to boolean

    • breaking

      for the query request parameter printed, the type changed from bool to boolean