01.software Docs

endMembershipSubscribeIntent

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

All HTTP operations
POST
/api/memberships/subscribe-intent/end

Requires an sk01_ key with write scope. Ends only the specified tenant/customer signup intent; existing memberships are not canceled or charged. An existing result requires recovery instead of restart.

Authorization

serverSecretKey
headerAuthorizationBearer <token>

Public integration credential: opaque sk01_ secret API key only; PAT and Customer JWT are not supported by this scheme. Requires tenant binding and the read or write scope named by the operation.

Request Body

application/json
  1. body
customerId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
subscribeIntentKey*string
Match^[\x21-\x7e]+$
Length1 <= length <= 512

Response Body

Successful operation

application/json
  1. response
status*"ended"
Value in"ended"

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 POST 'https://api.01.software/api/memberships/subscribe-intent/end' \  -H 'Content-Type: application/json' \  -d '{  "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",  "subscribeIntentKey": "string"}'
Example Response
{  "status": "ended"}