Skip to main content
PATCH
Spree Admin SDK

Authorizations

x-spree-api-key
string
header
required

Secret API key for admin access

Authorization
string
header
required

JWT token for admin user authentication

Headers

x-spree-api-key
string
required
Authorization
string
required

Path Parameters

id
string
required

Customer group prefixed ID

Body

application/json
name
string
Example:

"VIP customers (Q1)"

description
string | null
Example:

"Updated description"

customer_ids
string[]
Example:

Response

customer group updated

id
string
required
name
string
required
description
string | null
required
customers_count
number
required
created_at
string
required
updated_at
string
required
customers
object[]