# 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 CustomerUpdatePayload is returned by the `customerUpdate` mutation and contains a reference to the updated Customer object. The customerUserErrors field provides feedback on any validation or operational errors that occurred during the customer update process. ## Example ```graphql { customerUpdate(input: { firstName: "John", lastName: "Doe" }) { customer { id email firstName lastName } customerUserErrors { field message } } } ``` ## Implements None ## Related Types - [Customer](/reference/storefront/v1/objects/customer) - [CustomerUserError](/reference/storefront/v1/objects/customer-user-error)