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 objectsRequired
sales_tax_idstringRequiredformat: "uuid"
tax_inclusivebooleanRequired
selling_priceslist of objectsRequired
purchase_tax_idstringRequiredformat: "uuid"
sales_account_idstringRequiredformat: "uuid"
sales_descriptionstringRequired
purchase_vendor_idstringRequiredformat: "uuid"
purchase_account_idstringRequiredformat: "uuid"
purchase_descriptionstringRequired

Response

Created
dataobject
statusboolean
messagestring