Authorization: Bearer ********************
{
"journeyId": "{{journeyId}}"
}
curl --location --request POST 'https://test-api.ucuzyolu.com/customer/flightalerts/toggle' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw '{
"journeyId": ""
}'
{
"data": {
"type": "alert",
"origin": "IST",
"destination": "ESB",
"date": "2024-10-05",
"adt": 1,
"chd": 0,
"inf": 0,
"price": 1140.24,
"id": 49,
"flightType": "oneway",
"returnDate": null,
"expiresAt": "2024-10-05T21:00:00.000000Z",
"customerId": 1,
"updatedAt": "2024-10-04T14:51:13+03:00",
"createdAt": "2024-10-04T14:51:13+03:00"
},
"success": true,
"code": 0,
"message": ""
}