subscripiton

updatePackage

Internal subscripiton/updatePackage operation. Authentication requirements are derived from the active route allowlist.

post/subscripiton/updatePackage

Request body

idinteger
namestring
typestring
pricestring
currencystring
durationstring
statusstring

Example request

{
  "id": 1,
  "name": "Monthly Subscripiton",
  "type": "monthly",
  "price": "3",
  "currency": "$",
  "duration": "30",
  "status": "1"
}

Response

Standard successful response envelope.

status'success' required
statusCodeinteger required
messagestring required
dataobject required
{"stackTrail":"components:schemas:SuccessEnvelope:properties:error","oasType":"schema","type":"unknown","example":null,"nullable":true}

Example response

{
  "statusCode": 200,
  "message": "OK"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.