Updates the subscription identified by the given id, for instance to change its state, to move it to a different service-level or to postpone the nextPaymentTimestamp.
Being a full update, the payload should provide the complete subscription object.
Required permissions: READ_SUBSCRIPTION, WRITE_SUBSCRIPTION.
The name of the tenant (e.g. acme).
The subscription identifier.
The details of the subscription being updated.
The customer identifier.
The thing identifier.
The timestamp this subscription has been activated.
The timestamp indicating how long the subscription is valid.
The identifier of the subscribed service-level in case of type equal to THING_SERVICE_LEVEL or CUSTOMER_SERVICE_LEVEL.
The identifier of the subscribed service in case of type equal to THING_SERVICE, or CUSTOMER_SERVICE.
The flag indicating whether the free period has already been used.
The subscription type (THING_SERVICE_LEVEL, CUSTOMER_SERVICE_LEVEL, THING_SERVICE, CUSTOMER_SERVICE).
The identifier of the Stripe subscription associated with this Subscription for automatic payment.
Successfully updated.
Request data not valid.
The error response.
User not authenticated.
The error response.
User not authorized.
The error response.
Resource was not found.
The error response.
API call rate limit exceeded.
The error response.
Internal server error.
The error response.