- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createCustomerGroupsStep - Medusa Core Workflows Reference
This documentation provides a reference to the createCustomerGroupsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates one or more customer groups.
Input#
CreateCustomerGroupsStepInput
CreateCustomerGroupsStepInputThe data to create customer groups.
CreateCustomerGroupsStepInput
CreateCustomerGroupsStepInputname
stringThe name of the customer group.
name
stringHolds custom data in key-value pairs.
created_by
stringOptionalWho created the customer group. For example,
the ID of the user that created the customer group.
created_by
stringOptionalOutput#
CustomerGroupDTO[]
CustomerGroupDTO[]
CustomerGroupDTO[]
CustomerGroupDTO[]CustomerGroupDTO
CustomerGroupDTOThe customer group details.
CustomerGroupDTO
CustomerGroupDTOWas this page helpful?