Customers > Customers
Storefront APICustomersCustomers

Customers

Use the Storefront API to manage customer accounts and profile data.

Endpoints

EndpointDescriptionJSON API
storefrontCustomersGet info about customersGET:storefront/customers.json
storefrontCustomersCreateRegister a new customerPOST:storefront/customers.json
storefrontCustomersDeleteDelete selfDELETE:storefront/customers.json
storefrontCustomersInitWebauthnInitialize webauthn registeration or sign inPOST:storefront/customers/init_webauthn.json
storefrontCustomersModifyModify selfPOST:storefront/customers.json
storefrontCustomersOauthEnable OAuth2 login for selfPOST:storefront/customers/oauth.json
storefrontCustomersOauthDeleteDisable OAuth2 login for selfDELETE:storefront/customers/oauth.json
storefrontCustomersWebauthnAdd webauthn credential to selfPOST:storefront/customers/webauthn.json
storefrontCustomersWebauthnDeleteRemove webauthn credential from selfDELETE:storefront/customers/webauthn.json
storefrontFavoritesGet customer favoritesGET:storefront/favorites.json
storefrontFavoritesCreateCreate customer favorite objectPOST:storefront/favorites.json
storefrontFavoritesDeleteDelete customer favorite objectsDELETE:storefront/favorites.json
storefrontFavoritesModifyModify customer favorite objectPOST:storefront/favorites.json
storefrontPaymentSourcesGet customer payment sourcesGET:storefront/payment_sources.json
storefrontPaymentSourcesCreateCreate customer payment sourcesPOST:storefront/payment_sources.json
storefrontPaymentSourcesDeleteDelete customer payment sourcesDELETE:storefront/payment_sources.json
storefrontPaymentSourcesModifyModify customer payment sourcesPOST:storefront/payment_sources.json
storefrontSubscriptionGet subscription infoGET:storefront/subscription.json
storefrontSubscriptionCreateGet subscription infoPOST:storefront/subscription.json

Types

Types
CustomerOAuthProviderKind
CustomerPaymentSource
CustomerPaymentSourceCreate
CustomerPaymentSourceModify
StorefrontCustomer
StorefrontCustomerCreate
StorefrontCustomerFavorite
StorefrontCustomerFavoriteCreate
StorefrontCustomerFavoriteModify
StorefrontCustomerModify
StorefrontCustomerSubscription
StorefrontCustomerSubscriptionCreate
WebauthnAdd
WebauthnResponse