Attach and detach bank offers across a channel
POST/api/v1/pms/listing-channel-offers/bank-offers/apply-to-channel/:channelId
Takes what a checklist save changed: attach fans out one mapping per enabled listing, detach clears an offer off the channel entirely. Offers in neither list are left alone, so a mapping made against a single listing survives a channel-level save. One transaction — either the whole set lands or none of it does.
Breaking change. This previously took a single {bankOfferId, isEnabled} body and returned a listing count. That body now returns 400; send attach/detach lists instead. Attaching to a channel with no enabled listings is also a 400 rather than a silent no-op.
Request
Responses
- 200
OK