Update Product ❗

This endpoint allows partners to update an existing product's metadata.

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

string
required
Defaults to 1bbe7975-0372-4d82-945c-72e587826b5a

The product ID associated to the product that will be edited. The Product ID is a unique ID and this value will not change once a product has been created.

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!