Skip to main content

customerSubscriptionContractRemoveDiscountCoupon

顧客向けクーポン削除

customerSubscriptionContractRemoveDiscountCoupon(
subscriptionContractId: String!
customerId: String!
subscriptionManualDiscountId: String!
): ResultCustomerExecution

Arguments

customerSubscriptionContractRemoveDiscountCoupon.subscriptionContractId ● String! non-null scalar

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

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

customerSubscriptionContractRemoveDiscountCoupon.customerId ● String! non-null scalar

顧客ID ※必須

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

customerSubscriptionContractRemoveDiscountCoupon.subscriptionManualDiscountId ● String! non-null scalar

削除対象クーポンのID ※必須

  • 説明: 削除対象クーポンのID
  • 例: "gid://shopify/SubscriptionManualDiscount/123456789"

Type

ResultCustomerExecution object

顧客向け処理結果

Example

mutation {
customerSubscriptionContractRemoveDiscountCoupon(
subscriptionContractId: "gid://shopify/SubscriptionContract/123456789"
customerId: "gid://shopify/Customer/123456789"
subscriptionManualDiscountId: "gid://shopify/SubscriptionManualDiscount/123456789"
) {
success
}
}