01.software Docs

getCustomerMe

Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.

All HTTP operations
GET
/api/customers/me

Publishable key AND active same-tenant Customer JWT. Response includes both customer and public profile, with visible memberships. SDK without a token returns null without a request; a rejected access credential does not authorize refresh-family deletion.

Authorization

publishableKeycustomerBearerAuth
headerX-Publishable-Key<token>

Tenant publishable key for authentication (sent via X-Publishable-Key header)

headerAuthorizationBearer <JWT>

Customer JWT for same-tenant authenticated customer actions

Response Body

Existing direct customer-auth wire

application/json
  1. response
customer*
profile*|null

Examples may be generated from schemas; they are illustrative, not recorded successful API calls. Example snippets may omit required authentication headers.

Example Request
curl -X GET 'https://api.01.software/api/customers/me'
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      }    ]  },  "profile": {    "id": "string",    "displayName": "string",    "handle": "string",    "avatar": null,    "avatarUrl": "string",    "bio": "string",    "bioRichText": null,    "joinedAt": "string"  }}