Skip to main content

customerChangeableProducts

顧客向け契約変更可能商品一覧取得

customerChangeableProducts(
customerId: String!
sellingPlanId: String!
page: Int
): ResultCustomerChangeableProducts

Arguments

customerChangeableProducts.customerId ● String! non-null scalar

顧客ID ※必須

  • 説明: 処理対象顧客の globally-unique ID.
  • 例: "gid://shopify/Customer/123456789"

customerChangeableProducts.sellingPlanId ● String! non-null scalar

プランID ※必須

  • 説明: 処理対象プランの globally-unique ID.
  • 例: "gid://shopify/SellingPlan/123456789"

customerChangeableProducts.page ● Int scalar

ページ番号

Type

ResultCustomerChangeableProducts object

契約変更可能商品一覧取得のレスポンス

Example

{
customerChangeableProducts(
customerId: "gid://shopify/Customer/7209218670705"
sellingPlanId: "gid://shopify/SellingPlan/123456789"
page: 0
) {
products {
productId
title
onlineStorePreviewUrl
images
variants {
variantId
requiresShipping
}
}
page
perPage
hasNextPage
hasPreviousPage
}
}