LeafLink Developer Hub
Marketplace V2 API
LeafLink
Support
Marketplace V2 API
LeafLink
Support
  • Marketplace V2 API

    • API Reference
    • Getting Started
    • Authorization
    • Release Notes
    • FAQs
  • Brands

    • Developing for Brands
    • API Endpoints

      • Brand Resources
      • CRM
      • External Systems
      • Inventory
      • Orders
      • Products
    • Integration Solutions

      • Building Integrations
      • Best Practices
    • Webhooks

      • Available Webhooks
      • Webhook Setup
  • Retailers

    • Developing for Retailers
    • API Endpoints

      • Retail Resources
      • Orders

Release Notes

2.39.0

  • Endpoints to Create an Order and Create a Line Item are added.

2.38.0

  • The Buyers Order object now includes the delivery_address field.
  • The Product object has a 'default' threshold action instead of null or blank. It is now returned in the default GET response (without requiring include_children) and can be included and updated with POST and PATCH requests.

2.37.0

  • For the Orders GET request, the field facility_id is included, if there is one. If there is not a facility linked to an order, this will return null.
  • The following endpoints are now available through App authentication as well as legacy Token authentication: Order Event Logs,Order Sales Reps, Promo Codes, Reports, Batches, Batch Documents, Product Batches.

2.36.0

  • For the Customers GET request, the field ein now inherits the associated Buyer Company's federal EIN number, if there is one. For Customers not linked to LeafLink Buyer Companies, this field will return null. The Customers POST request, is now read-only, and will not allow updates to the ein field as this field is inherited from the associated Buyer Company. Similar to the GET request, if the CRM record is not linked to a LeafLink buyer, this field will return null.
  • Customer Statuses endpoint added.

2.35.0

  • The Buyers Order GET request now supports the same query parameters as the Orders GET request, excluding buyer related filtering.
  • The Product object now includes product_data_items, an array of product specifications. It is now returned in the default GET response (without requiring include_children) and can be included and updated with POST and PATCH requests.

2.34.0

  • The Buyers Order object now includes the category and sub_category fields for each product returned within line_items .
  • The Product object now includes the threshold_value, threshold_action, reverse_threshold_value, reverse_threshold_action and show_quantity fields. And, those fields can now be included and updated with POST and PATCH requests, respectively.

2.33.0

  • The Order object and Customer object now include the payment_methods field and the details of the payment_term field have been updated

2.32.0

  • The Order object and Customer object now include coporate_address and delivery_address objects

2.31.0

  • The Order object now includes the credits field

2.30.0

  • List products can now be filtered by sku

2.29.0

  • The Order object now includes the short_id and final_tax fields
  • Brand application permissions now provide access to the /companies/ and /company-staff/ endpoints

2.28.0

  • payment_term and payment_due_date on the Order object can now be updated with PATCH requests

2.27.0

  • The Order object now includes the llf_payment_method field
  • Case is no longer an accepted value for unit_of_measure in the Product object. Products sold in cases should set the sell_in_unit_of_measure and unit_multiplier fields accordingly.

2.26.0

  • The Product object now includes the base_units_per_unit field.

2.25.0

  • The Product object, Order object, and Customer object now include an external_ids field. This is an object of key-value pairs for storing external system IDs.

2.24.0

  • The License Types response now includes the state_abbr field.

2.23.0

  • Orders GET requests now support the fields_add query parameter for adding the created_by and last_changed_by objects to the response.

2.22.0

  • Order object expanded to include discount field
    • discount_amount field marked for deprecation. To be removed on 2020-05-01. Please use the new discount field.

2.21.0

  • unit_multiplier on the Product object can now be reset to 1

2.20.0

  • Product PATCH requests accept available_inventory updates

2.19.0

  • Subcategories object expanded to include category field
  • Retailer Inventory product object expanded to include created_on and modified fields.

2.18.0

  • Batch object expanded to include cannabinoid_unit field
  • Batch Document endpoint added

2.17.0

  • Retailer Inventory endpoint added

2.16.0

  • package_tags added for the line item object (applicable to users with the Metrc add on)

2.15.0

  • fields_include support added for the following values
    • Orders GET requests: buyer_transaction_license, seller_transaction_licenses

2.14.0

  • include_children support added for the following values
    • Orders GET requests: customer, sales_reps
    • Customers GET requests: license_type, manager

2.13.0

  • line items list can now be filtered by including the company id in the request path
    • /api/v2/companies/{company_id}/line-items/

2.12.0

  • Orders GET requests now support include_children value of line-items

2.11.0

  • Companies response now includes street_address, city, state, and zip fields
  • Companies_read now accepts the company slug in the path as an alternative to the company id
    • /api/v2/companies/<slug>/?identifier=slug
  • Companies GET requests now support include_children parameter values of licenses and taxes

2.10.0

  • Property expand support for the product property returned with line_items GET requests
    • Expand the product property into a full product object by including the query parameter expand with the value product in the request
  • Product GET requests now support include_children parameter values of product_data_items, volume_discounts, and strains
  • Customer GET requests now support include_children parameter values of tags, service_zone, managers, and contacts
  • Line items can now be filtered by an order's external_id_seller in addition to the number

2.9.0

  • User endpoint added

2.8.0

  • Batch document details now available in the documents object returned by Batches GET requests
  • State tax update
  • Order Sales Rep endpoint for managing order and sales rep relationships

2.7.0

  • Filter orders-received_list results with modified date query parameters

2.6.0

  • Returned CompanyStaff objects now include the username field

2.5.0

  • Dynamic Fields support for Orders and Customers GET requests
    • Specify fields to be included or excluded in the response by including query parameters field_include or field_exclude in the request

2.4.0

  • Children serializer functionality added
    • Specify a child field to be added to the response by including the query parameter include_children in the request
    • Product GET requests now support children serializer functionality for the images field

2.3.0

  • Customer-Tags update
    • POST, PATCH, & DELETE support

2.2.2

  • Return relevant error if creating line items on orders-received_create and incorrectly passing a line item id

2.2.1

  • Accept case-insensitive string values for inventory_management on products_create
    • [1: "Managed", 2: "Unlimited"]
  • Product inventory changes can now trigger threshold actions

2.2.0

  • Dynamic Fields support for Products GET requests
    • Specify fields to be included or excluded in the response by including query parameters field_include or field_exclude in the request

2.1.0

  • Customer-Tags update

2.0.0

  • overhauled architecture
  • user access across multiple companies
  • OpenAPI documentation
  • endpoints for:
    • Delivery Provider updates
    • Promo Codes
    • Payments
    • Order Event Logs
    • Price Schedules updates
    • Batches
    • Reports & Reports Schedules updates
  • read access to Metrc data once set up with the LeafLink Metrc integration
Last Updated:
Prev
Authorization
Next
FAQs