Ziwako Docs
ZiwakoRéférence APISubscriptions

Change subscription

POST
/subscriptions/change

Authorization

X-API-Key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/subscriptions/change" \  -H "Content-Type: application/json" \  -d '{    "planId": "string",    "billingCycle": "string",    "ownerId": "string",    "ownerModel": "string"  }'
{  "type": "string",  "code": "string",  "message": "string",  "data": {},  "status": 0}