---
title: "Aktualizuje pozycję faktury"
method: PUT
path: "/invoices_lines/{line_id}"
tags: ["Dokumenty - Faktury"]
---

# Aktualizuje pozycję faktury

`PUT /invoices_lines/{line_id}`

## Request

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

Aktualizacja pozycji na fakturze

## Path parameters

- `line_id` unknown, required

## Request body

- InvoiceLineRequest: Struktura pozycji na fakturze
  - `cart_id` integer: Identyfikator koszyka w zamówieniu Sellasist
  - `discount` integer: Rabat
  - `invoice_id` integer: Identyfikator faktury
  - `name` string: Nazwa pozycji
  - `price_gross` number: Cena jednostkowa brutto
  - `price_net` number: Cena jednostkowa netto
  - `product_id` integer: Identyfikator produktu w Sellasist
  - `quantity` integer: Ilość sztuk
  - `vat` integer: Stawka VAT

## Response `200`

Sukces

- object
  - `id` integer

## Other responses

- `401`: Błąd autoryzacji

---

[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)
