Produkty

Tworzenie nowego produktu

post/products

Request

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

Request body

titlestring

Nazwa produktu (język polski, domyślny ID: 2)

catalogstring

Numer katalogowy produktu

eanstring
pack_eanstring

Kod EAN opakowania zbiorczego

symbolstring
volumenumber

Objętość (gabaryt)

unit_idinteger
priorityinteger
presale_datestring

Data rozpoczęcia przedsprzedaży (Y-m-d H:i:s)

stepnumber

Krok jednostki miary

alertinteger

Alarm magazynowy (minimalny stan)

alert_expiration_daysinteger

Alarm dni do przeterminowania (WMS)

alert_expired_daysinteger

Alarm przeterminowanego produktu (WMS)

extra_infostring

Dodatkowe informacje opisowe

bestsellerinteger

Oznaczenie bestselleru (0 lub 1)

newinteger

Oznaczenie nowości (0 lub 1)

before_gpsrinteger

Status dopuszczenia na rynek przed dyrektywą GPSR

shipment_template_idinteger
availability_idinteger
locationstring

Domyślna lokacja magazynowa

no_barcode_labelinteger

Czy brak kodu kreskowego (0 lub 1)

responsibleperson_idinteger

ID osoby odpowiedzialnej z bazy GPSR

quantitynumber
weightnumber

Waga produktu w kg

as_setinteger

Flaga oznaczająca czy produkt jest zestawem (0/1)

pricenumber
currencystring

Symbol waluty podawanej ceny głównej (np. pln/eur)

price_promonumber
statusinteger

Status produktu (np. 1 - aktywny, 0 - nieaktywny)

variants_group_idinteger
attributes_group_idinteger
manufacturer_idinteger
category_idinteger
categoriesinteger[]
vatinteger

Stawka podatku VAT

vat_ratesobject

Wielokrajowe stawki podatku VAT przypisane do produktu

promotioninteger

Status promocji aktywnej (0 lub 1)

descriptionstring

Długi opis główny produktu

description_shortstring

Krótki opis produktu

imagesstring[]

Lista adresów URL zdjęć

additional_eansstring[]

Lista dodatkowych kodów EAN

Example request

{
  "title": "Koszulka sportowa męska FIT",
  "catalog": "TSHIRT-FIT-M",
  "ean": "5901234567890",
  "pack_ean": "5901234567891",
  "symbol": "TS-FIT-M",
  "volume": 1.2,
  "unit_id": 1,
  "priority": 10,
  "presale_date": "2026-08-01 10:00:00",
  "step": 1,
  "alert": 5,
  "alert_expiration_days": 1,
  "alert_expired_days": 1,
  "extra_info": "Oddychający materiał poliestrowy szybkoschnący",
  "bestseller": 1,
  "new": 1,
  "before_gpsr": 0,
  "shipment_template_id": 2,
  "availability_id": 1,
  "location": "A-12-3",
  "no_barcode_label": 0,
  "responsibleperson_id": 12,
  "quantity": 100,
  "weight": 0.25,
  "as_set": 0,
  "price": 89.99,
  "currency": "pln",
  "prices": [
    {
      "currency": "EUR",
      "price": 21.99,
      "price_promo": 16.99
    },
    {
      "currency": "USD",
      "price": 24.99
    }
  ],
  "price_promo": 69.99,
  "status": 1,
  "variants_group_id": 1,
  "attributes_group_id": 2,
  "manufacturer_id": 3,
  "category_id": 12,
  "categories": [
    12,
    15,
    24
  ],
  "vat": 23,
  "vat_rates": {
    "PL": "23",
    "DE": "19"
  },
  "promotion": 1,
  "pricesfieldsvalues": [
    {
      "pricesfield_id": 2,
      "value": 65
    },
    {
      "pricesfield_id": 3,
      "value": 14.9,
      "currency": "EUR"
    }
  ],
  "additional_fields": [
    {
      "field_id": 1,
      "field_value": "Męski"
    }
  ],
  "meta": {
    "title": "Koszulka Sportowa Męska FIT - sklep",
    "keywords": "koszulka, sportowa, męska, fit, t-shirt",
    "description": "Kup profesjonalną koszulkę sportową męską idealną do treningu."
  },
  "description": "<h1>Koszulka treningowa premium</h1><p>Główny tekst opisowy...</p>",
  "descriptions": [
    {
      "datacell_id": 21,
      "content": "<p>Informacje o materiale i praniu.</p>"
    }
  ],
  "description_short": "Krótki opis t-shirta sportowego.",
  "images": [
    "https://demo.sellasist.pl/uploads/tshirt_front.jpg",
    "https://demo.sellasist.pl/uploads/tshirt_back.jpg"
  ],
  "additional_eans": [
    "5901234567800",
    "5901234567817"
  ],
  "storages": [
    {
      "storage_id": 1,
      "product_variant_id": 7691,
      "quantity": 50,
      "rack_id": 12,
      "shelf_id": 3
    }
  ],
  "variants": {
    "group_name": "Rozmiar",
    "options": [
      {
        "name": "M",
        "catalog": "TSHIRT-FIT-M",
        "quantity": 50,
        "price_promo": 69.99,
        "price": 89.99
      },
      {
        "name": "L",
        "catalog": "TSHIRT-FIT-L",
        "quantity": 50,
        "price_promo": 69.99,
        "price": 89.99
      }
    ]
  },
  "suppliers": [
    {
      "supplier_id": 1,
      "quantity": 250
    }
  ],
  "packages": {
    "normal": {
      "width": 25,
      "length": 30,
      "height": 2
    },
    "collective": {
      "width": 60,
      "length": 40,
      "height": 30
    }
  }
}

Response

Sukces

idinteger

Example response

{
  "id": 20
}

Changes

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property //

    • info

      added the new optional request property