Retrieve subscriptions for the location using cursor pagination. Optional filters: order ID, status, patient ID, item ID.
Security
PartnerApiKey and PartnerOAuth
- Mock serverhttps://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/subscription
- Productionhttps://api-prod.lobbie.com/lobbie/api/partner/v2/account/{accountId}/location/{locationId}/subscription
curl -i -X GET \
'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/subscription?orderId=1234&status=ACTIVE&patientId=1234&itemId=10&sortBy=CREATED_DATE&sortDir=ASC&cursor=string&limit=20' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-api-key: YOUR_API_KEY_HERE'Response
{ "nextCursor": "string", "subscriptions": [ { … } ] }