Apply a media campaign offer code on an invoice
This API helps you to apply a media campaign offer code on an invoice. By doing so, you can provide your guests the option to avail promotional discounts on their invoice when they purchase any services or products from your Customer Mobile Application (CMA) or custom Webstore. For more information on how to configure a media campaign, refer to this Help article.
You must specify appropriate data for the invoice_id parameter.
post/v1/invoices/{invoice_id}/campaign_discount/apply
Request
- Base URLhttps://api.zenoti.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
invoice_idstring required
Mandatory Unique 32-character identifier of the guest's invoice.
Request body
Response
200
Example response
{
"discount_applied": "true",
"campaign_id": "518D91A3-676C-4E3B-9537-036BA071F023"
}Changes
No recorded changes to this operation across all 1 revision of this API.