Create Product ❗

This endpoint needs to be used in order to create a new product in the POS portal via API. It is not possible to add inventory to a product through this endpoint.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
❗️

When an organization uses Treez Catalog, Create and Update operations must be done using the Catalog API. This Product endpoint will be deprecated in 2026 as migrations to Treez Catalog complete.

Path Params
string
required
Defaults to partnersandbox2

Enter the dispensary name ie. [Dispensaryname].treez.io.

Body Params
string
required
Defaults to EDIBLE

Is the equivalent to product type in the treez UI.

product_configurable_fields
object
required

This section contains all the configurable fields. It is advisable to request the fresh details form the other API with endpoint called GET/product_fields. this will help to get the latest information on the required fields and the accepted value of the product fields. This information varies per category. The fieldsin this section is sorted alphabetically.

pricing
object

This section details out the pricing of the product.

attributes
object
product_barcodes
array of strings

This reads in the barcode specific to the product.

product_barcodes
e_commerce
object
Headers
string
required

Enter the bearer token obtained via Authorization API.

string
required

Enter the Client_ID provided by TREEZ.

Responses
200

SUCCESS.
Returns the response data successfully.

400

BAD REQUEST.
The wrong URL request.
The wrong JSON structure.
The validations/requirements are not met.

401

AUTHENTICATION OR AUTHORIZATION.
The worng client_id is used.
The expired or wrong access token is used.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!