Produkty

Pobierz szczegóły produktu

Changed on

Zwraca szczegółowe dane konkretnego produktu na podstawie jego identyfikatora

get/products/{product_id}

Request

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

Path parameters

product_idinteger required

Identyfikator produktu

Response

Sukces

idinteger
titlestring
category_idinteger nullable
pricenumber
price_promonumber
promotioninteger
promotion_endstring nullable
presale_datestring nullable
vatnumber
vat_ratesobject

Stawki VAT per kraj (ISO-2)

quantitynumber
soldnumber
sold_30number
quantity_on_holdnumber
catalog_numberstring nullable
eanstring nullable
pack_eanstring nullable
pack_quantityinteger nullable
symbolstring nullable
locationstring nullable
variants_group_idinteger nullable
attributes_group_idinteger nullable
before_gpsrinteger

Status wprowadzenia na rynek przed obowiązkiem GPSR (marketed_before_GPSR_obligation)

weightnumber
as_setboolean
statusinteger
volumenumber
unit_idinteger nullable
priorityinteger
stepnumber
alertinteger
alert_expiration_daysinteger
alert_expired_daysinteger
extra_infostring nullable
bestsellerinteger
newinteger
shipment_template_idinteger nullable
availability_idinteger nullable
no_barcode_labelinteger
manufacturer_idinteger nullable
external_product_idinteger nullable

Example response

