---
title: "Pobierz szczegóły wariantu produktu"
method: GET
path: "/products_variants/{product_variant_id}"
tags: ["Produkty - Warianty"]
---

# Pobierz szczegóły wariantu produktu

`GET /products_variants/{product_variant_id}`

## Request

- Base URL: `https://demo.sellasist.pl/api/v1`
- URL: `https://demo.sellasist.pl/api/v1/products_variants/{product_variant_id}`
- Auth: API key in header `apiKey`

Zwraca informacje o podanym wariancie produktu

## Path parameters

- `product_variant_id` integer, required

## Response `200`

Sukces, zwraca informacje o wskazanym wariancie produktu

- ProductVariantsObject
  - `alert` integer: Powiadomienie związane z stanem magazynowym
  - `allegro_id` string: Identyfikator na allegro
  - `allegro_product_binded` integer: Status połączenia produktu z allegro
  - `automater_product_id` string: Identyfikator w platformie automater
  - `availbility_id` integer: Identyfikator kodu dostępności
  - `catalog` string: Kod katalogu produktu
  - `ean` string: Kod EAN
  - `external_offers_settings` object[]: Ustawienia zewnętrznych ofert
    - `account` string: Nazwa konta w serwisie
    - `external_account_id` integer: Identyfikator konta
    - `offer_id` integer: Identyfikator oferty
    - `shop` string: Nazwa serwisu
  - `external_shops_mappings` object[]: Ustawienia ofert sklepów sellingo
    - `foreign_product_id` integer: Identyfikator produktu w zewnętrznym sklepie
    - `shop_name` string: Nazwa sklepu
    - `shop_type` string: Typ sklepu
  - `id` integer: Identyfikator wariantu w produkcie
  - `order` integer: Numer porządkowy
  - `presale_date` string: Data przedsprzedaży
  - `price` number: Cena wariantu produktu
  - `price_promo` number: Promocyjna cena produktu
  - `pricesfieldsvalues` object[]: Wartości pól cenowych
    - `id` integer: Identyfikator wartości pola cenowego
    - `prices` object: Wartość pola w poszczególnych walutach włączonych w usłudze (kod waluty => kwota)
    - `pricesfield_id` integer: Identyfikator pola cenowego
    - `value` number: Wartość pola w walucie domyślnej usługi
  - `product_id` integer: Identyfikator produktu do którego należy wariant
  - `promotion` integer: Stan promocji 1 = aktywna, 0 = wyłączona
  - `promotion_end` string: Data zakończenia promocji
  - `quantity` number: Stan magazynowy
  - `quantity_suppliers` integer: Stan u dostawców
  - `quantity_updated_at` string: Data aktualizacji stanu magazynowego
  - `reserved` integer: Status rezerwacji
  - `sells` integer: Ilość sprzedanych wariantów produktów
  - `status` integer: Status wariantu produktu
  - `symbol` string: Symbol produktu
  - `volume` number: Objętość (kubatura)
  - `weight` number: Waga

## Other responses

- `401`: Błąd autoryzacji

## Changes

- **2026-10-28** `58415a41c446`: 5 warning
  - removed the optional property `external_offers_settings/items/price` from the response with the `200` status
  - removed the optional property `external_offers_settings/items/price_promo` from the response with the `200` status
  - removed the optional property `external_offers_settings/items/promotion` from the response with the `200` status
  - removed the optional property `external_offers_settings/items/promotion_end` from the response with the `200` status
  - …1 more
- **2026-10-11** `400197636ecd`: 9 breaking, 1 info
  - the `presale_date` response's property type changed from `datetime` to `string` for status `200`
  - the `price` response's property type changed from `float` to `number` for status `200`
  - the `price_buy` response's property type changed from `float` to `number` for status `200`
  - the `price_promo` response's property type changed from `float` to `number` for status `200`
  - …6 more

[Operation history](https://skmtc.dev/sellasist/apis/sellasist-api/changes/products_variants/:product_variant_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)
