priceListDelete

Delete a price list. The priceListDelete mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: product:write

mutation priceListDelete ($id: ID!) {
  priceListDelete (id: $id) {
      errors
      priceList {
        basePrice
        code
        createdAt
        currencyId
        deprecated
        id
        isVisible
        monthlyBasePrice
        name
        periodMonths
        planId
        priceAdjustmentPercentage
        priceDescription
        productId
        renewalTermMonths
        showPriceAsMonthly
        sku
        trialAllowed
        trialLengthDays
        updatedAt
      }
  }
}

Arguments

{
  "id": "456123"
}
Name Type Description
id ID  

Response

Name Type Description
errors List (String)  
priceList PriceList