WMS - Dostawy towaru

Pobierz szczegóły planowanej dostawy towaru

Changed on

Zwraca pełne dane planowanej dostawy: kontrahenta, dostawcę, status, powiązany dokument PZ, autora, podsumowanie ilości oraz listę produktów i wariantów.

get/wms_stockingups/{id}

Request

  • Base URL
    https://demo.sellasist.pl/api/v1
  • URL
    https://demo.sellasist.pl/api/v1/wms_stockingups/{id}
  • Auth
    API key in header apiKey

Path parameters

idinteger required
Example:15

Unikalny identyfikator dokumentu planowanej dostawy

Response

Sukces. Zwraca pełne szczegóły dostawy i pozycje towarowe.

idinteger
document_numberstring
create_datestring
delivery_datestring date nullable

Example response

{
  "id": 15,
  "document_number": "PZ/PLAN/2026/09/15",
  "create_date": "2026-09-10 11:20:00",
  "delivery_date": "2026-09-15",
  "status": {
    "id": 2,
    "code": 1,
    "name": "W realizacji",
    "color": "#ffaa00"
  },
  "contractor": {
    "id": 12,
    "name": "Hurtownia Sp. z o.o.",
    "email": "dostawy@hurtownia.pl"
  },
  "supplier": {
    "id": 5,
    "name": "Supplier S.A."
  },
  "operation_document": {
    "id": 42,
    "document_number": "PZ 12/2026"
  },
  "author": {
    "id": 3,
    "username": "magazynier_jan",
    "email": "jan@firma.pl"
  },
  "summary": {
    "items_count": 4,
    "total_quantity": 250
  },
  "products": [
    {
      "id": 94,
      "product_id": 341,
      "productvariant_id": 7691,
      "product_name": "Koszulka sportowa męska FIT",
      "ean": "5907529223437",
      "catalog_number": "TSHIRT-FIT-M",
      "quantity": 50,
      "variant_option_text": "Rozmiar: M, Kolor: Czarny",
      "date": "2026-09-10 11:20:00",
      "user_id": 3
    }
  ]
}

Changes