Create or update customer group
save_customer_groupCreate or rename a customer group, then add or remove customers from it via the Medusa Admin API.
Instructions
Without group_id creates a group (name required); with group_id renames it. Can add/remove customers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| group_id | No | ||
| metadata | No | Merged into existing metadata; an empty string deletes a key | |
| add_customers | No | Customer IDs to add | |
| remove_customers | No | Customer IDs to remove |