Skip to main content

CustomerProductVariantPlan

顧客向けプラングループのプラン

type CustomerProductVariantPlan {
planId: String!
name: String!
billingPolicyInterval: BillingPolicyInterval!
billingPolicyIntervalCount: Int!
billingPolicyMinCycles: Int
billingPolicyMaxCycles: Int
firstPricingPolicyAdjustmentType: PricingPolicyAdjustmentType
firstPricingPolicyAdjustmentValue: Float
}

Fields

CustomerProductVariantPlan.planId ● String! non-null scalar

プランID

  • 説明: プランの globally-unique ID
  • 例: "gid://shopify/SellingPlan/123456789"

CustomerProductVariantPlan.name ● String! non-null scalar

プラン名

  • 説明: プランの名前

CustomerProductVariantPlan.billingPolicyInterval ● BillingPolicyInterval! non-null enum

プランの決済周期

  • 説明: プランの決済周期
  • 例: "MONTH"

CustomerProductVariantPlan.billingPolicyIntervalCount ● Int! non-null scalar

プランの決済周期の数値

  • 説明: プランの決済周期の数値

CustomerProductVariantPlan.billingPolicyMinCycles ● Int scalar

プランの最低購入回数

  • 説明: プランの最低購入回数。2~100回の範囲で設定可能, null: なし

CustomerProductVariantPlan.billingPolicyMaxCycles ● Int scalar

プランの最高購入回数

  • 説明: プランの最高購入回数。2~100回の範囲で設定可能, null: 無制限

CustomerProductVariantPlan.firstPricingPolicyAdjustmentType ● PricingPolicyAdjustmentType enum

プランの初回割引の種類

  • 説明: プランの初回割引の種類

CustomerProductVariantPlan.firstPricingPolicyAdjustmentValue ● Float scalar

プランの初回割引の値

  • 説明: プランの初回割引の値

Example

{
"planId": "gid://shopify/SellingPlan/123456789",
"name": "プラン名",
"billingPolicyInterval": "MONTH",
"billingPolicyIntervalCount": 1,
"billingPolicyMinCycles": 2,
"billingPolicyMaxCycles": 3,
"firstPricingPolicyAdjustmentType": "PERCENTAGE",
"firstPricingPolicyAdjustmentValue": 100
}

Member Of

ResultCustomerProductVariant object