Create a product

Authentication

AuthorizationBearer

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

Headers

x-monite-versionstringRequired
x-monite-entity-idstringRequired
The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
namestringRequired1-100 characters
Name of the product.
descriptionstringOptional<=2000 characters
Description of the product.
external_referencestringOptional1-255 characters

A user-defined identifier of the product. For example, an internal product code or SKU (stock keeping unit). Client applications can use this field to map the products in Monite to an external product catalog.

ledger_account_idstringOptionalformat: "uuid"
measure_unit_idstringOptionalformat: "uuid"

The unique ID reference of the unit used to measure the quantity of this product (e.g. items, meters, kilograms).

priceobjectOptional
smallest_amountdoubleOptional0-2147483647
The smallest amount allowed for this product.
typeenumOptional
Specifies whether this offering is a product or service. This may affect the applicable tax rates.
Allowed values:

Response

Successful Response
idstringformat: "uuid"
Unique ID of the product.
created_atdatetime
Time at which the product was created. Timestamps follow the ISO 8601 standard.
updated_atdatetime
Time at which the product was last updated. Timestamps follow the ISO 8601 standard.
entity_idstringformat: "uuid"
namestring
Name of the product.
descriptionstring
Description of the product.
entity_user_idstringformat: "uuid"
external_referencestring1-255 characters

A user-defined identifier of the product. For example, an internal product code or SKU (stock keeping unit). Client applications can use this field to map the products in Monite to an external product catalog.

ledger_account_idstringformat: "uuid"
measure_unit_idstringformat: "uuid"

The unique ID reference of the unit used to measure the quantity of this product (e.g. items, meters, kilograms).

priceobject
smallest_amountdouble0-2147483647
The smallest amount allowed for this product.
typeenum
Specifies whether this offering is a product or service. This may affect the applicable tax rates.
Allowed values:

Errors

400
Post Products Request Bad Request Error
401
Post Products Request Unauthorized Error
403
Post Products Request Forbidden Error
422
Post Products Request Unprocessable Entity Error
500
Post Products Request Internal Server Error