cURL
curl --request POST \ --url https://api.example.com/vendor/customers/{id}/customer-groups \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "add": [ "<string>" ], "remove": [ "<string>" ] } '
{ "customer": { "id": "<string>", "company_name": "<string>", "first_name": "<string>", "last_name": "<string>", "email": "<string>", "phone": "<string>", "has_account": true, "groups": [ { "id": "<string>", "name": "<string>" } ] } }
Adds or removes customer groups to a customer
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the Customer.
Update customers customer groups
Customer group ids to add.
Customer group ids to remove.
Ok
Customer who placed an order in sellers store.
Show child attributes