<- Customers API

Customers API

Add group to customer

PUT

 /v2/customers/{customer_id}/groups/{group_id}

Adds a group membership to a customer.

The customer is identified by the customer_id value and the customer group is identified by the group_id value.

Permissions:CUSTOMERS_WRITE
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

customer_id

string

Required

The ID of the customer to add to a group.

Link to section

group_id

string

Required

The ID of the customer group to add the customer to.

Link to section

Response fields

Link to section

errors

Any errors that occurred during the request.