Sales
Get journey's sales
Fetch the sales of the journey
get/api/v4/journey/{journey_id}/sales
Path parameters
journey_idstring required
Id of the journey
Response
Success
Example response
[
{
"code": "ESP22AX002004",
"concept": {
"type": "journey",
"type_object": {
"charge_code": "P004",
"country": "ES",
"description": "2022-02-17. Sol, Madrid. P004",
"dropoff": {
"addr": "Calle de oviedo",
"city": "Madrid",
"contact": {
"mobile_cc": "34",
"mobile_num": "123456789",
"name": "Jhon Doe"
},
"country": "ES",
"loc": [
40.449074,
-3.700908
],
"name": "Home",
"num": "1428"
},
"end_at": "2022-02-17T09:31:27.028Z",
"id": "41f11290-8fd4-11ec-879a-acde48001122",
"pickup": {
"addr": "Calle de la cruz",
"city": "Madrid",
"contact": {
"mobile_cc": "34",
"mobile_num": "123456789",
"name": "Jhon Doe"
},
"country": "ES",
"loc": [
40.4169335,
-3.7061872
],
"name": "Work",
"num": "1428"
},
"region": "madrid",
"start_at": "2022-02-17T09:30:34.831Z"
}
},
"currency": "EUR",
"invoice_date": "2022-02-21",
"price_details": {
"discount": 0,
"tax_rate": 0,
"tax_type": "iva",
"total": 0
}
}
]