subscripiton

updateSubscription

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

post/subscripiton/updateSubscription

Request body

idstring
package_idstring
transaction_idstring
typestring
statusstring
start_datestring
expiry_datestring

Example request

{
  "id": "1",
  "package_id": "1",
  "transaction_id": "1234",
  "type": "free",
  "status": "1",
  "start_date": "03/04/2023",
  "expiry_date": "12/30/2023"
}

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.