Nudgescribe API Reference
APIs
API types
  • Authentication
  • Content
  • Campaign
APIs
API types
  • Authentication
  • Content
  • Campaign
  1. Customer Groups
  • Nudgescribe API
  • Authentication
    • Authentication
    • Authenticate
      POST
    • Re-Authenticate
      GET
  • Content
    • Customers
      • Customer Management
      • Upload and Validate Customer Data
      • Get pages
      • Get Customers
      • Update Customers
      • Delete Customers
    • Customer Groups
      • Customer Groups
      • Create Customer Group
        PUT
      • Get Customer Groups
        POST
      • Update Customer Group
        PATCH
      • Delete Customer Group
        DELETE
    • Customer Profile Fields
      • Customer Profile Fields
      • Create a Custom Profile Field
      • Get Customer Profile Fields for a Workspace
      • Update Custom Fields
      • Delete Custom Fields
  • Campaigns
    • Campaigns and Campaign Messages
    • Get All Accounts Campaigns
      POST
    • Publish Messages to Secure Storage
      POST
    • Retrieve Published Messages
      POST
    • Get Campaign Messages Pages
      POST
  1. Customer Groups

Update Customer Group

PATCH
https://client-api.dev.nudgescribe.com/v1/cg
ContentCustomer GroupsCustomer GroupUpdate
Updates the name and properties of an existing customer group while preserving all customer assignments and historical data associated with the group.
Allows your application to evolve group names and properties as business needs change, maintaining flexibility in your customer segmentation strategy.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Unauthorised
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://client-api.dev.nudgescribe.com/v1/cg' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "workspace_id": "your-workspace-id",
  "customer_group_id": "your-customer-group-id",
  "group_name": "Premium VIP Customers"
}'
Response Response Example
200 - Example 1
{
    "customer_group_id": "your-customer-group-id",
    "workspace_id": "your-workspace-id",
    "group_name": "Premium VIP Customers",
    "created_at\t": "2025-09-08T18:18:21.462Z",
    "updated_at\t": "2025-09-08T18:18:21.462Z"
}
Modified at 2025-09-12 12:54:12
Previous
Get Customer Groups
Next
Delete Customer Group
Built with