Create a membership profile
How to create a membership profile via API
Request
Arguments
Body Parameter
Type
Required
Example
curl -g -X POST \
'https://provisioning.commercelayer.io/api/membership_profiles' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer {{your_access_token}}' \
-H 'Content-Type: application/vnd.api+json' \
-d '{
"data": {
"type": "membership_profiles",
"attributes": {
"name": "Marketing group",
"access_scope": "live_access"
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "ABCRtyUpBa"
}
}
}
}
}'Last updated