customerPurchasedProducts
顧客の購入済み商品取得API
customerPurchasedProducts(
customerId: String!
): [ResultCustomerPurchasedProduct]
Arguments
customerPurchasedProducts.customerId
● String!
non-null scalar
顧客ID ※必須
- 説明: 処理対象顧客の globally-unique ID.
- 例:
"gid://shopify/Customer/123456789"
Type
ResultCustomerPurchasedProduct
object
顧客の購入済み商品
Example
{
customerPurchasedProducts(customerId: "gid://shopify/Customer/7209218670705") {
variantId
productId
planId
variantTitle
productTitle
sku
price
originalPrice
image
url
}
}