Get Started
Usage API
More information

PUT api/2.0/crm/invoiceitem/{id} This function requires authentication

Description

Updates the selected invoice item with the parameters (title, description, price, etc.) specified in the request.

Parameters
Name Description Type Example
id
sent in url
Invoice item ID number 1234
title
sent in body
New invoice item title string some text
description
sent in body
New invoice item description
optional
string some text
price
sent in body
New invoice item price System.Decimal
sku
sent in body
New invoice item stock keeping unit
optional
string some text
stockQuantity
sent in body
New invoice item stock quantity
optional
System.Decimal
trackInventory
sent in body
New invoice item track inventory
optional
Bool value true
invoiceTax1id
sent in body
New item first invoice tax ID
optional
number 1234
invoiceTax2id
sent in body
New item second invoice tax ID
optional
number 1234
Example
PUT api/2.0/crm/invoiceitem/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "title": "some text",
  "description": "some text",
  "price": 0.0,
  "sku": "some text",
  "stockQuantity": 0.0,
  "trackInventory": true,
  "invoiceTax1id": 1234,
  "invoiceTax2id": 1234
}
Returns

Updated invoice item