Pobierz listę zamówień wraz z koszykami
Changed onZwraca listę zamówień wraz z pozycjami koszyka oraz statusem realizacji pozycji.
Request
- Base URLhttps://demo.sellasist.pl/api/v1
- URLhttps://demo.sellasist.pl/api/v1/orders_with_carts
- AuthAPI key in header apiKey
Query parameters
Offset
Limit
Identyfikator statusu
Identyfikator statusu koszyka (1 - Niezamówione, 2 - Zamówione, 3 - Brak, 4 - Dostarczone)
Tryb filtrowania pozycji koszyka: 'include' (domyślnie - zamówienia zawierające wskazany status) lub 'only' (zamówienie zawiera wyłącznie podany status)
Adres email
status płatności
Identyfikator metody płatności
Identyfikator metody dostawy
symbol waluty
dokument sprzedaży
Data zamówienia od
Data zamówienia do
Kierunek sortowania po dacie utworzenia zamówienia (asc lub desc).
Sortowanie po ID (asc / desc)
źródło zamówienia
Response
success
Example response
[
{
"bill_address": {
"city": "Jurkowo",
"company_name": "Jurex z.o.o",
"company_nip": "0",
"country": {
"code": "PL",
"id": 170,
"name": "Poland"
},
"description": "Pod mostem",
"flat_number": "255",
"home_number": "13",
"name": "Jerzy",
"phone": "123456789",
"postcode": "12-345",
"state": "Mazowieckie",
"street": "Jurkowska",
"surname": "Jurkowski"
},
"carts": [
{
"additional_information": "Dodatkowe informacje",
"catalog_number": "",
"ean": "",
"external_offer_id": "A21S95F",
"id": 1,
"image": "https://imge.pl/p/5924/n/fbde7548c104824523c479972ac6af94.png",
"name": "Spodnie sztruksowe",
"price": 232.42,
"product_id": 341,
"quantity": 1,
"selected_options": "",
"symbol": "",
"tax_rate": 23,
"variant_id": 3,
"weight": 0,
"status": {
"id": 1,
"name": "Niezamówione"
}
}
],
"id": 1,
"payment": {
"cod": 1,
"currency": "PLN",
"name": "Przelewy zwykły",
"paid_date": "2018-09-12 20:32:58",
"status": "paid"
},
"status": {
"id": 1,
"name": "Nazwa statusu"
}
}
]Changes
- breaking
removed the enum value
shopeefrom thequeryrequest parametersource
- breaking
- breaking
the
queryrequest parametersortwas restricted to a list of enum values - breaking
for the
queryrequest parametersort, default valuedescwas added - breaking
the
///response's property type changed fromidtointegerfor status - info
added the new optional
queryrequest parametercart_status_id - info
added the new optional
queryrequest parametercart_status_mode - info
added the new optional
queryrequest parametersort_date - info
added the new enum value
ascto thequeryrequest parametersort - info
added the new enum value
descto thequeryrequest parametersort - info
added the optional property
///to the response with the status
- breaking