Skip to main content

CustomerSubscriptionContractSubscriptionLine

顧客向け契約情報取得用SubscriptionLine

type CustomerSubscriptionContractSubscriptionLine {
lineId: String
productId: String
variantId: String
sellingPlanId: String
sellingPlanName: String
title: String!
variantTitle: String
sku: String
variantImage: String
quantity: Int!
currentPriceAmount: Float
currentPriceCurrencyCode: String
lineDiscountedPriceAmount: Float!
lineDiscountedPriceCurrencyCode: String!
onlineStorePreviewUrl: String
}

Fields

CustomerSubscriptionContractSubscriptionLine.lineId ● String scalar

契約商品の Shopify 管理 ID

  • 説明: 契約に関連付けられた商品の一意な識別子
  • データ例: "gid://shopify/SubscriptionLine/123456"

CustomerSubscriptionContractSubscriptionLine.productId ● String scalar

商品の Shopify 管理 ID

  • 説明: 商品の一意な識別子
  • データ例: "gid://shopify/Product/789012"

CustomerSubscriptionContractSubscriptionLine.variantId ● String scalar

商品バリエーションの Shopify 管理 ID

  • 説明: 商品のバリエーションの一意な識別子
  • データ例: "gid://shopify/ProductVariant/345678"

CustomerSubscriptionContractSubscriptionLine.sellingPlanId ● String scalar

契約商品に紐付ける定期購買プランの Shopify 管理 ID

  • 説明: 定期購買プランの一意な識別子
  • データ例: "gid://shopify/SellingPlan/1234"

CustomerSubscriptionContractSubscriptionLine.sellingPlanName ● String scalar

プラン名

  • 説明: プラン名を設定した文字列
  • データ例: A商品プラン

CustomerSubscriptionContractSubscriptionLine.title ● String! non-null scalar

商品名

  • 説明: 商品の名称
  • データ例: "アイスクリーム定期便"

CustomerSubscriptionContractSubscriptionLine.variantTitle ● String scalar

バリエーション名

  • 説明: 商品バリエーションの名称
  • データ例: "オレンジ"
  • 備考: null:バリエーションなし

CustomerSubscriptionContractSubscriptionLine.sku ● String scalar

SKU

  • 説明: 商品の SKU コード
  • データ例: "icecream001"
  • 備考: null:SKUコードなし

CustomerSubscriptionContractSubscriptionLine.variantImage ● String scalar

バリエーション画像 URL

  • 説明: 商品バリエーションの画像 URL
  • データ例: "https://cdn.shopify.com/variant-image.jpg"
  • 備考: null:バリエーション画像なし

CustomerSubscriptionContractSubscriptionLine.quantity ● Int! non-null scalar

数量

  • 説明: 注文される商品の数量
  • データ例: 2

CustomerSubscriptionContractSubscriptionLine.currentPriceAmount ● Float scalar

単価

  • 説明: 商品の単価
  • データ例: 330
  • 備考: null:設定なし

CustomerSubscriptionContractSubscriptionLine.currentPriceCurrencyCode ● String scalar

単価の通貨コード

  • 説明: 価格の通貨コード
  • データ例: "JPY"
  • 備考: null:設定なし

CustomerSubscriptionContractSubscriptionLine.lineDiscountedPriceAmount ● Float! non-null scalar

割引適用後の金額

  • 説明: 割引が適用された後の価格
  • データ例: 660

CustomerSubscriptionContractSubscriptionLine.lineDiscountedPriceCurrencyCode ● String! non-null scalar

割引適用後の金額の通貨コード

  • 説明: 割引適用後の価格の通貨
  • データ例: "JPY"

CustomerSubscriptionContractSubscriptionLine.onlineStorePreviewUrl ● String scalar

ストアフロント上のプレビュー URL

  • 説明: ストアフロント上の商品プレビューリンク
  • データ例: "https://test-store.myshopify.com/products/ice-cream-subscription"

Example

{
"lineId": "gid://shopify/SubscriptionLine/123456789",
"productId": "gid://shopify/Product/7253940928625",
"variantId": "gid://shopify/ProductVariant/41378934063217",
"title": "アイスクリーム定期便",
"variantTitle": "オレンジ",
"sku": "icecream001",
"variantImage": "https://cdn.shopify.com/variant-image.jpg",
"quantity": 2,
"currentPriceAmount": 330,
"currentPriceCurrencyCode": "JPY",
"lineDiscountedPriceAmount": 660,
"lineDiscountedPriceCurrencyCode": "JPY",
"onlineStorePreviewUrl": "https://test-store.myshopify.com/products/ice-cream-subscription"
}

Member Of

ResultCustomerSubscriptionContract object