Skip to main content

ResultCustomerPlanGroup

顧客向けプラングループ情報

type ResultCustomerPlanGroup {
planGroupId: String!
merchantCode: String!
name: String!
salesMethod: SalesMethod!
plans: [CustomerPlan]!
boxes: [CustomerPlanBox]!
}

Fields

ResultCustomerPlanGroup.planGroupId ● String! non-null scalar

プラングループID

  • 説明: SellingPlanGroup の globally-unique ID.
  • データ例: gid://shopify/SellingPlanGroup/1234567890

ResultCustomerPlanGroup.merchantCode ● String! non-null scalar

プラングループ名

  • 説明: プラングループ名
  • データ例: A商品プラングループ

ResultCustomerPlanGroup.name ● String! non-null scalar

公開プラングループ名

  • 説明: 公開プラングループ名
  • データ例: A商品プラン

ResultCustomerPlanGroup.salesMethod ● SalesMethod! non-null enum

販売方法

  • 説明: 販売方法のオプション
  • データ例: ALTER_SUBSCRIPTION_LINE

ResultCustomerPlanGroup.plans ● [CustomerPlan]! non-null object

プラングループのプラン

  • 説明: プラングループのプラン

ResultCustomerPlanGroup.boxes ● [CustomerPlanBox]! non-null object

プラングループのBOX

  • 説明: プラングループのBOX

Example

{
"planGroupId": "gid://shopify/SellingPlanGroup/1234567890",
"merchantCode": "merchantCode",
"name": "プラングループ名",
"salesMethod": "SALES_METHOD",
"plans": [
{
"planId": "gid://shopify/SellingPlan/1234567890",
"name": "プラン名",
"description": "プラン説明",
"billingPolicyInterval": "MONTH",
"billingPolicyIntervalCount": 1,
"pricingPolicyAdjustmentType": "FIXED_AMOUNT",
"pricingPolicyAdjustmentValue": 1000
}
],
"boxes": [
{
"boxId": "69562469-a78d-4649-affb-f645ee33bc39",
"title": "BOXタイトル",
"description": "BOX説明",
"parentProductId": "gid://shopify/Product/1234567890"
}
]
}

Returned By

customerPlanGroups query