Update a subscription

PUT /subscriptions/{id}
application/json

Body Required

Responses

  • 200 application/json

    Subscription updated successfully

PUT /subscriptions/{id}
curl \
 -X PUT localhost:8080/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"
  ]
}