Release Notes v14.0 & 14.1 | July 12, 2021

Updates for Customer API, Product Webhook, & Product API

Customer API

A new query parameter is being added to the Customer API on Tuesday, August 17th. When the include_image_list query parameter is marked as TRUE the response of the Customer API will include a customer’s images. If that query parameter is marked as FALSE or not included in the request, Treez will not provide the image_list array in the response. This change is meant to improve the stability of the Customer API and provide additional flexibility for our partners.

Product Webhook

Treez added a new trigger for the Product Webhook! Whenever a new image is added to a product, the Product Webhook will send an update for that specific product. As a result, this will help partners keep track of changes made to a product.

Product API

A validation check has been added to the product API. The uom(Unit of Measure) field will now go through validation checks based on the product_type and subtype. Here are the accepted uom values:

  • Beverage
    • Grams, liters, milligrams, & milliliters
  • Tincture
    • Grams, liters, milligrams, & milliliters
  • Cartridge
    • Grams & milligrams
  • Edible
    • Grams, liters, milligrams, & milliliters
  • Topical
    • Grams, liters, milligrams, & milliliters
  • Preroll:
    • Flower
      • Grams and milligrams
    • Infused
      • Grams, liters, milligrams, & milliliters
    • Shake
      • Grams
  • Flower
    • Bulk Flower
      • Grams
    • Shake
      • Grams
    • Strain Specific Shake
      • Grams
    • Other subtypes
      • Grams & milligrams
  • Extract
    • Grams, liters, milligrams, & milliliters

To get a successful response now, the Update and Create Product APIs partners must abide by the uom validation checks.