customerBox
顧客向けBOX情報取得
customerBox(
subscriptionContractId: String!
customerId: String!
boxId: String!
page: Int
): ResultCustomerBox
Arguments
customerBox.subscriptionContractId
● String!
non-null scalar
契約情報のShopify管理ID ※必須
- 説明: 処理対象契約の globally-unique ID.
- 例:
"gid://shopify/SubscriptionContract/123456789"
customerBox.customerId
● String!
non-null scalar
顧客ID ※必須
- 説明: 処理対象顧客の globally-unique ID.
- 例:
"gid://shopify/Customer/123456789"
customerBox.boxId
● String!
non-null scalar
BOXID ※必須
- 説明: 処理対象BOXの unique ID.
- 例:
"69562469-a78d-4649-affb-f645ee33bc39"
customerBox.page
● Int
scalar
ページ番号
- 説明: 取得するページ番号. 0から始まる.
- 例:
1
Type
ResultCustomerBox
object
顧客向けBOX情報
Example
{
customerBox(
subscriptionContractId: "gid://shopify/SubscriptionContract/18216779889"
customerId: "gid://shopify/Customer/7209218670705"
boxId: "69562469-a78d-4649-affb-f645ee33bc39"
page: 1
) {
title
description
canChoiceVariants
parentVariants {
selected
variantId
quantity
displayName
}
childVariants {
productId
variantId
displayName
}
variantQuantities {
variantId
quantity
}
totalQuantity
prevPage
nextPage
}
}