registerCustomer
Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.
All HTTP operationsPOST
Direct password registration requires tenant publishable key, customers feature, current registration setting and bounded password. Returns customer only with HTTP 201, never tokens or a hosted authorization code.
publishableKeyheader
X-Publishable-Key<token>Tenant publishable key for authentication (sent via X-Publishable-Key header)
application/json- body
name*stringLength
1 <= length <= 255email*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
8 <= length <= 128phone?stringLength
1 <= length <= 20Existing direct customer-auth wire
application/json- response
customer*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/register' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "email": "user@example.com", "password": "stringst"}'Example Response
{ "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 } ] }}