subscriptionTenantUpdate
Update the tenant linked to a subscription. The subscriptionTenantUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: standard:write
For a complete list of input attributes see the SubscriptionTenantUpdateAttributes type
mutation subscriptionTenantUpdate ($id: ID!, $attributes: SubscriptionTenantUpdateAttributes!) {
subscriptionTenantUpdate (id: $id, attributes: $attributes) {
errors
subscription {
accountId
cancellationDate
createdAt
currencyId
currentPeriod
customFieldsData
daysLeftInTrial
endDate
entityId
evergreen
hasCustomFields
id
licenseKey
name
period
priceAdjustmentAllowed
priceAdjustmentLastDate
priceAdjustmentPercentage
priceListId
provisioningRequired
rampIntervalMonths
renewalSummary
renewalTermMonths
startDate
trialEndDate
trialPeriod
trialStartDate
updatedAt
}
}
}
ArgumentsLink to Arguments section
{
"id": "456123",
"attributes": {
"tenantId": "456123",
"tenantCode": ""
}
}
| Name | Type | Description |
|---|---|---|
| id | ID | |
| attributes | SubscriptionTenantUpdateAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| subscription | Subscription |