loginCustomer
Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.
All HTTP operationsPOST
Direct tenant-bound password login, not hosted ceremony. Invalid credentials are non-enumerating, account lock is 423, suspension 403, unavailable refresh storage 503. Password/JWT/session-generation authority stays server-side.
publishableKeyheader
X-Publishable-Key<token>Tenant publishable key for authentication (sent via X-Publishable-Key header)
application/json- body
email*stringMatch
^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Format
emailLength
length <= 254password*stringLength
1 <= length <= 128Existing direct customer-auth wire
application/json- response
token*stringrefreshToken*stringcustomer*Examples may be generated from schemas; they are illustrative, not recorded successful API calls. Example snippets may omit required authentication headers.
curl -X POST 'https://api.01.software/api/customers/login' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com", "password": "string"}'Example Response
{ "token": "string", "refreshToken": "string", "customer": { "id": "string", "name": "string", "email": "string", "phone": "string", "authProvider": "string", "isGuest": true, "marketingConsent": {}, "memberships": [ { "title": "string", "description": "string", "benefits": [ { "title": "string", "description": "string" } ], "color": "string", "image": null, "badgeColor": "string", "badgeImage": null, "displayOrder": 0 } ] }}