Skip to main content

Upsert a channel-meal mapping for one or more tags

POST 

/api/v1/pms/channel-mappings/meals

Creates or overwrites the (channelId, mealId, tagName) row for every tag in tagName. The field takes an array, so one save can cover several tags — "tagName": ["purple_coral", "celest"] writes two mappings, each priced, enabled and deleted on its own. 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 is always an array, one persisted mapping per tag, in the order supplied.

Request​

Responses​

Persisted ChannelMeal, one per tag.