Create offers via /api/vendor/offers (multipart). Backend requires at least one product or one child offer.
Images are required for combo offers (multiple products or child offers). Single-product offers can omit images.
Load products for an establishment, then choose which ones join this offer. At least one product or one child offer is required.
Select existing offers to combine. Start/end dates default to the earliest/latest among children when left blank.
Helpers for OfferCollection endpoints.
Add Offer IDs below, then choose whether to add or remove them.
Lists collections and loads their offers via /api/admin/Offers/collectionoffers?collectionId= (admin token required).
Load collections and offers, click to select, then add or remove the selected offers from the chosen collection.
Requires an admin token. Calls /api/admin/Offers/offers to fetch every offer.
Uploads an image via /api/admin/Images/image (multipart). Image is converted to JPEG before upload.
Select an offer from the list above, then send only the fields you want to change to /api/admin/Offers/offer.
Leave empty to keep current products. Add rows to replace them, or tick “Send empty” to clear.
Leave empty to keep current children. Add IDs to replace, or tick “Send empty” to clear.