Update a subscription

Updates a subscription’s expiry (validTo) and, for family subscriptions, its dependants. Send the full set of dependantCustomerIds you want the subscription to have — the list replaces the existing dependants, so adding and removing dependants both go through this call.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

subscriptionIdintegerRequired
Subscription identifier.

Request

This endpoint expects an object.
validTodatetimeRequired
New expiry for the subscription.
dependantCustomerIdslist of integersOptional
The full set of dependant customer IDs the subscription should have after the update.

Response

Successful.
subscriptionlist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error