Create an application membership
How to create an application membership via API
To create a new application membership, send a POST
request to the /api/application_memberships
endpoint, passing the resource arguments in the request body.
Request
POST https://provisioning.commercelayer.io/api/application_memberships
Arguments
Body Parameter | Type | Required |
---|---|---|
type |
| Required |
attributes.filters |
| Optional |
attributes.reference |
| Optional |
attributes.reference_origin |
| Optional |
attributes.metadata |
| Optional |
relationships.api_credential |
| Required |
relationships.membership |
| Required |
relationships.organization |
| Required |
relationships.role |
| Required |
Example
The following request creates a new application membership:
Last updated