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