You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There are multiple places in the API where the JSDoc states that I need to add a catalog_object_id, when in fact, I need to provide a item_variation_id.
This might be the case where "all things are objects", but it would be better for the docs and the API to state that this needs to be a variation ID.
Describe the bug
There are multiple places in the API where the JSDoc states that I need to add a catalog_object_id, when in fact, I need to provide a item_variation_id.
This might be the case where "all things are objects", but it would be better for the docs and the API to state that this needs to be a variation ID.
Example:
When hitting this API.
https://developer.squareup.com/explorer/square/inventory-api/retrieve-inventory-count
This is the error I get if I pass catalog_object_id.
The errors are clear enough that I understand a bit to pass a variation Id, but updating the docs and the jsdocs would be better.
EDIT:
So for this instance, this seems a bit weird for the end user to understand which one I pass.
Expected behavior
Have the docs show I need a variation ID.
The text was updated successfully, but these errors were encountered: