POST
/
vendor
/
customers
/
{id}
/
customer-groups
{
  "customer": {
    "id": "<string>",
    "company_name": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "<string>",
    "phone": "<string>",
    "has_account": true,
    "groups": [
      {
        "id": "<string>",
        "name": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the Customer.

Body

application/json

Update customers customer groups

add
string[]

Customer group ids to add.

remove
string[]

Customer group ids to remove.

Response

200 - application/json

Ok

customer
object

Customer who placed an order in sellers store.