Skip to main content

Bulk upsert from CSV upload

POST 

/api/v1/pms/meal-costs/upload-csv

Multipart/form-data upload. Field name file. Use the /sample endpoint to download a template. A BASE_PLUS_EXTRA row carries its config in the baseGuestCount, basePrice, perExtraAdultCost, perExtraChildCost and extraDiscountPercent columns; leave those blank for PER_PERSON. The whole file is validated before anything is saved, and every fault is reported with its row number.

Request​

Responses​

CSV processed.