customerSubscriptionContractUpdateNextDeliveryDate
顧客向けお届け日変更
customerSubscriptionContractUpdateNextDeliveryDate(
subscriptionContractId: String!
customerId: String!
nextDeliveryDate: String
deliveryTime: String
): ResultCustomerSubscriptionContractUpdateNextDeliveryDate
Arguments
customerSubscriptionContractUpdateNextDeliveryDate.subscriptionContractId
● String!
non-null scalar
契約情報のShopify管理ID ※必須
- 説明: 処理対象契約の globally-unique ID.
- 例:
"gid://shopify/SubscriptionContract/123456789"
customerSubscriptionContractUpdateNextDeliveryDate.customerId
● String!
non-null scalar
顧客ID ※必須
- 説明: 処理対象顧客の globally-unique ID.
- 例:
"gid://shopify/Customer/123456789"
customerSubscriptionContractUpdateNextDeliveryDate.nextDeliveryDate
● String
scalar
次回お届け日
- 説明: 更新する次回お届け日
- 例:
"2024-01-01"
- 備考: null:お届け日指定なし
customerSubscriptionContractUpdateNextDeliveryDate.deliveryTime
● String
scalar
更新後のお届け時間 - 識別タグ
- 説明: 設定画面 > お届け日の変更 > お届け時間設定に登録した「タグ」
- 例:
"AM"
- 備考: null : お届け時間指定なし
Type
ResultCustomerSubscriptionContractUpdateNextDeliveryDate
object
顧客向け契約情報
Example
mutation {
customerSubscriptionContractUpdateNextDeliveryDate(
subscriptionContractId: "gid://shopify/SubscriptionContract/18216779889"
customerId: "gid://shopify/Customer/7209218670705"
nextDeliveryDate: "2025-03-11"
deliveryTime: "AM"
) {
nextBillingDate
nextDeliveryDate
deliveryDays
deliveryTime
deliveryTimeText
}
}