Dokumenty - Paragony

Dodaje pozycję do paragonu

Tworzenie nowej pozycji na paragonie

post/receipts_lines

Request body

cart_idinteger

Identyfikator koszyka w zamówieniu Sellasist

discountinteger

Rabat

namestring

Nazwa pozycji

price_grossnumber

Cena jednostkowa brutto

price_netnumber

Cena jednostkowa netto

product_idinteger

Identyfikator produktu w Sellasist

quantityinteger

Ilość sztuk

receipt_idinteger

Identyfikator paragonu

vatinteger

Stawka VAT

Example request

{
  "cart_id": 55,
  "discount": 15,
  "name": "Szafka",
  "price_gross": 12.3,
  "price_net": 10,
  "product_id": 123,
  "quantity": 3,
  "receipt_id": 1,
  "vat": 23
}

Response

Sukces

idinteger

Example response

{
  "id": 20
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.