{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/subscription_revise_request", "title": "Subscription Modify Plan Request", "description": "The request to update the quantity of the product or service in a subscription. You can also use this method to switch the plan and update the `shipping_amount` and `shipping_address` values for the subscription. This type of update requires the buyer's consent.", "type": "object", "properties": { "plan_id": { "type": "string", "description": "The unique PayPal-generated ID for the plan.", "minLength": 3, "maxLength": 50 }, "quantity": { "type": "string", "description": "The quantity of the product or service in the subscription.", "pattern": "^([0-9]+|([0-9]+)?[.][0-9]+)$", "minLength": 1, "maxLength": 32 }, "shipping_amount": { "description": "The shipping charges.", "$ref": "#/components/schemas/money" }, "shipping_address": { "description": "The shipping address of the subscriber.", "$ref": "#/components/schemas/shipping_detail" }, "application_context": { "$ref": "#/components/schemas/application_context" }, "plan": { "description": "An inline plan object to customise the subscription. You can override plan level default attributes by providing customised values for the subscription in this object. Any existing overrides will not be carried forward during subscription revise.", "$ref": "#/components/schemas/plan_override" } } }