ResultCustomerProductVariant
顧客向け商品バリエーション情報
type ResultCustomerProductVariant {
planGroupId: String!
merchantCode: String!
name: String!
plans: [CustomerProductVariantPlan]!
products: [CustomerProduct]
}
Fields
ResultCustomerProductVariant.planGroupId
● String!
non-null scalar
プラングループID
- 説明: プラングループの globally-unique ID.
- データ例:
gid://shopify/SellingPlanGroup/123456789
ResultCustomerProductVariant.merchantCode
● String!
non-null scalar
プラングループ名
- 説明: プラングループの名前(管理用)
- データ例:
123456789
ResultCustomerProductVariant.name
● String!
non-null scalar
公開プラングループ名
- データ例:
プラングループ名
ResultCustomerProductVariant.plans
● [CustomerProductVariantPlan]!
non-null object
プラングループのプラン
- 説明: プラングループのプラン
ResultCustomerProductVariant.products
● [CustomerProduct]
list object
プラングループの商品
- 説明: プラングループの商品
Example
{
"planGroupId": "gid://shopify/SellingPlanGroup/123456789",
"merchantCode": "123456789",
"name": "プラングループ名",
"plans": [
{
"planId": "gid://shopify/SellingPlan/123456789",
"name": "プラン名",
"billingPolicyInterval": "MONTH",
"billingPolicyIntervalCount": 1,
"billingPolicyMinCycles": 1,
"billingPolicyMaxCycles": 1,
"firstPricingPolicyAdjustmentType": "PERCENTAGE",
"firstPricingPolicyAdjustmentValue": 100
}
],
"products": [
{
"productId": "gid://shopify/Product/123456789",
"title": "商品名",
"onlineStorePreviewUrl": "https://www.example.com",
"hasOnlyDefaultVariant": true,
"images": [
{
"id": "gid://shopify/Image/123456789",
"width": 100,
"height": 100,
"originalSrc": "https://www.example.com",
"transformedSrc": "https://www.example.com"
}
],
"variants": [
{
"id": "gid://shopify/ProductVariant/123456789",
"title": "バリエーション名",
"displayName": "バリエーション名",
"sku": "SKU",
"price": "100",
"requiresShipping": true,
"availableForSale": true,
"image": {
"id": "gid://shopify/Image/123456789",
"width": 100,
"height": 100,
"originalSrc": "https://www.example.com",
"transformedSrc": "https://www.example.com"
},
"selectedOptions": [
{
"name": "色",
"value": "赤"
}
]
}
]
}
]
}
Returned By
customerProductVariant
query