Returns the plans a subscription can change to, for the offer it belongs to.
bearerAuthAuthorizationBearer <token>Opaque bearer token obtained from POST /api/token (password grant). Send as Authorization: Bearer <token>.
offerId?stringOffer to list plans for.
Success. The business payload is returned in the Data field of the standard envelope.
application/json- response
Standard response envelope returned by every endpoint except the token endpoint.
Data*unknownThe business payload. Shape depends on the operation; occasionally a JSON-encoded string.
Status*stringBusiness outcome. Check this, not just the HTTP code.
"SUCCESS""ERROR"StatusCode?|Optional numeric status code.
ErrorDetail?||array<any>|Raw error detail when Status is ERROR. Not a stable contract.
ErrorMessage?stringHuman-readable error message when Status is ERROR.
OperationType?|Reserved; usually null.
RequestCorrelationID?stringCorrelation id for the request, useful for support.
curl -X GET 'https://api-demo.saasify.ai/api/subscriptions/getPlans'{ "Data": [ { "price": 99, "planID": "PLAN-001", "offerID": "OFFER-001", "planName": "Scale", "planProviderID": "PP-001" } ], "Status": "SUCCESS", "StatusCode": 200, "ErrorDetail": null, "ErrorMessage": "", "OperationType": null, "RequestCorrelationID": "9f1c2d3e-4b5a-6789-0abc-def012345678"}