Update Plan status
/rpy/be-plan/v1/plans/{plan_id}/status/{status}__Update Plan status__<br> <br>This endpoint allows you to update the status of an existing recurrence plan. You can use it to **activate** or **deactivate** (inactive) a plan depending on your business needs. It is commonly used for enabling or pausing plans without deleting them.<br> <br>**Usage Scenarios:**<br>_- Activating a new plan after initial setup.<br>- Temporarily deactivating a plan that is no longer available for new subscriptions.<br>- Enabling or disabling a plan based on promotional periods or internal business rules._<br> <br>**Notes:**<br>_- The_ `plan_id` _must be provided in the path of the request URL.<br>- The new status (_`active` _or_ `inactive`_) is also passed as a path parameter._
Header Parameters
Content type.
User who is registering. This information can be used for audit purposes.
Path Parameters
Plan identifier.
Plan status.
Response
Returns plan data.
E-commerce identification code.
Plan identifier.
Plan name.
Description of the plan.
Plan value.
Currency identification (See code in <a href="https://docs.globalgetnet.com/es/articles/currency-codes">this</a> section).
Types of payments accepted.
Tax value.
Identifier of the type of product sold among the options.
Plan creation date.
Plan status.
Plan period.
Preconfigured list of installments that will have a different value when the Subscription is created. This functionality can be used to create tasting installments with zero value, one input value or discounted installments. The use of this functionality and its purpose expected will depend on the enablement of a specific product at Getnet.
Invalid Requisition
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Not Found
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Unprocessable Entity
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Internal server or service error
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.