cURL
curl --request PUT \ --url https://api-alpha.fourvenues.com/integrations/bookings/{bookingId}/products \ --header 'Content-Type: application/json' \ --header 'integration_id: <api-key>' \ --header 'secret: <api-key>' \ --header 'x-api-key: <api-key>' \ --data '{ "products": [ { "_id": "ylgla79ll0000fosz51sl31g5q09Adij", "amount": 2, "name": "VIP Bottle 70cl", "total_price": 200, "unit_price": 100 } ], "ticket_total": 100 }'
{ "success": true }
Update the products of a booking
Identifier of the integration (Auth v1)
Secret of the organization (Auth v1)
API key (Auth v2)
Id of the booking
Body of the request
The body is of type object.
object
HTTP OK
The response is of type object.