Skip to main content

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity

顧客向け定期購買契約の商品数量更新

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

Fields

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.lineId ● String scalar

SubscriptionLine の globally-unique ID.

  • 説明: 定期購買契約の商品ID
  • データ例: "gid://shopify/SubscriptionLine/1234567890"

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.productId ● String scalar

商品ID

  • データ例: "gid://shopify/Product/1234567890"

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.variantId ● String scalar

商品バリエーションID

  • データ例: "gid://shopify/ProductVariant/1234567890"

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.createdAt ● String! non-null scalar

レコード登録日時(UTC)

  • データ例: "2025-01-01T00:00:00Z"

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.updatedAt ● String! non-null scalar

レコード更新日時(UTC)

  • データ例: "2025-01-01T00:00:00Z"

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.title ● String! non-null scalar

商品名

  • データ例: "商品タイトル"

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.variantTitle ● String scalar

バリエーション名

  • 説明: バリエーションが無い商品の場合は null となる
  • データ例: "バリエーションタイトル"

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.sku ● String scalar

SKU

  • データ例: "SKU1234567890"

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.variantImage ● String scalar

バリエーション画像URL

  • データ例: "https://example.com/variant-image.jpg"

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.quantity ● Int! non-null scalar

数量

  • データ例: 1

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.currentPriceAmount ● Int scalar

単価

  • データ例: 1000

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.currentPriceCurrencyCode ● String scalar

単価の通貨

  • データ例: "JPY"

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.lineDiscountedPriceAmount ● Int! non-null scalar

割引後価格

  • 説明: 割引後価格は、割引価格を適用した金額
  • データ例: 900

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.lineDiscountedPriceCurrencyCode ● String! non-null scalar

割引後価格の通貨

  • データ例: "JPY"

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.onlineStorePreviewUrl ● String scalar

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

  • データ例: "https://example.com/online-store-preview

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.sellingPlanId ● String scalar

プランID

  • データ例: "gid://shopify/SellingPlan/1234567890"

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity.sellingPlanName ● String scalar

プラン名

  • データ例: "プラン名"

Example

{
"lineId": "gid://shopify/SubscriptionLine/1234567890",
"productId": "gid://shopify/Product/1234567890",
"variantId": "gid://shopify/ProductVariant/1234567890",
"createdAt": "2021-01-01T00:00:00Z",
"updatedAt": "2021-01-01T00:00:00Z",
"title": "商品タイトル",
"variantTitle": "バリエーションタイトル",
"sku": "SKU1234567890",
"variantImage": "https://example.com/variant-image.jpg",
"quantity": 1,
"currentPriceAmount": 1000,
"currentPriceCurrencyCode": "JPY",
"lineDiscountedPriceAmount": 900,
"lineDiscountedPriceCurrencyCode": "JPY",
"onlineStorePreviewUrl": "https://example.com/online-store-preview",
"sellingPlanId": "gid://shopify/SellingPlan/1234567890",
"sellingPlanName": "プラン名"
}

Returned By

customerSubscriptionContractUpdateSubscriptionLineQuantity mutation