v1

latestOpenAPI 3.0.32026-07-1336286494.8 KB
api

post/api/subscriptions/{subscription_id}/update/

Path parameters

subscription_idstring required

The ID of the subscription to update.

Request body

turn_off_auto_renewboolean

Turn off auto renew for the subscription

end_datestring date-time

Change the end date for the subscription.

metadataobject

Update the metadata for the subscription.

Response

subscription_idstring required
start_datestring date-time required

The time the subscription starts. This will be a string in yyyy-mm-dd HH:mm:ss format in UTC time.

end_datestring date-time required

The time the subscription starts. This will be a string in yyyy-mm-dd HH:mm:ss format in UTC time.

auto_renewboolean required

Whether the subscription automatically renews. Defaults to true.

is_newboolean required

Whether this subscription came from a renewal or from a first-time. Defaults to true on creation.

fully_billedboolean required
metadataobject required