PUT
/
LineItem
/
{lineItemId}
curl --request PUT \
  --url https://api-sandbox.payabli.com/api/LineItem/{lineItemId} \
  --header 'Content-Type: application/json' \
  --header 'requestToken: <api-key>' \
  --data '{
  "itemProductCode": "M-DEPOSIT",
  "itemProductName": "Materials deposit",
  "itemDescription": "Deposit for materials.",
  "itemCommodityCode": "010",
  "itemUnitOfMeasure": "SqFt",
  "itemCost": 12.45,
  "itemQty": 1,
  "itemMode": 0,
  "itemCategories": [
    "<string>"
  ]
}'
{
  "responseText": "Success",
  "responseData": 708,
  "pageIdentifier": null,
  "isSuccess": true
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Path Parameters

lineItemId
integer
required

ID for the line item (also known as a product, service, or item).

Required range: x >= 0

Body

LineItemData object to modify

The body is of type object.

Response

200
application/json

Success

Response schema for line item operations.