customerSubscriptionContract
顧客向け契約情報取得
customerSubscriptionContract(
subscriptionContractId: String!
customerId: String!
): ResultCustomerSubscriptionContract
Arguments
customerSubscriptionContract.subscriptionContractId
● String!
non-null scalar
契約情報のShopify管理ID ※必須
- 説明: 処理対象契約の globally-unique ID.
- 例:
"gid://shopify/SubscriptionContract/123456789"
customerSubscriptionContract.customerId
● String!
non-null scalar
顧客ID ※必須
- 説明: 処理対象顧客の globally-unique ID.
- 例:
"gid://shopify/Customer/123456789"
Type
ResultCustomerSubscriptionContract
object
顧客向け契約情報
Example
{
customerSubscriptionContract(
subscriptionContractId: "gid://shopify/SubscriptionContract/18216779889"
customerId: "gid://shopify/Customer/7209218670705"
) {
isSyncingSubscription
isManualPaymentMethod
createdAt
startSyncSubscriptionDate
rank {
name
discountPercentage
}
customerPaymentMethod {
instrumentType
}
subscriptionLines {
lineId
}
subscriptionHistories {
createdAt
}
billingAttempts {
createdAt
}
}
}