01.software Docs

updateMembershipWithdrawalTask

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

All HTTP operations
POST
/api/membership-withdrawal-tasks/{id}/handling

Server-only tenant-scoped update with write scope. Role-bearing credentials require tenant-admin. Only status and assignee are writable; financial facts remain server-owned and the platform never dispatches a refund.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Public integration credentials: verified opaque sk01_ secret key or pat01_ personal access token; operation policy and read/write scopes still apply. These credentials are not Customer JWTs.

Path Parameters

id*string

Document ID

Request Body

application/json
  1. body
Properties1 <= properties
status?string
Value in"open""processing""resolved"
assignee?|
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

Response Body

Successful operation

application/json
  1. response
task*

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/membership-withdrawal-tasks/string/handling' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "task": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "membershipId": "string",    "chargeId": "string",    "withdrawnAt": "2019-08-24T14:15:22Z",    "membershipEndedAt": "2019-08-24T14:15:22Z",    "entitlementBasis": "ended",    "periodStart": "2019-08-24T14:15:22Z",    "periodEnd": "2019-08-24T14:15:22Z",    "unprovidedStart": "2019-08-24T14:15:22Z",    "unprovidedEnd": "2019-08-24T14:15:22Z",    "paymentStatus": "string",    "chargedAmount": 0,    "refundedAmount": 0,    "currency": "string",    "amountReview": "confirmation_required",    "status": "open",    "assignee": "52cf793d-61ec-4818-938e-7a539e4f8457"  }}