Skip to main content

customerSubscriptionContractUpdateSubscriptionLineQuantity

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

customerSubscriptionContractUpdateSubscriptionLineQuantity(
subscriptionContractId: String!
customerId: String!
lineId: String!
quantity: Int!
): ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity

Arguments

customerSubscriptionContractUpdateSubscriptionLineQuantity.subscriptionContractId ● String! non-null scalar

契約情報のShopify管理ID ※必須

  • 説明: 処理対象契約の globally-unique ID.
  • 例: "gid://shopify/SubscriptionContract/123456789"

customerSubscriptionContractUpdateSubscriptionLineQuantity.customerId ● String! non-null scalar

顧客ID ※必須

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

customerSubscriptionContractUpdateSubscriptionLineQuantity.lineId ● String! non-null scalar

定期購買商品ID ※必須

  • 説明: 処理対象商品の globally-unique ID.
  • 例: "gid://shopify/SubscriptionLine/123456789"

customerSubscriptionContractUpdateSubscriptionLineQuantity.quantity ● Int! non-null scalar

数量 ※必須

  • 説明: 更新する商品の数量
  • 例: 1

Type

ResultCustomerSubscriptionContractUpdateSubscriptionLineQuantity object

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

Example

mutation {
customerSubscriptionContractUpdateSubscriptionLineQuantity(
subscriptionContractId: "gid://shopify/SubscriptionContract/123456789"
customerId: "gid://shopify/Customer/123456789"
lineId: "gid://shopify/SubscriptionLine/123456789"
quantity: 1
) {
lineId
productId
variantId
createdAt
updatedAt
title
variantTitle
sku
variantImage
quantity
currentPriceAmount
currentPriceCurrencyCode
lineDiscountedPriceAmount
lineDiscountedPriceCurrencyCode
onlineStorePreviewUrl
sellingPlanId
sellingPlanName
}
}