ResultCustomerSubscriptionContractCreateOrder
顧客向け今すぐ注文結果
type ResultCustomerSubscriptionContractCreateOrder {
orderId: String
orderToken: String
orderName: String
ready: Boolean!
errorCode: String
errorMessage: String
createdAt: String!
isSkipGift: Boolean!
giftReceiverPageUrl: String
giftExpiredAt: String
id: Int!
applicationId: Int!
subscriptionBillingAttemptId: String
completedAt: String
updatedAt: String!
idempotencyKey: String
billingDate: String
deliveryDate: String
deliveryTime: String
nextBillingDateUpdate: Boolean!
retryPayment: Boolean!
activateUponSuccess: Boolean!
nextBillingDate: String
subscriptionHistories: [CustomerSubscriptionContractCreateOrderSkipHistory!]
}
Fields
ResultCustomerSubscriptionContractCreateOrder.orderId
● String
scalar
注文ID
- 説明: この定期決済で発生した注文のID
- データ例:
"gid://shopify/Order/123456789"
ResultCustomerSubscriptionContractCreateOrder.orderToken
● String
scalar
注文トークン
- データ例:
"123456789"
ResultCustomerSubscriptionContractCreateOrder.orderName
● String
scalar
注文名
- データ例:
"注文名"
ResultCustomerSubscriptionContractCreateOrder.ready
● Boolean!
non-null scalar
注文準備完了かどうか
- 説明: 決済試行が完了しているかどうかを表すフラグ
- データ例:
true
- 備考: TRUE:完了, FALSE:未完了
ResultCustomerSubscriptionContractCreateOrder.errorCode
● String
scalar
エラーコード
- 説明: 決済の試行試行リクエストが通った後に、Shopifyが決済処理に失敗した場合のエラーコード
- データ例:
"123456789"
ResultCustomerSubscriptionContractCreateOrder.errorMessage
● String
scalar
エラーメッセージ
- 説明: エラーの内容
- データ例:
"エラーメッセージ"
ResultCustomerSubscriptionContractCreateOrder.createdAt
● String!
non-null scalar
注文作成日時
- データ例:
"2025-05-01T00:00:00Z"
ResultCustomerSubscriptionContractCreateOrder.isSkipGift
● Boolean!
non-null scalar
スキップギフトによる決済かどうか
- データ例:
true
- 備考: TRUE:スキップギフトによる決済, FALSE:スキップギフトによる決済ではない
ResultCustomerSubscriptionContractCreateOrder.giftReceiverPageUrl
● String
scalar
スキップギフト受取ページURL
- データ例:
"https://example.com/gift"
ResultCustomerSubscriptionContractCreateOrder.giftExpiredAt
● String
scalar
スキップギフトの期限
- データ例:
"2025-05-01T00:00:00Z"
ResultCustomerSubscriptionContractCreateOrder.id
● Int!
non-null scalar
ID
- 説明: 定期購買アプリで管理している決済試行ID
- データ例:
"123456789"
ResultCustomerSubscriptionContractCreateOrder.applicationId
● Int!
non-null scalar
アプリケーションID
- 説明: 定期購買アプリで管理しているID
- データ例:
"123456789"
ResultCustomerSubscriptionContractCreateOrder.subscriptionBillingAttemptId
● String
scalar
BillingAttemptID
- 説明: SubscriptionBillingAttempt の globally-unique ID.
- データ例:
"gid://shopify/SubscriptionBillingAttempt/1234567890"
ResultCustomerSubscriptionContractCreateOrder.completedAt
● String
scalar
注文完了日時
- データ例:
"2025-05-01T00:00:00Z"
ResultCustomerSubscriptionContractCreateOrder.updatedAt
● String!
non-null scalar
更新日時
- データ例:
"2025-05-01T00:00:00Z"
ResultCustomerSubscriptionContractCreateOrder.idempotencyKey
● String
scalar
IDempotencyKey
- 説明: 決済試行時の冪等キー
- データ例:
"123456789"
ResultCustomerSubscriptionContractCreateOrder.billingDate
● String
scalar
請求日
- データ例:
"2025-05-01"
ResultCustomerSubscriptionContractCreateOrder.deliveryDate
● String
scalar
お届け日
- データ例:
"2025-05-01"
ResultCustomerSubscriptionContractCreateOrder.deliveryTime
● String
scalar
お届け時間
- データ例:
"10:00"
ResultCustomerSubscriptionContractCreateOrder.nextBillingDateUpdate
● Boolean!
non-null scalar
次回ご注文日更新かどうか
- データ例:
true
ResultCustomerSubscriptionContractCreateOrder.retryPayment
● Boolean!
non-null scalar
再決済かどうか
- データ例:
true
ResultCustomerSubscriptionContractCreateOrder.activateUponSuccess
● Boolean!
non-null scalar
成功時に定期購買ステータスをアクティブにするかどうか
- データ例:
true
ResultCustomerSubscriptionContractCreateOrder.nextBillingDate
● String
scalar
スキップ後の次回ご注文日
- 説明: 今すぐ注文と同時にスキップするよう指定されていた場合に設定される
- データ例:
"2025-05-01"
ResultCustomerSubscriptionContractCreateOrder.subscriptionHistories
● [CustomerSubscriptionContractCreateOrderSkipHistory!]
list object
履歴
- 説明: 今回のスキップにより作成された履歴
Example
{
"orderId": "gid://shopify/Order/123456789",
"orderToken": "123456789",
"orderName": "注文名",
"ready": true,
"errorCode": "123456789",
"errorMessage": "エラーメッセージ",
"createdAt": "2025-05-01T00:00:00Z",
"isSkipGift": true,
"giftReceiverPageUrl": "https://example.com/gift",
"giftExpiredAt": "2025-05-01T00:00:00Z",
"id": 123456789,
"applicationId": 123456789,
"subscriptionBillingAttemptId": "gid://shopify/SubscriptionBillingAttempt/1234567890",
"completedAt": "2025-05-01T00:00:00Z",
"updatedAt": "2025-05-01T00:00:00Z",
"idempotencyKey": "123456789",
"billingDate": "2025-05-01",
"deliveryDate": "2025-05-01",
"deliveryTime": "10:00",
"nextBillingDateUpdate": true,
"retryPayment": true,
"activateUponSuccess": true,
"nextBillingDate": "2025-05-01",
"subscriptionHistories": [
{
"createdAt": "2025-05-01T00:00:00Z",
"canceledAt": "2025-05-01T00:00:00Z",
"status": "SKIPPED",
"skipCount": 1
}
]
}