Create Inventory

View as Markdown

Creates an inventory item with sales and purchase account/tax mappings.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

identitystring
The identity for the active project.

Request

This endpoint expects an object.
namestringRequired
typestringRequired
usagestringRequired
cost_priceslist of objectsOptional
sales_tax_idstringOptionalformat: "uuid"
tax_inclusivebooleanOptional
selling_priceslist of objectsOptional
purchase_tax_idstringOptionalformat: "uuid"
sales_account_idstringOptionalformat: "uuid"
sales_descriptionstringOptional
purchase_vendor_idstringOptionalformat: "uuid"
purchase_account_idstringOptionalformat: "uuid"
purchase_descriptionstringOptional

Response

Created
dataobject
statusboolean
messagestring