Omniwallet - Update Customer Tool
AI-generatedSummary
Updates an existing Omniwallet customer identified by Customer Email. Sends a PATCH request to /customers/{customerEmail} with a JSON:API payload containing the supplied customer attributes. customerEmail and name are required; lastName, phone, level, points, and card are optional. Empty card is omitted from the payload so Omniwallet auto-generates a card number.
Inputs
- customerEmail (required) — Email of the customer to update
- name (required) — Name of the customer
- lastName — Last name of the customer
- phone — Phone number of the customer
- level — Customer level
- points — Customer points
- card — Card number; leave empty for auto-generation
Output shape
The API response data object, or the raw response object.
For each input item, the node returns the API response's
dataobject, or the raw response ifdatais absent. If an item fails and Continue On Fail is enabled, it returns an object witherror,itemIndex, and
Examples
Example 1: You have an existing customer's email and want to update their name, contact info, level, points, or card. Provide the customer email and the new name; optionally supply last name, phone, level, points, or card. If card is left empty, Omniwallet auto-generates it.
Update an existing customer in Omniwallet by email using a PATCH request.