Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

Customers API

Customer accounts and auth for ENAD storefronts: signup, login, email verification, password reset, JWT sessions, profiles, orders, carts, wishlists, and organisation (B2B) accounts, at https://customers.enad.io.

When to use it

It powers the “my account” pages of a storefront. A customer signs up or logs in through the storefront, receives an access and refresh token, and then reads and updates their own profile, orders, carts, and wishlists with that session. It is not for catalog management: products are managed through the Management API (https://docs.enad.io/management/management-api) and read by shoppers over the Product Search API (https://docs.enad.io/storefront/graphql).

Authentication

Two schemes, used together on carts, wishlists, and customer-group prices:

  • App API key — server-to-server requests such as login, signup, order lookups, organisation creation, and file uploads send the app’s key in the api-key header.
  • Customer JWT — requests on behalf of a logged-in customer send the token issued at login as Authorization: Bearer <token>; access tokens are short-lived (one hour by default) and renewed with the refresh token. All routes are prefixed with /api/v1/{app_id}/.
Version 1.0
Base URL//customers.enad.io

Auth

Users

Organisations

Orders

Cart

Wishlist

Files

Attributes

Customer Groups