Retrieve the measurement Units available to Products in a Location as JSON:API resource objects. The collection contains shared system Units and any Units configured specifically for the Location.
Use Unit IDs as sale_unit_id and consumable_unit_id in Product data.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v2/openapi/locations/{location_id}/units
- Productionhttps://api.alteg.io/api/v2/locations/{location_id}/units
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v2/openapi/locations/{location_id}/units' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'Response
{ "data": [ { … } ] }