A transaction is a record of a member's purchase of items. This can include tickets, food, and drinks.
A transaction is a record of a member's purchase at an exhibitor. It can contain one or more transaction lines.
transaction_id required | string (Transaction_id) The |
member_id required | string (Member_id) The |
cinema_id required | string (Cinema_id) Each |
salesChannel | string The source of the transaction. |
transactedAt | string <date-time> The UTC date and time that the transaction was transacted. |
timezone | string The timezone of the transaction. |
required | Array of any The lines of the transaction. |
{- "member_id": "member1",
- "cinema_id": "northcitymultiplex01",
- "transaction_id": "123456789",
- "salesChannel": "point_of_sale",
- "transactedAt": "2019-01-01T12:00:00Z",
- "timezone": "Pacific/Auckland",
- "transactionLines": [
- {
- "line_type": "session",
- "ticket_id": "adult_ticket",
- "film_id": "captain_america-civil_war",
- "session_time": "2019-01-01T12:00:00Z",
- "quantity": 2,
- "total": 20,
- "tax": 2,
- "discount": 5
}, - {
- "line_type": "item",
- "item_id": "concession_popcorn_lrg_unbuttered",
- "quantity": 2,
- "total": 20,
- "tax": 2,
- "discount": 5
}
]
}
Creates or updates a transaction in the system. This will create the
transaction in Movio if the transaction does not exist. If the
transaction exists, then the transaction with the same transaction_id
will be one to one replaced with the new transaction.
The transactions to be created.
The response to a bulk request that succeeded.
The response to a bulk request that failed.
The request has not been applied because it lacks valid authentication credentials for the target resource.
The request was well-formed but was unable to be followed due to semantic errors.
[- {
- "member_id": "member1",
- "cinema_id": "northcitymultiplex01",
- "transaction_id": "123456789",
- "salesChannel": "point_of_sale",
- "transactedAt": "2019-01-01T12:00:00Z",
- "timezone": "Pacific/Auckland",
- "transactionLines": [
- {
- "line_type": "session",
- "ticket_id": "adult_ticket",
- "film_id": "captain_america-civil_war",
- "session_time": "2019-01-01T12:00:00Z",
- "quantity": 2,
- "total": 20,
- "tax": 2,
- "discount": 5
}, - {
- "line_type": "item",
- "item_id": "concession_popcorn_lrg_unbuttered",
- "quantity": 2,
- "total": 20,
- "tax": 2,
- "discount": 5
}
]
}
]
{- "total": 3,
- "created_count": 2,
- "updated_count": 1
}