Zamówienia - Pozycje

Dodaje pozycję do zamówienia

Tworzenie nowej pozycji na fakturze

post/orders_lines

Request body

additional_informationstring

Dodatkowe informacje do produktu

namestring

Nazwa pozycji

order_idinteger

Identyfikator zamówienia

pricenumber

Cena

product_idinteger

Identyfikator produktu

quantityinteger

Ilość sztuk

selected_optionsstring

Wybrane opcje

variant_idinteger

Identyfikator wariantu

weightnumber

Waga

Example request

{
  "additional_information": "Dodatkowe informacje",
  "name": "Szafka",
  "order_id": 1,
  "price": 10.99,
  "product_id": 1,
  "quantity": 3,
  "variant_id": 3,
  "weight": 5.35
}

Response

Sukces

idinteger

Example response

{
  "id": 20
}

Changes

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