POST
/books
curl \
--request POST 'http://api.mycompany.com/v1/books' \
--header "Content-Type: application/json" \
--data '{"trip_id":"string","voucher_code":"string"}'
Request examples
{
"trip_id": "string",
"voucher_code": "string"
}
Response examples (200)
{
"id": "string",
"trip_id": "string",
"cents": "string",
"status": "booked"
}