List Products
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.
Path parameters
Location ID
Query parameters
Filter by Product IDs
Filter by Product purpose. Wire values are literal API values:
- common - regular Products
- loyalty_abonement - membership Products
- loyalty_certificate - certificate Products
Page number
Maximum number of Products to return
Related resources or conditional attributes to include. Wire values are literal API keys. Use the Product detail operation for storage_amounts.
Headers
Required B2B v2 response media type. Use application/vnd.api.v2+json. A charset parameter is also accepted.
Bearer {partner_token}, User {user_token}
Response
Products retrieved successfully