Skip to main content

customerSubscriptionContractUpdateNextBillingDate

顧客向け定期購買契約のご注文日を変更

※契約に対して決済失敗時の再決済が予約されていた場合、注文日の更新を行った時点で予約は自動的に取り消されます。再決済についての詳細はこちらをご確認ください

customerSubscriptionContractUpdateNextBillingDate(
subscriptionContractId: String!
customerId: String!
nextBillingDate: String!
): ResultCustomerSubscriptionContractUpdateNextBillingDate

Arguments

customerSubscriptionContractUpdateNextBillingDate.subscriptionContractId ● String! non-null scalar

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

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

customerSubscriptionContractUpdateNextBillingDate.customerId ● String! non-null scalar

顧客ID ※必須

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

customerSubscriptionContractUpdateNextBillingDate.nextBillingDate ● String! non-null scalar

次回ご注文日 ※必須

  • 説明: 更新する次回ご注文日 (YYYY-MM-DD HH:MM:SS形式, JST(日本時間))
  • 例: "2026-01-01 09:00:00"
  • 備考: 次回ご注文日は「未来日」を指定

Type

ResultCustomerSubscriptionContractUpdateNextBillingDate object

顧客向け定期購買契約のご注文日を変更結果

Example

mutation {
customerSubscriptionContractUpdateNextBillingDate(
customerId: "gid://shopify/Customer/123456789"
subscriptionContractId: "gid://shopify/SubscriptionContract/123456789"
nextBillingDate: "2026-12-31 09:00:00"
) {
success
}
}