customerSubscriptionContractUpdateCycle
顧客向け定期購買の周期更新
customerSubscriptionContractUpdateCycle(
subscriptionContractId: String!
customerId: String!
billingPolicyInterval: BillingPolicyInterval!
billingPolicyIntervalCount: Int!
): ResultCustomerSubscriptionContractUpdateCycle
Arguments
customerSubscriptionContractUpdateCycle.subscriptionContractId
● String!
non-null scalar
契約情報のShopify管理ID ※必須
- 説明: 処理対象契約の globally-unique ID.
- 例:
"gid://shopify/SubscriptionContract/123456789"
customerSubscriptionContractUpdateCycle.customerId
● String!
non-null scalar
顧客ID ※必須
- 説明: 処理対象顧客の globally-unique ID.
- 例:
"gid://shopify/Customer/123456789"
customerSubscriptionContractUpdateCycle.billingPolicyInterval
● BillingPolicyInterval!
non-null enum
変更先の周期単位(日、週、月、年) ※必須
- 説明: 変更先の周期単位
- データ例:
"DAY"
customerSubscriptionContractUpdateCycle.billingPolicyIntervalCount
● Int!
non-null scalar
変更先の周期数 ※必須
- 説明: 変更先の周期数
Type
ResultCustomerSubscriptionContractUpdateCycle
object
顧客向け定期購買契約の周期更新
Example
mutation {
customerSubscriptionContractUpdateCycle(
subscriptionContractId: "gid://shopify/SubscriptionContract/123456789"
customerId: "gid://shopify/Customer/123456789"
billingPolicyInterval: DAY
billingPolicyIntervalCount: 1
) {
success
}
}