# CustomerUpdatePayload Payload returned by the customerUpdate mutation ## Type Definition ```graphql type CustomerUpdatePayload { customer: Customer customerUserErrors: [CustomerUserError]! } ``` ## Fields | Field | Type | Description | |-------|------|-------------| | customer | Customer | The updated customer | | customerUserErrors | [CustomerUserError]! | List of errors that occurred during the operation | ## Relationships The `CustomerUpdatePayload` type represents the result of a customer update operation. It contains an optional `customer` object with the updated customer information, and a required list of `customerUserErrors` that may have occurred during the update process. This payload is returned by the `customerUpdate` mutation. ## Example ```graphql mutation { customerUpdate(input: {firstName: "John"}) { customer { id firstName lastName email } customerUserErrors { field message } } } ``` ## Implements None ## Related Types - [Customer](/reference/storefront/1.3.0/objects/customer) - [CustomerUserError](/reference/storefront/1.3.0/objects/customer-user-error)