subscriptionDelete

Delete a subscription (only in sandbox mode with no issued invoices). The subscriptionDelete mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: standard:write

mutation subscriptionDelete ($id: ID!) {
  subscriptionDelete (id: $id) {
      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"
}
Name Type Description
id ID  

ResponseLink to Response section

Name Type Description
errors List (String)  
subscription Subscription