BioTrackTHC API – License Handling Modified w/o Notice
Once again BioTrackTHC has modified their API with zero notice to the third party integrator. The API in question this time is inventory_manifest_lookup
. This API takes only one parameter, a six digit license ID.
Prior to May 14th, if one was to query this API using an in-active license ID it would respond with the message:
{ "error": "No inbound transfers or pending manifests found.", "errorcode": "602", "success": 0 }
Then, the API changed on May 14th without notice. The new response is:
{ "error": "Please specify a valid license number.", "errorcode": "602", "success": 0 }
Stupidly, the BioTrackTHC system uses the same error code; but they do that for scores of other cases.
The important thing is that now, the BioTrackTHC system finally enforces the validity of a license number – at least in one place.
There is another API call that is impacted by the validity of the Vendor License ID, that is sync_vendor.
This API call still provides invalid/inactive licenses when you query it – with no way to determine their status.
Update From BioTrack
This response from BioTrack is classic. First they claim the API hasn't changed; then they claim the changes were part of a project they had been working on.
The behavior of this query hasn't changed. It's actually identical and no API change occurred whatsoever; thus no notification was required.
While your valuable input is always appreciated; your presumption that your communications spurred this in any way, shape or form is incorrect. In fact, this was actually the culmination of a 6 month project to better communicate with a separate licensing system and more accurately account for privilege drops, license moves, license assumptions and more.
I am, however, pleased to hear you are more satisfied with the API. Considering the state of Washington is running the most robust seed-to-sale API in the industry; satisfaction is very important.
Together, we look forward to continuing to make Washington the model for all states to come.