updateCustomerMe
Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.
All HTTP operationsPATCH /me updates only name, phone and marketingConsent. Requires at least one recognized field and same-tenant active Customer JWT. Separate Community PATCH /me/profile is not an alias.
publishableKeycustomerBearerAuthX-Publishable-Key<token>Tenant publishable key for authentication (sent via X-Publishable-Key header)
AuthorizationBearer <JWT>Customer JWT for same-tenant authenticated customer actions
application/json- body
At least one recognized field after unknown-key stripping. Legacy channel isConsented is normalized by the owning hook; this operation does not edit the separate Community /me/profile.
name*string1 <= length <= 255phone?stringlength <= 20marketingConsent?Existing 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 PATCH 'https://api.01.software/api/customers/me' \ -H 'Content-Type: application/json' \ -d '{}'{ "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 } ] }}