Update a subscription
Body Required
-
name string
-
periodicity object
-
price number
-
description string
-
level string
-
status string
-
features array[string]
PUT /subscriptions/{id}
curl \
-X PUT https://api.wei.co.mz/subscriptions/{id} \
-H "Content-Type: application/json" \
-d '{"name":"string","periodicity":{"type":"string","interval":42},"price":42.0,"description":"string","level":"string","status":"string","features":["string"]}'
Request example
{
"name": "string",
"periodicity": {
"type": "string",
"interval": 42
},
"price": 42.0,
"description": "string",
"level": "string",
"status": "string",
"features": [
"string"
]
}
Request examples
{
"name": "string",
"periodicity": {
"type": "string",
"interval": 42
},
"price": 42.0,
"description": "string",
"level": "string",
"status": "string",
"features": [
"string"
]
}