Skip to main content

Upsert meal costs for one or more tags

POST 

/api/v1/pms/meal-costs

Sets the (mealId, tagName) → (perAdultCost, perChildCost) row for every tag in tagName and propagates to channels and listings. tagName is an array, so one configuration can cover several tags — "tagName": ["GOA", "DELHI"] writes two rows. A bare string is still accepted and read as a one-element array. Blank entries and an empty array are rejected; repeated tags are collapsed. The response data is always an array, one persisted row per tag, in the order supplied.

Request​

Responses​

Updated and propagated — one row per tag.