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
string
Required
attributes.filters
object
Optional
attributes.reference
string
Optional
attributes.reference_origin
string
Optional
attributes.metadata
object
Optional
relationships.api_credential
object
Required
relationships.membership
object
Required
relationships.organization
object
Required
relationships.role
object
Required
Example
The following request creates a new application membership: