Get a product by ID

GET
/products/:product_id

Path parameters

product_idstringRequired

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired
The ID of the entity that owns the requested resource.

Response

This endpoint returns an object.
idstring
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_idstring
namestring
Name of the product.
descriptionstringOptional
Description of the product.
entity_user_idstringOptional
ledger_account_idstringOptional
measure_unit_idstringOptional
The unique ID reference of the unit used to measure the quantity of this product (e.g. items, meters, kilograms).
priceobjectOptional
smallest_amountdoubleOptional
The smallest amount allowed for this product.
type"product" or "service"Optional
Allowed values: productservice
Specifies whether this offering is a product or service. This may affect the applicable tax rates.

Errors