Retrieve all packages for an organization in ascending order by when the package was most recently updated. 50 packages will be returned at a time and may be paginated using the startingAfterUpdatedAt and startingAfterId query parameters.
This endpoint will return packages in ascending order by when they were most recently updated. A package update is when a property on a package changes such as itsDocumentation Index
Fetch the complete documentation index at: https://api-docs.getmeadow.com/llms.txt
Use this file to discover all available pages before exploring further.
status or when an inventory transaction has occurred so that this package has a new inventory amount.
The reason we use ascending order is so that if a package is updated while you are querying this data, you will not miss that package and it will just be present in a later page.
updatedAt and id property of the last package in the data array. Then, submit those values as startingAfterUpdatedAt and startingAfterId in order to get the next page of data.
The reason we use two pagination properties is because it is possible for two packages to have the exact same updatedAt value. Therefore, we paginate via updatedAt ASC first and then subsequently id ASC.
One note with updatedAt is that our API will return this value as a timestamp string to microsecond precision. We recommend storing this value as a string in case the environment you are in (such as Javascript) only supports millisecond precision and would truncate the date. If you store it as a string and then submit that same string as the query parameter, you will not have any issues.
finished and its label will be changed to have a unique value such as void-STAGING01234567200000039-3154adaf. Then, the package label (ex: STAGING01234567200000039) may show up again attached to a new package entity.
This may happen when an organization accidentally receives a package to the wrong product. Then, you may find a package that has been voided as well as a new package with the same original label that is now attributed to a different product.The key assigned to your company and provided via Meadow
The key generated and provided by our mutual client
The updatedAt for a package that you want to retrieve all packages that have been updated more recently than this value. Pass in the last updatedAt in a response to retrieve the next page. Please take careful consideration to pass the exact string that we return to you. Our dates have microsecond precision, so if you convert it to a Javascript date for example you will lose that precision and could cause duplicate responses.
When requesting subsequent pages, pair this parameter with startingAfterUpdatedAt. Pass in the id of the last package of a previous page. This will ensure proper pagination if two packages have the exact same updatedAt.
List packages response
The id for the package
If this package is for an option tracking product, this value will be set. You can lookup which product option has inventory for this package in product.options[].id of this response.
The compliance system for this package. Only metrc is supported currently.
metrc The ID of the package in the external compliance system (Metrc)
The name of the product for this package in the external compliance system (Metrc)
The tag/label identifier for the package
The status of the package
ready is a package that has not been received into inventory yet.received is a package that has been accepted into inventory for salefinished is a package with 0 inventory and has been marked as finishedshipped is a package that is currently being shipped to another license and not available for saletransferred is a package that was transferred out of this license and no longer has inventorytransfer-returned is a package that has been transferred back, but has not been received into inventory yetsyncing is a package that has been created, but not synced to Metrc yetready, received, finished, shipped, transferred, transfer-returned, syncing The amount of inventory this package had in Metrc when it was first imported into Meadow. This does not reflect how much inventory is currently available in Meadow.
The Metrc unit of the package. (Example: Each or Grams)
When this package was first created in Meadow
The last time this package had a modification made to it or an inventory transaction associated with it
When this package was received into inventory
When this package was set as finished
This number represents the relationship between 1 unit of inventory in Meadow and how many units that represents in the Metrc package. For example, if a Metrc package has a unit of Grams, then the multiplier may be something like 3.5 to represent that one pre-packed eighth in Meadow will use 3.5g of the Metrc package. This is only applicable for option tracking products. product tracking will always have a value of 1. Please refer to the Inventory Guide for information on option and product tracking.
The expiration date of the package
When this package was transferred out of this organization
When this package was transferred back to this organization
When this package was shipped out of this organization
The cost per unit for this package
If this package has been voided, it will always have a reason
The THC percent of this package
The THC contents in mg of this package
The CBD percent of this package
The CBD contents in mg of this package
The name of the producer of this package
The state license # of the producer
The harvest date of this package
The name of the facility that harvested this package
The state license # of the harvest facility
The name of the lab testing facility
The state license # of the lab testing facility
The date of the lab testing results for this package
Whether this package is on "administrative hold" in Metrc
Whether this package is designated as a trade sample
The original source label for this package's root parent. Provided by Metrc for use in Retail ID context
The Meadow inventory for this package broken out by inventory location. An empty array [] means that this package does not have any inventory.
Information about the product this package has inventory for. This will be null if the package has not had its inventory received to a Meadow product yet.