Zamówienia

Pobierz listę zamówień wraz z porzuconymi koszykami

Zwraca listę zamówień

get/orders_with_carts

Query parameters

offsetinteger

Offset

limitinteger

Limit

status_idinteger

Identyfikator statusu

emailstring

Adres email

payment_status'paid' | 'unpaid' | 'excess' | 'partial' | 'returned'

status płatności

payment_idinteger

Identyfikator metody płatności

shipment_idinteger

Identyfikator metody dostawy

currencystring

symbol waluty

sale_document'receipt' | 'invoice'

dokument sprzedaży

date_fromstring

Data zamówienia od

date_tostring

Data zamówienia do

sortstring

Sortowanie (asc/desc), domyślnie desc

source'allegro' | 'ebay' | 'arena' | 'ceneo' | 'extsources' | 'amazon' | 'empik' | 'shopee' | 'erli' | 'wms' | 'marketplace' | 'baselinker'

źródło zamówienia

Response

success

datestring

Data utworzenia zamówienia

idinteger

Identyfikator zamówienia

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
      }
    ],
    "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

No recorded changes to this endpoint across all 1 revision of this API.