List benefit grants across all benefits accessible to the authenticated subject.
polar benefit_grants list [flags]
Flags
Flag
Type
Description
--data, -d
string
JSON object; explicitly supplied flags override its top-level keys
--organization-id, --org
string
Filter by organization ID. Defaults to the active organization.
--customer-id
string
Filter by customer ID.
--external-customer-id
string
Filter by customer external ID.
--is-granted
boolean
Filter by granted status. If true, only granted benefits will be returned. If false, only revoked benefits will be returned.
--page
integer
Page number, defaults to 1.
--limit
integer
Size of a page, defaults to 10. Maximum is 100.
--sorting
choice
Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign - before the criteria name to sort by descending order. (choices: created_at, -created_at, granted_at, -granted_at, revoked_at, -revoked_at)
Was this page helpful?
⌘I
Assistant
Responses are generated using AI and may contain mistakes.