List entitlements
Returns a paginated list of entitlements for a merchant’s customers, newest first. Only relevant for merchants offering digital products.
Query parameters narrow the results, and combining them returns only entitlements that match all of them. With Storefront API Scope authentication, only the authenticated customer’s entitlements are returned and merchant_user_id is ignored.
Results are cursor-paginated. To page through them, follow the next and previous URLs in the response.
Accepts Application API Scope or Storefront API Scope authentication.
Query parameters
Merchant ID. Must match the merchant the credentials belong to. A missing or mismatched value returns 403.
Returns only entitlements for this resource ID. Cannot be combined with resource_public_ids.
Returns only entitlements for any of these resource IDs. Provide a comma-separated list of up to 50 IDs, with no duplicates or empty values. Cannot be combined with resource_public_id.
Returns only entitlements for the resource with this merchant resource ID (the resource’s external_resource_id). Returns an empty list if no resource matches.
true returns only entitlements that are currently live, meaning their expiration plus any grace_period hasn’t passed. false returns only entitlements that are no longer live.
true returns only entitlements with at least one grantee. false returns only entitlements with no grantees. Cannot be combined with grantee_external_ids_exact.
Returns only entitlements whose grantees are exactly this set of grantee external IDs, in any order. Provide a comma-separated list of up to 50 IDs, with no duplicates or empty values. For example, grantee_a,grantee_b matches an entitlement with grantees grantee_a and grantee_b, but not one with only grantee_a or one that also has grantee_c. Cannot be combined with has_grantees.
Position to continue paginating from. Set automatically in the next and previous URLs; don’t construct it yourself.
Response
URL to get the next page of results. null if there are no more pages.
URL to get the previous page of results. null if there are no previous pages.
Up to page_size entitlements (100 by default), newest first.