githubEdit

priceListDeprecate

Graphql fields and variables for the priceListDeprecate mutation

Deprecate a price list

Scope required: product:write

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

Arguments

Name
Type
Description

id

ID

replacementPriceListId

ID

copyOverCode

Boolean

Response

Name
Type
Description

errors

List (String)

priceList

Last updated

Was this helpful?