Passa al contenuto principale

PurchaseCanRenew

Whether the purchase can be renewed now (POST /api/v3/purchases/{purchase_id}/renewals)

purchase_idintegerrequired

Id of the purchase (GET /api/v3/purchases/{purchase_id})

can_renewbooleanrequired

Whether the purchase can be renewed now: possible from recurrence.days_renew days before the expiry, when it is set to renew and has no pending order

PurchaseCanRenew
{
"purchase_id": 0,
"can_renew": true
}