Actions220
- Additional Field (v2) Actions
- Address (v2) Actions
- Address Format (v2) Actions
- Attachment (v2) Actions
- Cache (v2) Actions
- Category (v2) Actions
- Category Icon (v2) Actions
- Category Image (v2) Actions
- Country (v2) Actions
- Cronjob (v2) Actions
- Currency (v3) Actions
- Customer (v3) Actions
- Customer Group (v2) Actions
- Customer (v2) Actions
- Email (v2) Actions
- Language (v2) Actions
- Manufacturer (v2) Actions
- Order (v2) Actions
- Order History (v2) Actions
- Order Item (v2) Actions
- Order Item Attribute (v2) Actions
- Order Status (v2) Actions
- Order Total (v2) Actions
- Order Tracking Code (v2) Actions
- Parcel Service (v2) Actions
- Payment Details (v2) Actions
- Product (v2) Actions
- Product Additional Field (v2) Actions
- Product Image (v2) Actions
- Product Link (v2) Actions
- Product Price (v2) Actions
- Quantity Unit (v2) Actions
- Review (v2) Actions
- Shop Information (v2) Actions
- Special Offer (v2) Actions
- Tax (v2) Actions
- Tracking Code (v2) Actions
- VPE (v2) Actions
- Withdrawal (v2) Actions
- Zone (v2) Actions
- Customer Addon Value (v3) Actions
- Customer Memo (v3) Actions
- Image List (v3) Actions
- Option (v3) Actions
- Parcel Service (v3) Actions
- Product Option (v3) Actions
- Product Variant (v3) Actions
- Tracking Code (v3) Actions
- Withdrawal (v3) Actions
Customer Group (v2) → Update
AI-generatedSummary
Update an existing customer group in the Gambio shop via the v2 API by specifying its ID and providing the customer group data in JSON format.
Inputs
- Authentication — Choose the authentication method for the Gambio API: Basic Auth (using admin email and password, supports v2 and v3 API) or Bearer Token (JWT, works only with v3 API).
- Customer Group ID (required) — Numeric ID of the customer group to update.
- Customer Group Data (JSON) (required) — A JSON object containing the updated customer group details, including multilingual names, settings, and configurations. This JSON is parsed and sent in the request body.
Output shape
The response is the updated customer group object as returned by the Gambio API.
The update is performed via a PATCH request to the endpoint /api.php/v2/customer_groups/{customerGroupId}. The operation expects fully validated JSON data for the customer group in the request body, which should conform to Gambio's API specifications for a customer group object.
Examples
Example 1: Update customer group with ID 5 to change its German and English names and some settings.
Set Authentication to Basic Auth or Bearer Token as applicable, provide customerGroupId = 5, and supply the corresponding customerGroupData JSON with desired changes.