ResultCustomerSubscriptionContractAddSubscriptionLine
顧客向け定期購買契約の商品追加
type ResultCustomerSubscriptionContractAddSubscriptionLine {
lineId: String
productId: String
variantId: String
title: String!
variantTitle: String
sku: String
variantImage: String
quantity: Int!
currentPriceAmount: Int
currentPriceCurrencyCode: String
lineDiscountedPriceAmount: Int!
lineDiscountedPriceCurrencyCode: String!
onlineStorePreviewUrl: String
}
Fields
ResultCustomerSubscriptionContractAddSubscriptionLine.lineId
● String
scalar
SubscriptionLine の globally-unique ID.
- 説明: 定期購買契約の商品ID
- データ例:
"gid://shopify/SubscriptionLine/1234567890"
ResultCustomerSubscriptionContractAddSubscriptionLine.productId
● String
scalar
商品ID
- データ例:
"gid://shopify/Product/1234567890"
ResultCustomerSubscriptionContractAddSubscriptionLine.variantId
● String
scalar
商品バリエーションID
- データ例:
"gid://shopify/ProductVariant/1234567890"
ResultCustomerSubscriptionContractAddSubscriptionLine.title
● String!
non-null scalar
商品名
- データ例:
"商品タイトル"
ResultCustomerSubscriptionContractAddSubscriptionLine.variantTitle
● String
scalar
バリエーション名
- データ例:
"バリエーションタイトル"
ResultCustomerSubscriptionContractAddSubscriptionLine.sku
● String
scalar
SKU
- データ例:
"SKU1234567890"
ResultCustomerSubscriptionContractAddSubscriptionLine.variantImage
● String
scalar
バリエーション画像URL
- データ例:
"https://example.com/variant-image.jpg"
ResultCustomerSubscriptionContractAddSubscriptionLine.quantity
● Int!
non-null scalar
数量
- データ例:
1
ResultCustomerSubscriptionContractAddSubscriptionLine.currentPriceAmount
● Int
scalar
単価
- データ例:
1000
ResultCustomerSubscriptionContractAddSubscriptionLine.currentPriceCurrencyCode
● String
scalar
単価の通貨
- データ例:
"JPY"
ResultCustomerSubscriptionContractAddSubscriptionLine.lineDiscountedPriceAmount
● Int!
non-null scalar
割引後価格
- データ例:
900
ResultCustomerSubscriptionContractAddSubscriptionLine.lineDiscountedPriceCurrencyCode
● String!
non-null scalar
割引後価格の通貨
- データ例:
"JPY"
ResultCustomerSubscriptionContractAddSubscriptionLine.onlineStorePreviewUrl
● String
scalar
ストアフロント上のプレビューURL
- データ例:
"https://example.com/online-store-preview
Example
{
"lineId": "gid://shopify/SubscriptionLine/1234567890",
"productId": "gid://shopify/Product/1234567890",
"variantId": "gid://shopify/ProductVariant/1234567890",
"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"
}