Update a merchant
How to update an existing merchant via API
Request
Arguments
Body Parameter
Type
Required
Example
curl -g -X PATCH \
'https://yourdomain.commercelayer.io/api/merchants/XAyRWNUzyN' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer your-access-token' \
-H 'Content-Type: application/vnd.api+json' \
-d '{
"data": {
"type": "merchants",
"id": "xYZkjABcde",
"attributes": {
"reference": "ANY-EXTERNAL-REFEFERNCE"
},
"relationships": {
"address": {
"data": {
"type": "addresses",
"id": "ABCRtyUpBa"
}
}
}
}
}'Last updated