Skip to main content

subscriptionContractUpdateDeliveryDate

お届け日を変更

subscriptionContractUpdateDeliveryDate(
subscriptionContractId: String!
nextDeliveryDate: Date
nextDeliveryTime: String
shop: String
apiKey: String
): [ResultSubscriptionContractUpdateDeliveryDate]

Arguments

subscriptionContractUpdateDeliveryDate.subscriptionContractId ● String! non-null scalar

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

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

subscriptionContractUpdateDeliveryDate.nextDeliveryDate ● Date scalar

次回お届け日

  • 説明: 更新する次回お届け日
  • 例: "2024-01-01"
  • 備考: null:お届け日指定なし

subscriptionContractUpdateDeliveryDate.nextDeliveryTime ● String scalar

次回お届け時間帯

  • 説明: 更新する次回お届け時間帯

  • 例: "午前中"

  • 備考: null:お届け日指定なし ※一般設定の「お届け時間設定」に設定されている「お届け時間」から指定

Show deprecated

Type

ResultSubscriptionContractUpdateDeliveryDate object

お届け日変更結果

Example

mutation {
subscriptionContractUpdateDeliveryDate(
subscriptionContractId: "gid://shopify/SubscriptionContract/123456789"
nextDeliveryDate: "2022-07-12"
nextDeliveryTime: "午前中"
) {
subscriptionContractId
nextBillingDate
deliveryDays
nextDeliveryTime
}
}