Update a membership profile
How to update an existing membership profile via API
Request
Arguments
Body Parameter
Type
Required
Example
curl -g -X PATCH \
'https://provisioning.commercelayer.io/api/membership_profiles/xYZkjABcde' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer {{your_access_token}}' \
-H 'Content-Type: application/vnd.api+json' \
-d '{
"data": {
"type": "membership_profiles",
"id": "xYZkjABcde",
"attributes": {
"reference": "ANY-EXTERNAL-REFEFERNCE"
},
"relationships": {
"application_memberships": {
"data": {
"type": "application_memberships",
"id": "ABCRtyUpBa"
}
}
}
}
}'Last updated