Skip to main content

Subscription changes

The configuration for how subscription changes get applied — immediately, next cycle, with or without proration.

CommandHTTPDescription
subscription-changes config listGET /v1/subscription_changes/configGet the subscription-change configuration
subscription-changes config updatePUT /v1/subscription_changes/configUpdate the subscription-change configuration

Examples​

--params carries query and path parameters (id, page, filters); --json carries the request body; --fields limits which fields come back — worth using on every list/get to save context. See Global flags for the full reference.

# Get the subscription-change configuration
kobana billing subscription-changes config list \
--fields "id,publicId,organizationId,externalId,allowItemAdd"

# Update the subscription-change configuration
kobana billing subscription-changes config update \
--json '{"allow_item_add": true, "allow_item_remove": true, "allow_quantity_change": true}'

Next steps​