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 (v2) → Update
AI-generatedSummary
Update an existing customer using the Gambio v2 API by specifying the customer ID and providing updated customer data in JSON format.
Inputs
- Authentication — Choose the authentication method: Basic Auth with admin email and password (for v2 and v3 API) or Bearer Token (JWT) for v3 API only.
- Customer ID (required) — Numeric ID of the customer to update.
- Customer Data (JSON) (required) — JSON array containing the updated customer data, including personal details and address fields as per the Gambio v2 API structure.
- Request Options — Optional settings such as batching parameters, SSL certificate validation override, proxy, and request timeout to customize the API request.
Output shape
The operation returns the API response confirming the update; typically includes updated customer details or status information.
The customer data must be provided as a JSON array compatible with the Gambio v2 API. The operation uses HTTP PUT to /api.php/v2/customers/{customerId} endpoint. Authentication defaults to Basic Auth but can be switched to Bearer Token, which is limited to v3 API and may not apply here. Request options allow advanced request control. Error responses depend on the Gambio API's behavior.
Examples
Example 1: Update customer's personal information and address.
Set customerIdV2 to the target customer ID. Provide JSON with updated gender, firstname, lastname, email, dateOfBirth, telephone, statusId, isGuest, and nested address details including company, street, houseNumber, postcode, city, countryId, and other address fields.