cURL
curl --request GET \ --url https://{defaultHost}/v5/company/memberships \ --header 'Authorization: Bearer <token>'
{ "pagination": { "current_page": 123, "total_pages": 123, "next_page": 123, "prev_page": 123, "total_count": 123 }, "data": [ { "id": "<string>", "product_id": "<string>", "user_id": "<string>", "plan_id": "<string>", "page_id": "<string>", "created_at": 123, "expires_at": 123, "renewal_period_start": 123, "renewal_period_end": 123, "quantity": 123, "status": "trialing", "valid": true, "cancel_at_period_end": true, "license_key": "<string>", "metadata": {}, "checkout_id": "<string>", "affiliate_username": "<string>", "manage_url": "<string>", "company_buyer_id": 123, "marketplace": true } ] }
Returns a collection of memberships. By default, the valid filter is set to true.
App API key for /v5/app and /v5/company endpoints
Show child attributes
memberships retrieved
The response is of type object.
object
Was this page helpful?