Save Food Catalogue
POST /v2/event/save/catl/food
This API creates a Food Catalogue in an event and returns a unique Id and its associated details. This same API allows you to update an existing Food Catalogue e.g. change the comments or the qty etc..
The Id of food catalogue. Required only if you are updating the food catalogue.
The Id of a food item.
The event to which the catalogue item should be associated. The event must exist in your Priava Account. Passed in JSON format where:
Id = Id of the Event.
Name = Name of the Event.
The start date and time of the catalogue item.
The end date and time of the catalogue item.
The contact to whom the catalogue item should be associated. The contact must exist in your Priava Account. Passed in JSON format where:
ContactId = Id of the contact
The venue with which the catalogue item should be associated. The venue must exist in your Priava Account. Passed in JSON format where:
Id = Id of the Venue.
Name = Name of the Venue.
List of Venue Booking with which the catalogue item should be associated. The booking must exist in your Priava Account. Passed in Array format where:
Id = Id of the Venue Booking.
Can pass multiple Venue Booking Ids in the Array in create case and single Venue Booking Id in update case.
In case of create scenario ,it will create one Event Catalogue per booking passed.
In case of update scenario , it will accept only one value in the array . As you can not associated multiple venue Booking to a single Event Catalogue Item.
This represents whether the catalogue item should be credited or debited to the event. Only values supported are Credit or Debit.
The required quantity of the catalogue item.
This represents the type of discount provided. The possible values could be 'P' and 'C', where 'P' is percentile discount and 'C' is fixed discount amount.
This represents the discount provided for the catalogue item. The value provided is used along with the discount type to calculate the total discount amount.
The unit price of one catalogue item.
The unit cost of one catalogue item.
The tax type to be associated with catalogue item. Tax type must exist in your Priava Account. Passed in JSON format where:
Id = Id of the Tax Type.
Name = Name of the Tax Type.
The Catalogue comment to be associated with the catalogue item.
The Financial comment to be associated with the catalogue item.