{
  "id": 1,
  "title": "Produkt testowy",
  "category_id": 1,
  "price": 153.22,
  "price_promo": 72.22,
  "promotion": 1,
  "promotion_end": "2026-07-20 12:00:59",
  "presale_date": "2026-07-20 12:00:59",
  "vat": 23,
  "vat_rates": {
    "PL": "23",
    "DE": "19"
  },
  "quantity": 5,
  "sold": 128.5,
  "sold_30": 1.05,
  "qualities": [
    {
      "id": 18,
      "name": {
        "1": "Color",
        "2": "Kolor"
      },
      "properties": [
        {
          "id": 142,
          "name": {
            "1": "Red",
            "2": "Czerwony"
          }
        },
        {
          "id": 143,
          "name": {
            "1": "Green",
            "2": "Zielony"
          }
        }
      ]
    }
  ],
  "catalog_number": "T19VN",
  "ean": "7501031311309",
  "pack_ean": "7501031311310",
  "pack_quantity": 10,
  "symbol": "T19VNSYM",
  "location": "PS-32-3",
  "variants_group_id": 1,
  "attributes_group_id": 1,
  "weight": 1.5,
  "status": 1,
  "volume": 1,
  "unit_id": 1,
  "priority": 1,
  "step": 0.001,
  "alert": 3,
  "alert_expiration_days": 1,
  "alert_expired_days": 1,
  "extra_info": "Dodatkowe informacje",
  "new": 1,
  "shipment_template_id": 1,
  "availability_id": 1,
  "availability": {
    "id": 1,
    "title": "Wysyłka w 24h",
    "days": 1
  },
  "no_barcode_label": 1,
  "manufacturer_id": 1,
  "meta": {
    "title": "Nazwa produktu",
    "keywords": "Bluzka, Spodnie, Odzież",
    "description": "Nowoczesna odzież"
  },
  "external_product_id": 1432,
  "storages": [
    {
      "id": 1,
      "storage_id": 341,
      "product_variant_id": 7691,
      "quantity": 1,
      "quantity_updated_at": "2026-07-20 15:20:07",
      "rack_id": 232,
      "shelf_id": 1
    }
  ],
  "suppliers": [
    {
      "quantity": 10,
      "supplier_id": 5,
      "apisupplier_id": 12
    }
  ],
  "pricesfieldsvalues": [
    {
      "id": 2,
      "name": "Hurtowa 1",
      "pricesfield_id": 2,
      "value": 21.9,
      "prices": {
        "PLN": 21.9,
        "EUR": 4.99
      }
    }
  ],
  "prices": [
    {
      "currency": "EUR",
      "price": 24.99,
      "price_promo": 19.99,
      "auto": 0
    },
    {
      "currency": "USD",
      "price": 29.99,
      "price_promo": null,
      "auto": 0
    }
  ],
  "images": [
    {
      "creation_date": "YYYY-MM-DD HH:ii:ss",
      "element_id": 1,
      "id": 1,
      "image": {
        "date": "YYYY-MM-DD HH:ii:ss",
        "file": "asduhasuid2.png",
        "id_image": 1,
        "id_user": 1,
        "image_md5": "0accac5f4bee25305fa681d5e8a59bba",
        "name": "koszulka.png",
        "size_gallery": 1,
        "size_gallery_n": 1,
        "size_normal": 0.89,
        "size_thumb": 0.039
      },
      "original_url": "https://url.pl/image.png",
      "thumb_url": "https://url.pl/image.png"
    }
  ],
  "categories": [
    {
      "id": 3,
      "title": "Bluzki",
      "parent": "1"
    }
  ],
  "description": [
    {
      "datacell_id": 13,
      "datacell_name": "Długi opis",
      "content": "Przykładowy opis HTML"
    }
  ],
  "additional_eans": [
    {
      "id": 301,
      "ean": "5909999000002"
    }
  ],
  "variants": [
    {
      "id": 1,
      "quantity": 10,
      "price": 15,
      "price_promo": 10,
      "promotion": 1,
      "ean": "1111111111112",
      "catalog": "Numer katalogowy",
      "symbol": "Symbol produktu",
      "status": 1,
      "properties": [
        {
          "property_id": 212,
          "name": "wariant testowy"
        }
      ]
    }
  ],
  "attributes": [
    {
      "attribute_id": 1,
      "attribute_value": "Kolor",
      "property_id": 281,
      "property_value": "Zielony"
    }
  ],
  "shops_settings": [
    {
      "shop_id": 1,
      "price": 33.99,
      "price_promo": 19.99,
      "promotion": 1,
      "promotion_end": "2026-07-20 12:00:59"
    }
  ],
  "external_shops_mappings": [
    {
      "foreign_id": 1432,
      "shop_name": "Sklep goshop",
      "shop_id": 1,
      "shop_type": "goshop"
    }
  ],
  "external_offers_settings": [
    {
      "offer_id": 8,
      "shop": "allegro",
      "external_account_id": 2,
      "account": "kontoallegro"
    }
  ],
  "additional_fields": [
    {
      "field_id": 1,
      "field_name": "pole testowe",
      "field_value": "wartość pola"
    }
  ],
  "packages": {
    "normal": {
      "type": "normal",
      "length": 30,
      "width": 20,
      "height": 15
    },
    "collective": {
      "type": "collective",
      "length": 60,
      "width": 40,
      "height": 30
    }
  },
  "external_marketplace_offers": [
    {
      "id": 122,
      "offer_id": "9876543210",
      "external_account_id": 4,
      "marketplace_type": "emag",
      "account_name": "emag-pl-konto",
      "status": 1,
      "offer_quantity": 5,
      "title": "Spodnie w emag"
    }
  ],
  "allegro_offers": [
    {
      "id": 15,
      "offer_id": "1234567890",
      "status": "ACTIVE",
      "last_sync": "2026-07-01 10:00:00",
      "sold": 2,
      "current_quantity": 8,
      "allegro_product_id": "abc-123-xyz",
      "title": "Spodnie sztruksowe czarne",
      "allegro_account_name": "moje_konto_allegro"
    }
  ],
  "locations": [
    {
      "storage_id": 12,
      "quantity": 20,
      "rack_id": 5,
      "shelf_id": 10,
      "expiration_date": "2026-12-31",
      "additional_field": "Uwagi do lokacji"
    }
  ]
}

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

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

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

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

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status