Produkty - Warianty

Pobierz szczegóły wariantu produktu

Changed on

Zwraca informacje o podanym wariancie 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

Path parameters

product_variant_idinteger required

Identyfikator wariantu produktu

Response

Sukces, zwraca informacje o wskazanym wariancie produktu

alertinteger

Powiadomienie związane z stanem magazynowym

allegro_idstring

Identyfikator na allegro

allegro_product_bindedinteger

Status połączenia produktu z allegro

automater_product_idstring

Identyfikator w platformie automater

availbility_idinteger

Identyfikator kodu dostępności

catalogstring

Kod katalogu produktu

eanstring

Kod EAN

idinteger

Identyfikator wariantu w produkcie

orderinteger

Numer porządkowy

presale_datestring

Data przedsprzedaży

pricenumber

Cena wariantu produktu

price_promonumber

Promocyjna cena produktu

product_idinteger

Identyfikator produktu do którego należy wariant

promotioninteger

Stan promocji 1 = aktywna, 0 = wyłączona

promotion_endstring

Data zakończenia promocji

quantitynumber

Stan magazynowy

quantity_suppliersinteger

Stan u dostawców

quantity_updated_atstring

Data aktualizacji stanu magazynowego

reservedinteger

Status rezerwacji

sellsinteger

Ilość sprzedanych wariantów produktów

statusinteger

Status wariantu produktu

symbolstring

Symbol produktu

volumenumber

Objętość (kubatura)

weightnumber

Waga

Example response

{
  "alert": 1,
  "allegro_id": "abc1234",
  "allegro_product_binded": 1,
  "availbility_id": 1,
  "ean": "1234567890123",
  "external_offers_settings": [
    {
      "account": "kontoallegro",
      "external_account_id": 2,
      "offer_id": 8,
      "shop": "allegro"
    }
  ],
  "external_shops_mappings": [
    {
      "foreign_product_id": 2344,
      "shop_name": "Sklep goshop",
      "shop_type": "goshop"
    }
  ],
  "id": 1,
  "order": 1,
  "price": 1,
  "price_promo": 1,
  "pricesfieldsvalues": [
    {
      "id": 1,
      "prices": {
        "EUR": 4.99,
        "PLN": 21.9
      },
      "pricesfield_id": 2,
      "value": 21.9
    }
  ],
  "product_id": 20,
  "promotion": 1,
  "promotion_end": "2026-07-20 10:00:00",
  "quantity": 1,
  "quantity_suppliers": 1,
  "quantity_updated_at": "2026-07-20 10:00:00",
  "reserved": 1,
  "sells": 10,
  "status": 1,
  "symbol": "ASCA",
  "volume": 1,
  "weight": 1
}

Changes

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property from the response with the status

    • breaking

      the response's property type changed from datetime to string for status

    • breaking

      the response's property type changed from float to number for status

    • breaking

      the response's property type changed from float to number for status

    • breaking

      the response's property type changed from float to number for status

    • breaking

      the response's property type changed from timestamp to string for status

    • breaking

      the response's property type changed from float to number for status

    • breaking

      the response's property type changed from timestamp to string for status

    • breaking

      the response's property type changed from float to number for status

    • breaking

      the response's property type changed from float to number for status

    • info

      added the optional property // to the response with the status