Customer API Documentation
API Endpoint
https://example.com/xxxxパブリックなリソースを提供します。
基本仕様は以下に従っています。
リクエストクォータ
レートクォータ
-
プロジェクトごとに最大20 RPS(1秒あたりのリクエスト)が適用されます。
-
取引内操作に関してはさらに取引ごと(取引IDごと)に最大10 RPSが適用されます。
-
クォータを超過するとステータスコード429を返却します。
同時実行クォータ
-
取引内操作に関しては、取引ごと(取引IDごと)に最大1の同時実行数が適用されます。
-
クォータを超過するとステータスコード409を返却します。
ステータスコード
| status code | description |
|---|---|
| 200 OK | リクエスト成功 |
| 400 BAD_REQUEST | リクエストに問題があります。リクエストパラメータやJSONのフォーマットを確認してください。 |
| 401 UNAUTHORIZED | Authorizationヘッダを正しく送信していることを確認してください。 |
| 403 FORBIDDEN | APIの利用権限がありません。スコープを確認してください。 |
| 404 NOT_FOUND | 指定したリソースが見つかりません。 |
| 409 CONFLICT | 指定したリソースにおいて競合が発生しました。 |
| 429 TOO_MANY_REQUESTS | レート制限(リクエストクォータを参照)を超過しました。時間をおいて再度アクセスしてください。 |
| 500 INTERNAL_SERVER_ERROR | APIサーバ側の一時的なエラーです。 |
| 503 SERVICE_UNAVAILABLE | APIサーバ側の一時的なエラーです。 |
Error response
エラー時のresponse bodyは、以下のフィールドを持つJSONデータです。
| field | type | description |
|---|---|---|
| error | Object | エラーオブジェクト |
| error.code | Array | HTTPステータスコード |
| error.errors | Array | 詳細エラーリスト |
| error.message | Array | エラーメッセージ |
| error.errors[].message | Object | 詳細なエラー内容 |
| error.errors[].name | String | エラー名称 |
| error.errors[].reason | String | エラーの概要 |
OAuth ¶
アクセストークン ¶
Headers
Content-Type: application/x-www-form-urlencoded
Authorization: Basic ABC123Body
{
"grant_type": "client_credencials",
"state": "state123456789"
}Schema
{
"type": "object",
"properties": {
"grant_type": {
"type": "string",
"description": "認証タイプ(固定値)"
},
"state": {
"type": "string",
"description": "クライアント状態(クライアント側で現在のユーザー状態を表す文字列を送信してください。例えばセッションIDなどです)"
}
},
"required": [
"grant_type",
"state"
],
"$schema": "http://json-schema.org/draft-04/schema#"
}Headers
Content-Type: application/jsonBody
{
"access_token": "JWT",
"token_type": "Bearer",
"expires_in": 1800
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"access_token": {
"type": "string",
"description": "アクセストークン"
},
"token_type": {
"type": "string",
"description": "発行されたトークンタイプ"
},
"expires_in": {
"type": "number",
"description": "アクセストークンの有効期間"
}
},
"required": [
"access_token",
"token_type",
"expires_in"
]
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}区分 ¶
区分検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"codeValue": "xxx",
"name": {
"ja": "xxx",
"en": "xxx"
},
"image": "xxx",
"additionalProperty": [
{
"name": "xxx",
"value": "xxx"
}
]
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"codeValue": {
"type": "string",
"description": "コード"
},
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "名称(日本語)"
},
"en": {
"type": "string",
"description": "名称(英語)"
}
}
},
"image": {
"type": "string",
"description": "イメージ"
},
"additionalProperty": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "プロパティ名"
},
"value": {
"type": "string",
"description": "プロパティ値"
}
},
"required": [
"name",
"value"
]
},
"description": "追加特性"
}
},
"required": [
"codeValue"
]
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}区分検索GET/categoryCode/search{?page,limit,categorySetIdentifier,sellerId}
区分識別子
| type | description |
|---|---|
| ContentRatingType | レイティング区分 |
| VideoFormatType | 上映方式区分 |
| DistributorType | 配給区分 |
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
- categorySetIdentifier
string(required) Example: ContentRatingType区分識別子
- sellerId
string(required) Example: xxx販売者id
コンテンツ ¶
コンテンツ検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"id": "xxx",
"identifier": "xxx",
"name": {
"ja": "xxx",
"en": "xxx"
},
"contentRating": "xxx",
"datePublished": "xxx",
"duration": "PT15M",
"thumbnailUrl": "xxx",
"additionalProperty": [
{
"name": "xxx",
"value": "xxx"
}
]
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "コンテンツid"
},
"identifier": {
"type": "string",
"description": "コンテンツコード"
},
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "コンテンツ名称(日本語)"
},
"en": {
"type": "string",
"description": "コンテンツ名称(英語)"
}
},
"required": [
"ja",
"en"
]
},
"contentRating": {
"type": "string",
"description": "レイティング区分コード"
},
"datePublished": {
"type": "string",
"description": "公開日 ISO 8601 date format"
},
"duration": {
"type": "string",
"description": "上映時間 (https://en.wikipedia.org/wiki/ISO_8601#Durations)"
},
"thumbnailUrl": {
"type": "string",
"description": "サムネイルURL"
},
"additionalProperty": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "プロパティ名"
},
"value": {
"type": "string",
"description": "プロパティ値"
}
},
"required": [
"name",
"value"
]
},
"description": "追加特性"
}
},
"required": [
"contentRating",
"datePublished",
"duration",
"thumbnailUrl"
]
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}コンテンツ検索GET/creativeWork/searchMovies{?page,limit,identifiers,sellerId}
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
- identifiers
string(optional) Example: xxx,xxxコンテンツコード 10件まで
- sellerId
string(required) Example: xxx販売者id
配送 ¶
同期的に注文配送 ¶
Headers
Content-Type: application/jsonBody
{
"object": {
"orderNumber": "xxx",
"confirmationNumber": "xxx"
},
"seller": {
"id": "xxx"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"object": {
"type": "object",
"properties": {
"orderNumber": {
"type": "string",
"description": "注文番号"
},
"confirmationNumber": {
"type": "string",
"description": "確認番号"
}
},
"required": [
"orderNumber",
"confirmationNumber"
]
},
"seller": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "販売者id"
}
},
"required": [
"id"
]
}
}
}Headers
Content-Type: application/jsonHeaders
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}同期的に注文配送POST/deliver/sendOrder
作成された注文データに対して、同期的に注文を配送します(所有権が作成されます) すでに配送済の場合、何もしません。
イベント ¶
イベント検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"id": "xxx",
"name": {
"ja": "xxx",
"en": "xxx"
},
"startDate": "2023-01-01T00:00:00.000Z",
"endDate": "2023-01-01T00:00:00.000Z",
"doorTime": "2023-01-01T00:00:00.000Z",
"maximumAttendeeCapacity": 10,
"remainingAttendeeCapacity": 10,
"offers": {
"validFrom": "2023-01-01T00:00:00.000Z",
"validThrough": "2023-01-01T00:00:00.000Z",
"availabilityStarts": "2023-01-01T00:00:00.000Z",
"availabilityEnds": "2023-01-01T00:00:00.000Z",
"itemOffered": {
"id": "xxx"
},
"eligibleQuantity": {
"maxValue": 1,
"unitCode": "C62"
}
},
"location": {
"name": {
"ja": "xxx",
"en": "xxx"
},
"branchCode": "xxx"
},
"superEvent": {
"id": "xxx",
"name": {
"ja": "xxx",
"en": "xxx"
},
"headline": {
"ja": "xxx",
"en": "xxx"
},
"description": {
"ja": "xxx",
"en": "xxx"
},
"location": {
"name": {
"ja": "xxx",
"en": "xxx"
},
"branchCode": "xxx"
},
"workPerformed": {
"id": "xxx",
"identifier": "xxx"
}
},
"additionalProperty": [
{
"name": "xxx",
"value": "xxx"
}
]
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "イベント id"
},
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "イベント名称(日本語)"
},
"en": {
"type": "string",
"description": "イベント名称(英語)"
}
}
},
"startDate": {
"type": "string",
"description": "開始日時 ISO 8601 date format"
},
"endDate": {
"type": "string",
"description": "終了日時 ISO 8601 date format"
},
"doorTime": {
"type": "string",
"description": "開場日時 ISO 8601 date format"
},
"maximumAttendeeCapacity": {
"type": "number",
"description": "最大収容人数"
},
"remainingAttendeeCapacity": {
"type": "number",
"description": "残り収容人数"
},
"offers": {
"type": "object",
"properties": {
"validFrom": {
"type": "string",
"description": "販売開始日時 ISO 8601 date format"
},
"validThrough": {
"type": "string",
"description": "販売終了日時 ISO 8601 date format"
},
"availabilityStarts": {
"type": "string",
"description": "表示開始日時 ISO 8601 date format"
},
"availabilityEnds": {
"type": "string",
"description": "表示終了日時 ISO 8601 date format"
},
"itemOffered": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "興行Id"
}
}
},
"eligibleQuantity": {
"type": "object",
"properties": {
"maxValue": {
"type": "number",
"description": "販売上限席数"
},
"unitCode": {
"type": "string",
"description": "単位"
}
}
}
},
"description": "販売表示情報"
},
"location": {
"type": "object",
"properties": {
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "ルーム名称(日本語)"
},
"en": {
"type": "string",
"description": "ルーム名称(英語)"
}
}
},
"branchCode": {
"type": "string",
"description": "ルームコード"
}
},
"required": [
"branchCode"
]
},
"superEvent": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "施設コンテンツ id"
},
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "施設コンテンツ名称(日本語)"
},
"en": {
"type": "string",
"description": "施設コンテンツ名称(英語)"
}
}
},
"headline": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "施設コンテンツサブタイトル(日本語)"
},
"en": {
"type": "string",
"description": "施設コンテンツサブタイトル(英語)"
}
}
},
"description": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "施設コンテンツ補足説明(日本語)"
},
"en": {
"type": "string",
"description": "施設コンテンツ補足説明(英語)"
}
}
},
"location": {
"type": "object",
"properties": {
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "施設名称(日本語)"
},
"en": {
"type": "string",
"description": "施設名称(英語)"
}
}
},
"branchCode": {
"type": "string",
"description": "施設コード"
}
},
"required": [
"branchCode"
]
},
"workPerformed": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "コンテンツ id"
},
"identifier": {
"type": "string",
"description": "コンテンツコード"
}
},
"required": [
"id",
"identifier"
]
}
},
"required": [
"id"
]
},
"additionalProperty": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "プロパティ名"
},
"value": {
"type": "string",
"description": "プロパティ値"
}
},
"required": [
"name",
"value"
]
},
"description": "追加特性"
}
},
"required": [
"id",
"startDate",
"endDate"
]
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}イベント検索GET/event/screeningEvent/search{?page,limit,startFrom,startThrough,superEventLocationBranchCodes,clientId,ids,sellerId}
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
- startFrom
string(optional) Example: 2023-01-01T00:00:00.000Z開始日時範囲(から) ISO 8601 date format
- startThrough
string(optional) Example: 2023-01-01T00:00:00.000Z開始日時範囲(まで) ISO 8601 date format
- superEventLocationBranchCodes
string(optional) Example: xxx施設コード
- clientId
string(optional) Example: xxx取得したい販売表示情報のクライアント id
- ids
string(optional) Example: xxx,xxxイベントid 10件まで
- sellerId
string(required) Example: xxx販売者id
イベントオファー検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"id": "xxx",
"identifier": "xxx",
"name": {
"ja": "xxx",
"en": "xxx"
},
"description": {
"ja": "xxx",
"en": "xxx"
},
"sortIndex": "1",
"priceSpecification": {
"priceComponent": [
{
"name": {
"ja": "xxx",
"en": "xxx"
},
"price": 1000,
"typeOf": "UnitPriceSpecification",
"referenceQuantity": {
"value": 1
},
"appliesToMovieTicket": {
"serviceType": "xxx",
"serviceOutput": {
"serviceType": "xxx"
}
}
}
]
},
"eligibleSeatingType": [
{
"codeValue": "xxx"
}
],
"eligibleSubReservation": [
{
"amountOfThisGood": 1,
"typeOfGood": {
"seatingType": "xxx"
}
}
],
"addOn": [
{
"itemOffered": {
"id": "xxx"
}
}
],
"additionalProperty": [
{
"name": "xxx",
"value": "xxx"
}
]
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "オファーid"
},
"identifier": {
"type": "string",
"description": "オファーコード"
},
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "オファー名称(日本語)"
},
"en": {
"type": "string",
"description": "オファー名称(英語)"
}
}
},
"description": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "オファー説明(日本語)"
},
"en": {
"type": "string",
"description": "オファー説明(英語)"
}
}
},
"sortIndex": {
"type": "string",
"description": "オファー並び順"
},
"priceSpecification": {
"type": "object",
"properties": {
"priceComponent": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "価格要素名称(日本語)"
},
"en": {
"type": "string",
"description": "価格要素名称(英語)"
}
}
},
"price": {
"type": "number",
"description": "価格要素価格"
},
"typeOf": {
"type": "string",
"enum": [
"UnitPriceSpecification",
"CategoryCodeChargeSpecification",
"MovieTicketTypeChargeSpecification"
],
"description": "価格要素タイプ CategoryCodeChargeSpecification (カテゴリーコード加算仕様) or MovieTicketTypeChargeSpecification (ムビチケ加算仕様) or UnitPriceSpecification (単価仕様)"
},
"referenceQuantity": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "価格要素基準数量"
}
}
},
"appliesToMovieTicket": {
"type": "object",
"properties": {
"serviceType": {
"type": "string",
"description": "決済カード区分コード"
},
"serviceOutput": {
"type": "object",
"properties": {
"serviceType": {
"type": "string",
"description": "決済方法区分コード"
}
},
"required": [
"serviceType"
]
}
},
"required": [
"serviceType"
]
}
},
"required": [
"price",
"typeOf"
]
}
}
},
"required": [
"priceComponent"
]
},
"eligibleSeatingType": {
"type": "array",
"items": {
"type": "object",
"properties": {
"codeValue": {
"type": "string",
"description": "座席区分"
}
},
"required": [
"codeValue"
]
}
},
"eligibleSubReservation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amountOfThisGood": {
"type": "number",
"description": "必要座席数"
},
"typeOfGood": {
"type": "object",
"properties": {
"seatingType": {
"type": "string",
"description": "必要座席区分"
}
},
"required": [
"seatingType"
]
}
},
"required": [
"amountOfThisGood"
]
}
},
"addOn": {
"type": "array",
"items": {
"type": "object",
"properties": {
"itemOffered": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "アドオンオファー id"
}
}
}
}
}
},
"additionalProperty": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "プロパティ名"
},
"value": {
"type": "string",
"description": "プロパティ値"
}
},
"required": [
"name",
"value"
]
},
"description": "追加特性"
}
},
"required": [
"identifier"
]
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}イベントオファー検索GET/event/screeningEvent/searchTicketOffers{?page,limit,eventId,sellerId}
価格要素タイプ
| type | description |
|---|---|
| UnitPriceSpecification | 単価仕様 |
| CategoryCodeChargeSpecification | カテゴリーコード加算仕様 |
| MovieTicketTypeChargeSpecification | ムビチケ加算仕様 |
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
- eventId
string(required) Example: xxxイベント id
- sellerId
string(required) Example: xxx販売者id
座席ステータス検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"name": {
"ja": "xxx",
"en": "xxx"
},
"branchCode": "xxx",
"containedInPlace": {
"branchCode": "xxx"
},
"seatingType": [
"xxx"
],
"offers": [
"xxx"
]
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "座席名称(日本語)"
},
"en": {
"type": "string",
"description": "座席名称(英語)"
}
}
},
"branchCode": {
"type": "string",
"description": "座席コード"
},
"containedInPlace": {
"type": "object",
"properties": {
"branchCode": {
"type": "string",
"description": "セクションコード"
}
}
},
"seatingType": {
"type": "array",
"items": {
"type": "string"
}
},
"offers": {
"type": "array",
"description": "商品在庫状況"
}
}
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}座席ステータス検索GET/event/screeningEvent/searchSeats{?page,limit,eventId,sellerId}
イベントのルームに含まれるひとつめのセクションの座席とその在庫を検索します。 複数セクションのルームには対応していません。
在庫ステータス
| type | description |
|---|---|
| InStock | 在庫あり |
| OutOfStock | 在庫なし |
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
- eventId
string(required) Example: xxxイベント id
- sellerId
string(required) Example: xxx販売者id
施設コンテンツ検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"id": "xxx",
"name": {
"ja": "xxx",
"en": "xxx"
},
"startDate": "2023-01-01T00:00:00.000Z",
"endDate": "2023-01-01T00:00:00.000Z",
"headline": {
"ja": "xxx",
"en": "xxx"
},
"description": {
"ja": "xxx",
"en": "xxx"
},
"additionalProperty": [
{
"name": "xxx",
"value": "xxx"
}
],
"kanaName": "xxx",
"videoFormat": [
{
"typeOf": "xxx",
"name": "xxx"
}
],
"subtitleLanguage": {
"name": "Japanese"
},
"dubLanguage": {
"name": "Japanese"
}
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id"
},
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "名称(日本語)"
},
"en": {
"type": "string",
"description": "名称(英語)"
}
}
},
"startDate": {
"type": "string",
"description": "開始日時 ISO 8601 date format"
},
"endDate": {
"type": "string",
"description": "終了日時 ISO 8601 date format"
},
"headline": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "サブタイトル(日本語)"
},
"en": {
"type": "string",
"description": "サブタイトル(英語)"
}
}
},
"description": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "補足説明(日本語)"
},
"en": {
"type": "string",
"description": "補足説明(英語)"
}
}
},
"additionalProperty": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "プロパティ名"
},
"value": {
"type": "string",
"description": "プロパティ値"
}
},
"required": [
"name",
"value"
]
},
"description": "追加特性"
},
"kanaName": {
"type": "string",
"description": "カナ名称"
},
"videoFormat": {
"type": "array",
"items": {
"type": "object",
"properties": {
"typeOf": {
"type": "string",
"description": "コード"
},
"name": {
"type": "string",
"description": "名称"
}
},
"required": [
"typeOf",
"name"
]
},
"description": "上映方式"
},
"subtitleLanguage": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "字幕"
}
}
},
"dubLanguage": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "吹替"
}
}
}
},
"required": [
"id"
]
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}施設コンテンツ検索GET/event/screeningEventSeries/search{?page,limit,startFrom,startThrough,endFrom,endThrough,locationBranchCode,workPerformedIdentifier,sellerId}
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
- startFrom
string(optional) Example: 2023-01-01T00:00:00.000Z開始日時範囲(から) ISO 8601 date format
- startThrough
string(optional) Example: 2023-01-01T00:00:00.000Z開始日時範囲(まで) ISO 8601 date format
- endFrom
string(optional) Example: 2023-01-01T00:00:00.000Z終了日時範囲(から) ISO 8601 date format
- endThrough
string(optional) Example: 2023-01-01T00:00:00.000Z終了日時範囲(まで) ISO 8601 date format
- locationBranchCode
string(optional) Example: xxx施設コード
- workPerformedIdentifier
string(optional) Example: xxxコンテンツコード
- sellerId
string(required) Example: xxx販売者id
注文 ¶
確認番号で注文検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"orderDate": "xxx",
"confirmationNumber": "xxx",
"orderNumber": "xxx",
"price": 1000,
"orderStatus": "OrderDelivered",
"paymentMethods": [
{
"name": "xxx",
"paymentMethodId": "xxx",
"accountId": "xxx",
"totalPaymentDue": {
"currency": "xxx",
"value": 1000
},
"paymentMethod": {
"identifier": "xxx"
}
}
]
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"orderDate": {
"type": "string",
"description": "注文日時 ISO 8601 date format"
},
"confirmationNumber": {
"type": "string",
"description": "確認番号"
},
"orderNumber": {
"type": "string",
"description": "注文番号"
},
"price": {
"type": "number",
"description": "注文金額"
},
"orderStatus": {
"type": "string",
"enum": [
"OrderDelivered",
"OrderReturned"
],
"description": "注文ステータス"
},
"paymentMethods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "決済方法名称"
},
"paymentMethodId": {
"type": "string",
"description": "決済id"
},
"accountId": {
"type": "string",
"description": "アカウントid"
},
"totalPaymentDue": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "通貨"
},
"value": {
"type": "number",
"description": "値"
}
}
},
"paymentMethod": {
"type": "object",
"properties": {
"identifier": {
"type": "string",
"description": "決済方法区分コード"
}
}
}
},
"required": [
"name"
]
},
"description": "決済情報"
}
},
"required": [
"confirmationNumber",
"orderNumber",
"price"
]
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}確認番号で注文検索GET/order/findByConfirmationNumber{?confirmationNumber,telephone}
注文ステータス
| type | description |
|---|---|
| OrderDelivered | 注文配送済み |
| OrderReturned | 注文返品済み |
- confirmationNumber
string(required) Example: xxx確認番号
- telephone
string(required) Example: +819012345678購入者電話番号 E.164
- sellerId
string(required) Example: xxx販売者 id
注文アイテム検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"itemOffered": {
"id": 0,
"reservationNumber": 0,
"additionalProperty": [
{
"name": "xxx",
"value": "xxx"
}
],
"reservationFor": {
"id": "xxx",
"name": {
"ja": "xxx",
"en": "xxx"
},
"startDate": "2023-01-01T00:00:00.000Z",
"endDate": "2023-01-01T00:00:00.000Z",
"doorTime": "2023-01-01T00:00:00.000Z",
"location": {
"name": {
"ja": "xxx",
"en": "xxx",
"branchCode": "xxx"
}
}
},
"reservedTicket": {
"ticketType": {
"identifier": "xxx",
"name": {
"ja": "xxx",
"en": "xxx"
}
},
"ticketedSeat": {
"seatNumber": "xxx",
"seatSection": "xxx",
"seatingType": [
"xxx"
]
}
},
"priceSpecification": {
"priceComponent": [
{
"name": {
"ja": "xxx",
"en": "xxx"
},
"price": 1000,
"typeOf": "UnitPriceSpecification",
"referenceQuantity": {
"value": 1
}
}
]
}
}
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"itemOffered": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "予約 id"
},
"reservationNumber": {
"type": "number",
"description": "予約番号"
},
"additionalProperty": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "プロパティ名"
},
"value": {
"type": "string",
"description": "プロパティ値"
}
},
"required": [
"name",
"value"
]
},
"description": "追加特性"
},
"reservationFor": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "イベントid"
},
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "イベント名称(日本語)"
},
"en": {
"type": "string",
"description": "イベント名称(英語)"
}
}
},
"startDate": {
"type": "string",
"description": "開始日時 ISO 8601 date format"
},
"endDate": {
"type": "string",
"description": "終了日時 ISO 8601 date format"
},
"doorTime": {
"type": "string",
"description": "開場日時 ISO 8601 date format"
},
"location": {
"type": "object",
"properties": {
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "ルーム名称(日本語)"
},
"en": {
"type": "string",
"description": "ルーム名称(英語)"
},
"branchCode": {
"type": "string",
"description": "ルームコード"
}
},
"required": [
"branchCode"
]
}
}
}
},
"required": [
"id",
"startDate",
"endDate"
]
},
"reservedTicket": {
"type": "object",
"properties": {
"ticketType": {
"type": "object",
"properties": {
"identifier": {
"type": "string",
"description": "オファーコード"
},
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "オファー名称(日本語)"
},
"en": {
"type": "string",
"description": "オファー名称(英語)"
}
}
}
},
"required": [
"identifier"
]
},
"ticketedSeat": {
"type": "object",
"properties": {
"seatNumber": {
"type": "string",
"description": "座席コード"
},
"seatSection": {
"type": "string",
"description": "座席セクション"
},
"seatingType": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"seatNumber",
"seatSection"
]
}
}
},
"priceSpecification": {
"type": "object",
"properties": {
"priceComponent": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "価格要素名称(日本語)"
},
"en": {
"type": "string",
"description": "価格要素名称(英語)"
}
}
},
"price": {
"type": "number",
"description": "価格要素価格"
},
"typeOf": {
"type": "string",
"enum": [
"UnitPriceSpecification",
"CategoryCodeChargeSpecification",
"MovieTicketTypeChargeSpecification"
],
"description": "価格要素タイプ CategoryCodeChargeSpecification (カテゴリーコード加算仕様) or MovieTicketTypeChargeSpecification (ムビチケ加算仕様) or UnitPriceSpecification (単価仕様)"
},
"referenceQuantity": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "価格要素基準数量"
}
}
}
},
"required": [
"price",
"typeOf"
]
}
}
},
"required": [
"priceComponent"
]
}
},
"required": [
"id",
"reservationNumber"
]
}
}
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}注文アイテム検索GET/order/searchAcceptedOffersByConfirmationNumber{?page,limit,confirmationNumber,orderNumber,sellerId}
価格要素タイプ
| type | description |
|---|---|
| UnitPriceSpecification | 単価仕様 |
| CategoryCodeChargeSpecification | カテゴリーコード加算仕様 |
| MovieTicketTypeChargeSpecification | ムビチケ加算仕様 |
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
- confirmationNumber
string(required) Example: xxx確認番号
- orderNumber
string(required) Example: xxx注文番号
- sellerId
string(required) Example: xxx販売者 id
注文コード発行 ¶
Headers
Content-Type: application/jsonBody
{
"orderNumber": "xxx",
"expiresInSeconds": "2023-01-01T00:00:00.000Z",
"customer": {
"telephone": "+819012345678"
},
"seller": {
"id": "xxx"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"orderNumber": {
"type": "string",
"description": "注文番号"
},
"expiresInSeconds": {
"type": "string",
"description": "コード期限 ISO 8601 date format"
},
"customer": {
"type": "object",
"properties": {
"telephone": {
"type": "string",
"description": "購入者電話番号 E.164"
}
}
},
"seller": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "販売者 id"
}
},
"required": [
"id"
]
}
},
"required": [
"orderNumber",
"expiresInSeconds"
]
}Headers
Content-Type: application/jsonBody
{
"code": "xxx"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "注文コード"
}
},
"required": [
"code"
]
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}注文コード発行POST/order/authorize
同期的に注文作成 ¶
Headers
Content-Type: application/jsonBody
{
"object": {
"orderNumber": "xxx",
"confirmationNumber": "xxx"
},
"purpose": {
"id": "xxx"
},
"seller": {
"id": "xxx"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"object": {
"type": "object",
"properties": {
"orderNumber": {
"type": "string",
"description": "注文番号"
},
"confirmationNumber": {
"type": "string",
"description": "確認番号"
}
},
"required": [
"orderNumber",
"confirmationNumber"
]
},
"purpose": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "取引id"
}
},
"required": [
"id"
]
},
"seller": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "販売者id"
}
},
"required": [
"id"
]
}
}
}Headers
Content-Type: application/jsonHeaders
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}同期的に注文作成POST/order/placeOrder
確定した注文取引に対して、同期的に注文データを作成 すでに注文が作成済の場合、何もしない
施設 ¶
施設検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"id": "xxx",
"name": {
"ja": "xxx",
"en": "xxx"
},
"branchCode": "xxx",
"parentOrganization": {
"id": "xxx"
},
"hasEntranceGate": [
{
"name": {
"ja": "xxx",
"en": "xxx"
},
"identifier": "xxx"
}
],
"additionalProperty": [
{
"name": "xxx",
"value": "xxx"
}
]
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "施設 id"
},
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "施設名称(日本語)"
},
"en": {
"type": "string",
"description": "施設名称(英語)"
}
},
"required": [
"ja",
"en"
]
},
"branchCode": {
"type": "string",
"description": "施設コード"
},
"parentOrganization": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "親組織 id"
}
},
"required": [
"id"
]
},
"hasEntranceGate": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "名称(日本語)"
},
"en": {
"type": "string",
"description": "名称(英語)"
}
}
},
"identifier": {
"type": "string",
"description": "コード"
}
},
"required": [
"identifier"
]
},
"description": "入場ゲート"
},
"additionalProperty": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "プロパティ名"
},
"value": {
"type": "string",
"description": "プロパティ値"
}
},
"required": [
"name",
"value"
]
},
"description": "追加特性"
}
},
"required": [
"id",
"branchCode"
]
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}施設検索GET/place/searchMovieTheaters{?page,limit,sellerId}
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
- sellerId
string(required) Example: xxx販売者id
ルーム検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"name": {
"ja": "xxx",
"en": "xxx"
},
"branchCode": "xxx",
"openSeatingAllowed": true,
"additionalProperty": [
{
"name": "xxx",
"value": "xxx"
}
]
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "ルーム名称(日本語)"
},
"en": {
"type": "string",
"description": "ルーム名称(英語)"
}
},
"required": [
"ja",
"en"
]
},
"branchCode": {
"type": "string",
"description": "ルームコード"
},
"openSeatingAllowed": {
"type": "boolean",
"description": "自由席フラグ"
},
"additionalProperty": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "プロパティ名"
},
"value": {
"type": "string",
"description": "プロパティ値"
}
},
"required": [
"name",
"value"
]
},
"description": "追加特性"
}
},
"required": [
"branchCode"
]
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}ルーム検索GET/place/searchScreeningRooms{?page,limit,sellerId}
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
- sellerId
string(required) Example: xxx販売者id
プロダクト ¶
プロダクト検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"id": "xxx",
"name": {
"ja": "xxx",
"en": "xxx"
},
"description": {
"ja": "xxx",
"en": "xxx"
},
"productID": "xxx",
"serviceType": {
"codeValue": "xxx",
"inCodeSet": {
"identifier": "xxx"
}
}
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "プロダクト id"
},
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "プロダクト名称(日本語)"
},
"en": {
"type": "string",
"description": "プロダクト名称(英語)"
}
}
},
"description": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "プロダクト説明(日本語)"
},
"en": {
"type": "string",
"description": "プロダクト説明(英語)"
}
}
},
"productID": {
"type": "string",
"description": "プロダクトコード"
},
"serviceType": {
"type": "object",
"properties": {
"codeValue": {
"type": "string",
"description": "区分コード"
},
"inCodeSet": {
"type": "object",
"properties": {
"identifier": {
"type": "string",
"description": "区分分類"
}
}
}
}
}
},
"required": [
"id",
"productID"
]
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}プロダクト検索GET/product/search{?page,limit,typeOf,sellerId}
プロダクトタイプ
| type | description |
|---|---|
| EventService | 興行 |
| Product | アドオン |
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
- sellerId
string(optional) Example: xxx販売者 Id
- typeOf
string(optional) Example: EventServiceプロダクトタイプ
オファー検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"id": "xxx",
"name": {
"ja": "xxx",
"en": "xxx"
},
"description": {
"ja": "xxx",
"en": "xxx"
},
"priceSpecification": {
"priceComponent": [
{
"name": {
"ja": "xxx",
"en": "xxx"
},
"price": 1000,
"typeOf": "UnitPriceSpecification",
"referenceQuantity": {
"value": 1
},
"appliesToMovieTicket": {
"serviceType": 1,
"serviceOutput": {
"serviceType": 1
}
}
}
]
}
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "オファー id"
},
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "オファー名称(日本語)"
},
"en": {
"type": "string",
"description": "オファー名称(英語)"
}
}
},
"description": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "オファー説明(日本語)"
},
"en": {
"type": "string",
"description": "オファー説明(英語)"
}
}
},
"priceSpecification": {
"type": "object",
"properties": {
"priceComponent": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "価格要素名称(日本語)"
},
"en": {
"type": "string",
"description": "価格要素名称(英語)"
}
}
},
"price": {
"type": "number",
"description": "価格要素価格"
},
"typeOf": {
"type": "string",
"enum": [
"UnitPriceSpecification",
"CategoryCodeChargeSpecification",
"MovieTicketTypeChargeSpecification"
],
"description": "価格要素タイプ CategoryCodeChargeSpecification (カテゴリーコード加算仕様) or MovieTicketTypeChargeSpecification (ムビチケ加算仕様) or UnitPriceSpecification (単価仕様)"
},
"referenceQuantity": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "価格要素基準数量"
}
}
},
"appliesToMovieTicket": {
"type": "object",
"properties": {
"serviceType": {
"type": "number",
"description": "決済カード区分コード"
},
"serviceOutput": {
"type": "object",
"properties": {
"serviceType": {
"type": "number",
"description": "決済方法区分コード"
}
},
"required": [
"serviceType"
]
}
},
"required": [
"serviceType"
]
}
},
"required": [
"price",
"typeOf"
]
}
}
},
"required": [
"priceComponent"
]
}
},
"required": [
"id"
]
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}オファー検索GET/product/searchOffers{?page,limit,itemOfferedId,sellerId}
価格要素タイプ
| type | description |
|---|---|
| UnitPriceSpecification | 単価仕様 |
| CategoryCodeChargeSpecification | カテゴリーコード加算仕様 |
| MovieTicketTypeChargeSpecification | ムビチケ加算仕様 |
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
- sellerId
string(optional) Example: xxx販売者 Id
- itemOfferedId
string(optional) Example: xxxアイテム Id
予約 ¶
コードによる予約照会 ¶
Headers
Content-Type: application/jsonBody
{
"object": {
"id": "xxx"
},
"instrument": {
"code": "xxx"
},
"seller": {
"id": "xxx"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"object": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "予約id"
}
},
"required": [
"id"
]
},
"instrument": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "注文コード"
}
},
"required": [
"code"
]
},
"seller": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "販売者 id"
}
},
"required": [
"id"
]
}
},
"required": [
"object",
"instrument"
]
}Headers
Content-Type: application/jsonBody
{
"id": "xxx",
"reservationStatus": "ReservationConfirmed",
"reservedTicket": {
"ticketType": {
"identifier": "xxx",
"name": {
"ja": "xxx"
}
}
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "予約id"
},
"reservationStatus": {
"type": "string",
"description": "予約ステータス"
},
"reservedTicket": {
"type": "object",
"properties": {
"ticketType": {
"type": "object",
"properties": {
"identifier": {
"type": "string",
"description": "オファーコード"
},
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "オファー名称(日本語)"
}
}
}
},
"required": [
"identifier"
]
}
},
"required": [
"ticketType"
]
}
},
"required": [
"id",
"reservationStatus",
"reservedTicket"
]
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}コードによる予約照会POST/reservation/findByCode
予約ステータス
| type | description |
|---|---|
| ReservationConfirmed | 予約確認済み |
| ReservationCancelled | 予約キャンセル済み |
販売者 ¶
販売者検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"id": "xxx",
"name": {
"ja": "xxx",
"en": "xxx"
},
"branchCode": "xxx",
"additionalProperty": [
{
"name": "xxx",
"value": "xxx"
}
]
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "販売者 id"
},
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "販売者名称(日本語)"
},
"en": {
"type": "string",
"description": "販売者名称(英語)"
}
},
"required": [
"ja",
"en"
]
},
"branchCode": {
"type": "string",
"description": "販売者コード"
},
"additionalProperty": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "プロパティ名"
},
"value": {
"type": "string",
"description": "プロパティ値"
}
},
"required": [
"name",
"value"
]
},
"description": "追加特性"
}
},
"required": [
"branchCode"
]
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}販売者検索GET/seller/search{?page,limit}
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
対応決済方法区分検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"name": {
"ja": "xxx",
"en": "xxx"
},
"codeValue": "xxx"
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "名称(日本語)"
},
"en": {
"type": "string",
"description": "名称(英語)"
}
},
"required": [
"ja",
"en"
]
},
"codeValue": {
"type": "string",
"description": "区分コード"
}
},
"required": [
"codeValue"
]
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}対応決済方法区分検索GET/seller/searchPaymentAccepted{?page,limit,id}
- id
string(required) Example: xxx販売者id
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
提供決済サービス検索 ¶
Headers
Content-Type: application/jsonBody
[
{
"name": {
"ja": "xxx",
"en": "xxx"
},
"id": "xxx",
"serviceType": {
"codeValue": "xxx"
}
}
]Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "object",
"properties": {
"ja": {
"type": "string",
"description": "名称(日本語)"
},
"en": {
"type": "string",
"description": "名称(英語)"
}
},
"required": [
"ja",
"en"
]
},
"id": {
"type": "string",
"description": "決済サービスid"
},
"serviceType": {
"type": "object",
"properties": {
"codeValue": {
"type": "string",
"description": "区分コード"
}
},
"required": [
"codeValue"
]
}
}
}
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}提供決済サービス検索GET/seller/searchPaymentServices{?page,limit,id}
- id
string(required) Example: xxx販売者id
- page
number(optional) Default: `1 Example: 1ページ
- limit
number(optional) Default: `100 Example: 10最大取得件数
取引 ¶
取引開始 ¶
Headers
Content-Type: application/jsonBody
{
"seller": {
"id": "xxx"
},
"object": {
"passport": {
"token": "xxx"
}
},
"agent": {
"identifier": [
{
"name": "xxx",
"value": "xxx"
}
]
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"object": {
"type": "object",
"properties": {
"passport": {
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "パスポート token"
}
}
}
}
},
"seller": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "販売者 id"
}
},
"required": [
"id"
]
},
"agent": {
"type": "object",
"properties": {
"identifier": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "プロパティ名 (最小長 8)"
},
"value": {
"type": "string",
"description": "プロパティ値"
}
},
"required": [
"name",
"value"
]
},
"description": "購入者情報"
}
}
}
}
}Headers
Content-Type: application/jsonBody
{
"id": "xxx",
"expires": "2023-01-01T00:00:00.000Z"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "取引 id"
},
"expires": {
"type": "string",
"description": "取引期限 ISO 8601 date format"
}
},
"required": [
"id",
"expires"
]
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}取引開始POST/transaction/placeOrder/start
購入者情報予約語
| type | description |
|---|---|
| userAgent | ユーザーエージェント |
| application:version | アプリケーションバージョン |
| application:posId | POS コード |
| application:posName | POS 名称 |
取引確定 ¶
Headers
Content-Type: application/jsonBody
{
"id": "xxx",
"sendEmailMessage": true,
"email": {
"about": "予約完了のお知らせ",
"template": "| ご購入ありがとうございます。\\n| 確認番号: #{order.confirmationNumber}\\n| 注文番号: #{order.orderNumber}"
},
"seller": {
"id": "xxx"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "取引 id"
},
"sendEmailMessage": {
"type": "boolean",
"description": "注文配送メール送信フラグ"
},
"email": {
"type": "object",
"properties": {
"about": {
"type": "string",
"description": "件名"
},
"template": {
"type": "string",
"description": "本文テンプレート"
}
},
"required": [
"about",
"template"
]
},
"seller": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "販売者 id"
}
},
"required": [
"id"
]
}
},
"required": [
"id",
"sendEmailMessage"
]
}Headers
Content-Type: application/jsonBody
{
"confirmationNumber": "xxx",
"orderNumber": "xxx"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"confirmationNumber": {
"type": "string",
"description": "確認番号"
},
"orderNumber": {
"type": "string",
"description": "注文番号"
}
},
"required": [
"confirmationNumber",
"orderNumber"
]
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}取引確定PUT/transaction/placeOrder/confirm
メール本文をカスタマイズしたい場合、PUG テンプレートを指定
参考 -> https://pugjs.org/api/getting-started.html
挿入変数として下記を使用できます。
| variable | description |
|---|---|
| order.confirmationNumber | 確認番号 |
| order.orderNumber | 注文番号 |
取引中止 ¶
Headers
Content-Type: application/jsonBody
{
"id": "xxx",
"seller": {
"id": "xxx"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "取引 id"
},
"seller": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "販売者 id"
}
},
"required": [
"id"
]
}
},
"required": [
"id"
]
}取引中止PUT/transaction/placeOrder/cancel
イベントオファー承認 ¶
Headers
Content-Type: application/jsonBody
{
"object": {
"reservationFor": {
"id": "xxx"
},
"acceptedOffer": [
{
"id": "xxx",
"itemOffered": {
"serviceOutput": {
"reservedTicket": {
"ticketedSeat": {
"seatNumber": "xxx",
"seatSection": "xxx",
"seatingType": [
"xxx"
]
}
},
"additionalProperty": [
{
"name": "xxx",
"value": "xxx"
}
]
},
"subReservation": [
{
"ticketedSeat": {
"seatNumber": "xxx",
"seatSection": "xxx",
"seatingType": [
"xxx"
]
}
}
]
},
"addOn": [
{
"id": "xxx",
"priceSpecification": {
"referenceQuantity": {
"value": 1
}
}
}
],
"priceSpecification": {
"appliesToMovieTicket": [
{
"identifier": "xxx",
"serviceOutput": {
"typeOf": "xxx"
}
}
]
}
}
]
},
"purpose": {
"id": "xxx"
},
"seller": {
"id": "xxx"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"object": {
"type": "object",
"properties": {
"reservationFor": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "イベント id"
}
},
"required": [
"id"
]
},
"acceptedOffer": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "チケットオファー id"
},
"itemOffered": {
"type": "object",
"properties": {
"serviceOutput": {
"type": "object",
"properties": {
"reservedTicket": {
"type": "object",
"properties": {
"ticketedSeat": {
"type": "object",
"properties": {
"seatNumber": {
"type": "string",
"description": "座席コード"
},
"seatSection": {
"type": "string",
"description": "セクションコード"
},
"seatingType": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"seatNumber",
"seatSection"
]
}
}
},
"additionalProperty": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "プロパティ名"
},
"value": {
"type": "string",
"description": "プロパティ値"
}
},
"required": [
"name",
"value"
]
},
"description": "追加特性"
}
}
},
"subReservation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ticketedSeat": {
"type": "object",
"properties": {
"seatNumber": {
"type": "string",
"description": "座席コード"
},
"seatSection": {
"type": "string",
"description": "セクションコード"
},
"seatingType": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"seatNumber",
"seatSection"
]
}
}
},
"description": "サブ予約"
}
}
},
"addOn": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "アドオンオファー id"
},
"priceSpecification": {
"type": "object",
"properties": {
"referenceQuantity": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "数量指定"
}
},
"required": [
"value"
]
}
}
}
},
"required": [
"id"
]
}
},
"priceSpecification": {
"type": "object",
"properties": {
"appliesToMovieTicket": {
"type": "array",
"items": {
"type": "object",
"properties": {
"identifier": {
"type": "string",
"description": "適用決済カード識別子"
},
"serviceOutput": {
"type": "object",
"properties": {
"typeOf": {
"type": "string",
"description": "決済方法区分"
}
},
"required": [
"typeOf"
]
}
},
"required": [
"identifier",
"serviceOutput"
]
}
}
}
}
},
"required": [
"id"
]
}
}
},
"required": [
"reservationFor",
"acceptedOffer"
]
},
"purpose": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "取引 id"
}
},
"required": [
"id"
]
},
"seller": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "販売者 id"
}
},
"required": [
"id"
]
}
},
"required": [
"object",
"purpose",
"seller"
]
}Headers
Content-Type: application/jsonBody
{
"id": "xxx"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "アクション id"
}
},
"required": [
"id"
]
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}イベントオファー承認POST/transaction/placeOrder/authorizeSeatReservation
イベントオファー承認取り消し ¶
Headers
Content-Type: application/jsonBody
{
"id": "xxx",
"purpose": {
"id": "xxx"
},
"seller": {
"id": "xxx"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "アクション id"
},
"purpose": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "取引 id"
}
},
"required": [
"id"
]
},
"seller": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "販売者 id"
}
},
"required": [
"id"
]
}
},
"required": [
"id"
]
}Headers
Content-Type: application/jsonHeaders
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}イベントオファー承認取り消しPUT/transaction/placeOrder/voidSeatReservation
取引人プロフィール設定 ¶
Headers
Content-Type: application/jsonBody
{
"id": "xxx",
"agent": {
"familyName": "xxx",
"givenName": "xxx",
"email": "xxx@xxx.com",
"telephone": "+819012345678",
"additionalProperty": [
{
"name": "xxx",
"value": "xxx"
}
]
},
"seller": {
"id": "xxx"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "取引 id"
},
"agent": {
"type": "object",
"properties": {
"familyName": {
"type": "string",
"description": "姓"
},
"givenName": {
"type": "string",
"description": "名"
},
"email": {
"type": "string",
"description": "メールアドレス"
},
"telephone": {
"type": "string",
"description": "電話番号 E.164"
},
"additionalProperty": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "プロパティ名"
},
"value": {
"type": "string",
"description": "プロパティ値"
}
},
"required": [
"name",
"value"
]
},
"description": "追加特性"
}
},
"required": [
"familyName",
"givenName",
"email",
"telephone"
]
},
"seller": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "販売者 id"
}
},
"required": [
"id"
]
}
},
"required": [
"id"
]
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}取引人プロフィール設定PUT/transaction/placeOrder/setProfile
返品取引 ¶
取引開始 ¶
Headers
Content-Type: application/jsonBody
{
"object": {
"order": [
{
"orderNumber": "xxx",
"confirmationNumber": "xxx"
}
]
},
"seller": {
"id": "xxx"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"object": {
"type": "object",
"properties": {
"order": {
"type": "array",
"items": {
"type": "object",
"properties": {
"orderNumber": {
"type": "string",
"description": "注文番号"
},
"confirmationNumber": {
"type": "string",
"description": "確認番号"
}
},
"required": [
"orderNumber",
"confirmationNumber"
]
}
}
}
},
"seller": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "販売者 id"
}
},
"required": [
"id"
]
}
}
}Headers
Content-Type: application/jsonBody
{
"id": "xxx",
"expires": "2023-01-01T00:00:00.000Z"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "取引 id"
},
"expires": {
"type": "string",
"description": "取引期限 ISO 8601 date format"
}
},
"required": [
"id",
"expires"
]
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}取引開始POST/transaction/returnOrder/start
取引確定 ¶
Headers
Content-Type: application/jsonBody
{
"id": "xxx",
"potentialActions": {
"returnOrder": {
"potentialActions": {
"sendEmailMessage": [
{
"object": {
"about": "返品完了のお知らせ",
"template": "| 返品完了しました。\\n| 確認番号: #{order.confirmationNumber}\\n| 注文番号: #{order.orderNumber}"
}
}
]
}
}
},
"seller": {
"id": "xxx"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "取引 id"
},
"potentialActions": {
"type": "object",
"properties": {
"returnOrder": {
"type": "object",
"properties": {
"potentialActions": {
"type": "object",
"properties": {
"sendEmailMessage": {
"type": "array",
"items": {
"type": "object",
"properties": {
"object": {
"type": "object",
"properties": {
"about": {
"type": "string",
"description": "件名"
},
"template": {
"type": "string",
"description": "本文テンプレート"
}
},
"required": [
"about",
"template"
]
}
}
}
}
}
}
}
}
}
},
"seller": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "販売者 id"
}
},
"required": [
"id"
]
}
},
"required": [
"id"
]
}Headers
Content-Type: application/jsonHeaders
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}取引確定PUT/transaction/returnOrder/confirm
メール本文をカスタマイズしたい場合、PUG テンプレートを指定
参考 -> https://pugjs.org/api/getting-started.html
挿入変数として下記を使用できます。
| variable | description |
|---|---|
| order.confirmationNumber | 確認番号 |
| order.orderNumber | 注文番号 |
パスポート ¶
パスポート取得 ¶
Headers
Content-Type: application/jsonBody
{
"scope": "Transaction:PlaceOrder:xxx"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"scope": {
"type": "string",
"description": "スコープ"
}
},
"required": [
"scope"
]
}Headers
Content-Type: application/jsonBody
{
"token": "xxx"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "パスポートトークン"
}
},
"required": [
"token"
]
}Headers
Content-Type: application/jsonBody
{
"error": {
"code": 400,
"errors": [
{
"message": "message",
"name": "SomeError",
"reason": "Argument"
}
],
"message": "message"
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "number",
"description": "HTTPステータスコード"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "エラーメッセージ"
},
"name": {
"type": "string",
"description": "エラー名称"
},
"reason": {
"type": "string",
"description": "エラー原因"
}
},
"required": [
"message",
"name",
"reason"
]
},
"description": "エラーリスト"
},
"message": {
"type": "string",
"description": "エラーメッセージ"
}
},
"required": [
"code",
"message"
]
}
}
}Generated by aglio on 10 Dec 2025