Skip to main content

Documentation Index

Fetch the complete documentation index at: https://integrations.docs.commenda.io/llms.txt

Use this file to discover all available pages before exploring further.

The Items Data Model is designed to simplify the management and retrieval of item-related information across various accounting platforms.

Additional Required Fields

To successfully create an item, certain fields must be included in the raw_data object of the request body. The required fields are as follows:
IntegrationFieldDescription
NETSUITEtaxscheduleThe ID of the tax schedule associated with the item.
MS_DYNAMICS_365_FOProductNumberThe product number of the item.
MYOB_BUSINESSasset_account_idThe ID of the asset account associated with the item.
QOYODproduct_unit_type_idThe ID of the product unit type associated with the item.
QOYODcategory_idThe ID of the category associated with the item.
QOYODtrack_quantityWhether the item should track quantity.
QOYODtax_idThe ID of the tax associated with the item.
Pass data as a single object for synchronous writes (default). For writes with two or more records, pass data as an array and add ?run_async=true. You can also set ?run_async=true with a single record to run asynchronously and receive only a sync_id.
curl --request POST \
  --url https://api.integrations.commenda.io/v4/core/companies/1/items \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "data": {
    "name": "Rootfi Test Item",
    "description": "Rootfi Test Item",
    "type": "INVENTORY",
    "code": "1234567890",
    "quantity_on_hand": 0,
    "bill_item": {
      "account_id": "123456",
      "unit_price": 100
    },
    "invoice_item": {
      "account_id": "123456",
      "unit_price": 100
    }
  }
}'