---
title: "Pobierz szczegóły planowanej dostawy towaru"
method: GET
path: "/wms_stockingups/{id}"
tags: ["WMS - Dostawy towaru"]
---

# Pobierz szczegóły planowanej dostawy towaru

`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`

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

## Path parameters

- `id` integer, required

## Response `200`

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

- StockingupDetails
  - `id` integer
  - `document_number` string
  - `create_date` string
  - `delivery_date` string, date, nullable
  - `status` object
    - `id` integer
    - `code` integer
    - `name` string, nullable
    - `color` string, nullable
  - `contractor` object, nullable
    - `id` integer
    - `name` string
    - `email` string
  - `supplier` object, nullable
    - `id` integer
    - `name` string
  - `operation_document` object, nullable
    - `id` integer
    - `document_number` string
  - `author` object, nullable
    - `id` integer
    - `username` string
    - `email` string
  - `summary` object, required: Zwracane, gdy w parametrze include podano 'summary'
    - `items_count` integer
    - `total_quantity` integer
  - `products` StockingupProductItem[], required: Zwracane, gdy w parametrze include podano 'products'
    - `id` integer
    - `product_id` integer, nullable
    - `productvariant_id` integer, nullable
    - `product_name` string
    - `ean` string
    - `catalog_number` string
    - `quantity` integer
    - `variant_option_text` string
    - `date` string
    - `user_id` integer, nullable
  - `meta` object
    - `apisupplier_id` integer, nullable
    - `purchaseregistry_document_id` integer, nullable
    - `purchaseregistry_create_date` string, nullable

## Other responses

- `401`: Błąd autoryzacji
- `404`: Nie znaleziono planowanej dostawy o podanym ID.
- `422`: Błąd walidacji danych wejściowych (przesłane wartości nie spełniają wymagań biznesowych).
- `500`: Wewnętrzny błąd serwera. Zwraca unikalny identyfikator incydentu (error_id) do przekazania do działu wsparcia technicznego.

## Changes

- **2026-10-11** `400197636ecd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sellasist/apis/sellasist-api/changes/wms_stockingups/:id/get.md)

---

[API](https://skmtc.dev/sellasist/apis/sellasist-api.md) - [All operations](https://skmtc.dev/sellasist/apis/sellasist-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sellasist/apis/sellasist-api/revisions/58415a41c446?raw)
