Create customer group
POST
https://app.ecwid.com/api/v3/{storeId}/customer_groups
Required access scopes
Your app must have the following access scopes to make this request: create_customers
Path params
All path params are required.
Param
Type
Description
storeId
number
Ecwid store ID.
Headers
The Authorization header is required.
Header
Format
Description
Authorization
Bearer secret_ab***cd
Access token of the application.
Request JSON
A JSON object with the following fields:
Field
Type
Description
name
string
Customer group name visible to customers on the storefront.
Response JSON
A JSON object with the following fields:
Field
Type
Description
id
number
Internal ID of the created customer group.
Last updated
Was this helpful?