Auth API contract
Complete HTTP contract for identity, sessions, carts, orders, wishlists, and account routes.
- Updated
- Apr 26, 2026
Use this contract when you need exact endpoint paths, methods, parameters, request bodies, responses, schemas, and status codes.
- Public contract file: /swagger/auth-api.json
Use the operation pages for implementation guidance and this contract file for exact HTTP details.
Operation identity
When an operation page says the OpenAPI contract does not document an Operation ID, cite the stable operation key instead. Stable operation keys use the API, HTTP method, and path, so they identify an endpoint without pretending the contract publishes an operationId.
Registered routes
Use this API-first route list when you already know the owning API and need to find the exact operation page. Routes are grouped by resource so Management, Shopper, Auth, DAM, and Integrations operations stay distinct.
Attributes
- POST
/api/v1/\{app_id\}/users/\{user_id\}/attributes/\{attribute_id\}- Add attribute relationship to a user - POST
/api/v1/\{app_id\}/organisations/\{organisation_id\}/attributes/\{attribute_id\}- Add attribute relationship to an organisation - GET
/api/v1/\{app_id\}/attributes/\{attribute_id\}- Get a single attribute - GET
/api/v1/\{app_id\}/attributes- List attributes for an application - DELETE
/api/v1/\{app_id\}/users/\{user_id\}/attributes/\{attribute_id\}- Remove attribute relationship from a user - DELETE
/api/v1/\{app_id\}/organisations/\{organisation_id\}/attributes/\{attribute_id\}- Remove attribute relationship from an organisation
Auth
- POST
/api/v1/:app_id/auth/change-password- Change password - POST
/api/v1/:app_id/auth/verify-email- Create email verification link - POST
/api/v1/:app_id/auth/reset-password- Create password reset link - POST
/api/v1/:app_id/auth/login- Login user - POST
/api/v1/:app_id/auth/refresh- Refresh token - POST
/api/v1/:app_id/auth/signup- Register new user - POST
/api/v1/:app_id/auth/verify-email-token- Verify email
Cart
- DELETE
/api/v1/\{app_id\}/carts/\{id\}- Delete a saved cart - GET
/api/v1/\{app_id\}/carts- List saved carts for authenticated user - POST
/api/v1/\{app_id\}/carts- Save a new cart reference
Customer Groups
- GET
/api/v1/\{app_id\}/customer-groups/\{customer_group_slug\}- Get customer group by slug - GET
/api/v1/\{app_id\}/customer-groups/store-groups/\{store_group_id\}/markets/\{market_id\}/prices- Get customer groups with paginated prices for a user or organisation
Files
- DELETE
/api/v1/\{app_id\}/files/\{file_id\}- Delete a file - PATCH
/api/v1/\{app_id\}/files/\{file_id\}- Patch file metadata - POST
/api/v1/\{app_id\}/files/upload- Upload a file
Orders
- GET
/api/v1/\{app_id\}/lookup/orders/\{id\}- Get order by ID for an app - GET
/api/v1/\{app_id\}/orders/\{id\}- Get order by ID for authenticated user - GET
/api/v1/\{app_id\}/lookup/orders/reference/\{reference\}- Get order by reference for an app - GET
/api/v1/\{app_id\}/orders/reference/\{reference\}- Get order by reference for authenticated user - GET
/api/v1/\{app_id\}/lookup/orders- List all orders for an app - GET
/api/v1/\{app_id\}/orders- List orders for authenticated user
Organisations
- POST
/api/v1/\{app_id\}/organisations/\{id\}/users- Add user to organisation - DELETE
/api/v1/\{app_id\}/organisations/\{id\}- Delete organisation - GET
/api/v1/\{app_id\}/organisations/\{id\}- Get organisation - GET
/api/v1/\{app_id\}/lookup/organisations/\{organisation-number\}- Get organisation by organisation number - GET
/api/v1/\{app_id\}/organisations/\{id\}/tree- Get organisation tree - GET
/api/v1/\{app_id\}/organisations- List organisations - GET
/api/v1/\{app_id\}/organisations/\{id\}/users- List users for an organisation - PATCH
/api/v1/\{app_id\}/organisations/\{id\}- Patch organisation - POST
/api/v1/\{app_id\}/organisations- Register new organisation - DELETE
/api/v1/\{app_id\}/organisations/\{id\}/users/\{user_id\}- Remove user from organisation
Users
- DELETE
/api/v1/\{app_id\}/user- Delete current user - GET
/api/v1/\{app_id\}/users/\{user_id\}- Get user by ID - GET
/api/v1/\{app_id\}/user- Gets the user from the token - POST
/api/v1/\{app_id\}/lookup/user- Lookup user by email - PATCH
/api/v1/\{app_id\}/users/\{user_id\}- Update user by ID - PATCH
/api/v1/\{app_id\}/user- Updates the user information
Wishlist
- POST
/api/v1/\{app_id\}/wishlists/\{id\}/items- Add items to wishlist - POST
/api/v1/\{app_id\}/wishlists- Create a new wishlist - POST
/api/v1/\{app_id\}/wishlists/\{id\}/share- Create or get share token for wishlist - DELETE
/api/v1/\{app_id\}/wishlists/\{id\}- Delete wishlist - GET
/api/v1/\{app_id\}/wishlists/\{id\}- Get a particular wishlist with items. - GET
/api/v1/\{app_id\}/shared/wishlists/\{token\}- Get shared wishlist (paginated) - GET
/api/v1/\{app_id\}/wishlists- List wishlists for authenticated user - DELETE
/api/v1/\{app_id\}/wishlists/\{id\}/items- Remove items from wishlist - DELETE
/api/v1/\{app_id\}/wishlists/\{id\}/share/\{token\}- Revoke wishlist share token - PATCH
/api/v1/\{app_id\}/wishlists/\{id\}- Update wishlist