Retrieve Products for a Location as JSON:API resource objects.
Pagination uses page and limit. The response includes the effective page, calculated offset, and limit in meta.pagination.
Related data can be requested by repeating the include parameter. The actual_cost value is returned only when requested and when the Business User has permission to view it.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v2/openapi/locations/{location_id}/products
- Productionhttps://api.alteg.io/api/v2/locations/{location_id}/products
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v2/openapi/locations/{location_id}/products?filter%5Bids%5D%5B%5D=1&filter%5Brelated_loyalty_entity_slug%5D=common&page=1&limit=250&include=loyalty_abonement_type' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'Response
{ "data": [ { … } ], "meta": { "pagination": { … } } }