Creates a new address with the given name for the given customer.
A TanStack Query mutation hook for interacting with the Shopper Customers createCustomerAddress endpoint.
Adds a payment instrument to the customer information.
A TanStack Query mutation hook for interacting with the Shopper Customers createCustomerPaymentInstrument endpoint.
Creates a customer product list.
A TanStack Query mutation hook for interacting with the Shopper Customers createCustomerProductList endpoint.
A TanStack Query mutation hook for interacting with the Shopper Customers createCustomerProductListItem endpoint.
Deletes a customer's payment instrument.
A TanStack Query mutation hook for interacting with the Shopper Customers deleteCustomerPaymentInstrument endpoint.
Deletes a customer product list.
A TanStack Query mutation hook for interacting with the Shopper Customers deleteCustomerProductList endpoint.
Removes an item from a customer product list.
A TanStack Query mutation hook for interacting with the Shopper Customers deleteCustomerProductListItem endpoint.
Get reset password token. This is the first step in the reset customer password flow, where a password reset token is requested for future use to reset a customer password. This call should be followed by a call to the /reset endpoint.
A TanStack Query mutation hook for interacting with the Shopper Customers getResetPasswordToken endpoint.
Registers a new customer. The mandatory data are the credentials, profile last name, and email. This requires a JSON Web Token (JWT) which needs to be obtained using the POST /customers/auth API with type "guest".
A TanStack Query mutation hook for interacting with the Shopper Customers registerCustomer endpoint.
Deletes a customer's address by address name.
A TanStack Query mutation hook for interacting with the Shopper Customers removeCustomerAddress endpoint.
Reset customer password, after obtaining a reset token. This is the second step in the reset customer password flow, where a customer password is reset by providing the new credentials along with a reset token. This call should be preceded by a call to the /create-reset-token endpoint.
A TanStack Query mutation hook for interacting with the Shopper Customers resetPassword endpoint.
Updates a customer.
A TanStack Query mutation hook for interacting with the Shopper Customers updateCustomer endpoint.
Updates a customer's address by address name.
A TanStack Query mutation hook for interacting with the Shopper Customers updateCustomerAddress endpoint.
Updates the customer's password.
A TanStack Query mutation hook for interacting with the Shopper Customers updateCustomerPassword endpoint.
Changes a product list. Changeable properties are the name, description, and if the list is public.
A TanStack Query mutation hook for interacting with the Shopper Customers updateCustomerProductList endpoint.
Updates an item of a customer's product list.
Mutations available for Shopper Customers.