Skip to main content

subscriptionContracts

契約を取得

subscriptionContracts(
limit: Int
offset: Int
billingAttemptLimit: Int
billingAttemptOffset: Int
startCreatedAt: DateTime
endCreatedAt: DateTime
startUpdatedAt: DateTime
endUpdatedAt: DateTime
shop: String
apiKey: String
): [SubscriptionContract]

Arguments

subscriptionContracts.limit ● Int scalar

最大取得件数

  • 説明: 最大取得件数
  • 例: 100
  • 備考: 指定がない場合は100 ※100以上を指定した場合100

subscriptionContracts.offset ● Int scalar

取得開始番号

  • 説明: 取得開始番号
  • 例: 100
  • 備考: 指定がない場合は0

subscriptionContracts.billingAttemptLimit ● Int scalar

最大取得件数(決済情報)

  • 説明: 最大取得件数(決済情報)
  • 例: "550e8400-e29b-41d4-a716"
  • 備考: 指定がない場合は100 ※100以上を指定した場合100

subscriptionContracts.billingAttemptOffset ● Int scalar

取得開始番号(決済情報)

  • 説明: 取得開始番号(決済情報)
  • 例: "550e8400-e29b-41d4-a716"
  • 備考: 指定がない場合は0

subscriptionContracts.startCreatedAt ● DateTime scalar

作成日(開始)

  • 説明: 作成日(開始)
  • 例: "2021-05-21T14:00:00Z"
  • 備考: DateTime(ISO8601)でリクエスト※UTC

subscriptionContracts.endCreatedAt ● DateTime scalar

作成日(終了)

  • 説明: 作成日(終了)
  • 例: "2021-05-21T14:00:00Z"
  • 備考: DateTime(ISO8601)でリクエスト※UTC

subscriptionContracts.startUpdatedAt ● DateTime scalar

更新日(開始)

  • 説明: 更新日(開始)
  • 例: "2021-05-21T14:00:00Z"
  • 備考: DateTime(ISO8601)でリクエスト※UTC

subscriptionContracts.endUpdatedAt ● DateTime scalar

更新日(終了)

  • 説明: 更新日(終了)

  • 例: "2021-05-21T14:00:00Z"

  • 備考: DateTime(ISO8601)でリクエスト※UTC

Show deprecated

Type

SubscriptionContract object

契約

Example

{
subscriptionContracts(limit: 10, offset: 10, billingAttemptLimit: 10) {
id
createdAt
status
customer {
id
displayName
email
}
originOrder {
id
amount
paymentGatewayNames
fullFillments {
id
trackingInfo {
company
number
}
}
}
billingAttempts {
id
errorCode
order {
id
amount
}
}
}
}