List all membership profiles
How to fetch a collection of membership profiles via API
To fetch a collection of membership profiles, send a GET
request to the /api/membership_profiles
endpoint.
Request
GET https://provisioning.commercelayer.io/api/membership_profiles
Example
The following request fetches a collection of membership profiles:
curl -g -X GET \
'https://provisioning.commercelayer.io/api/membership_profiles/' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer {{your_access_token}}'
Remember that when you fetch a list of resources you get paginated result.
Sortable fields
The list of membership profiles can be sorted by the following fields:
name
id
created_at
updated_at
reference
reference_origin
Filterable fields
The list of membership profiles can be filtered by the following fields:
Attributes
name
test_enabled
id
created_at
updated_at
reference
reference_origin
metadata
Relationships
organization
application_memberships
Last updated