plan_id must be provided in the path of the request URL.active or inactive) is also passed as a path parameter.Authorization: Bearer ********************Authorization: Bearer ********************Authorization: Bearer ********************digital-platform:gateway-api-Read and write accesscurl --location --request PATCH '/rpy/be-plan/v1/plans//status/' \
--header 'username;'{
"seller_id": "6eb2412c-165a-41cd-b1d9-76c575d70a28",
"plan_id": "51995e24-b1ae-4826-8e15-2a568a87abdd",
"name": "Plano flex",
"description": "Flex plan",
"amount": 19990,
"currency": "BRL",
"payment_types": "credit_card",
"sales_tax": 0,
"product_type": "cash_carry",
"create_date": "2017-04-19T16:30:30Z",
"status": "active",
"period": {
"type": "yearly",
"billing_cycle": 12,
"specific_cycle_in_days": 1
},
"floating_data": [
{
"installment": 2,
"amount": 19990
}
]
}