Offer Update Form
The offer update form lets a business owner change their savings-pass offer and business details, then send the changes for review. It is not a page you embed. In the Hub, open the place, choose Generate magic link…, pick Offer update as the Link type, and send the link to the owner, who opens it directly. No account is needed.
The link
A link looks like https://web.vibemap.com/embed/offer-update?place=<business-slug>&t=<access-token>&theme=<your-theme-slug>. The access token lets anyone holding the link submit changes, so send it only to that business. The link stops working when it expires. To cancel links you already sent, generate a new one with Revoke links already out on this place checked.
Parameters
The link carries place, t and your organization's theme. You can add the display parameters below before you send it. Booleans take true or false, or 1 or 0.
| Parameter | Type | Default | Description |
|---|---|---|---|
place or business or place_id | string | - | Slug or ID of the business. Set by the link. |
t or token | string | - | Access token. Set by the link; don't edit it. |
theme or themeName | string | - | Theme slug. Sets the accent color. |
accentColor | color | theme accent, else #2E7D32 | Buttons and highlights. |
headerColor | color | the accent color | Header bar background. |
headerTextColor | color | #ffffff | Header bar text color. |
showHeader | boolean | true | Show the header bar. |
headerTitle | string | Update Your Offer | Header title. |
headerDescription | string | Change the deal customers see in the savings pass | Header text. |
showOffers | boolean | true | Show the offer editor. |
showBusinessDetails | boolean | true | Show the hours, phone, description and links sections. |
submitButtonText | string | Send for Review | Submit button label. |
reviewWindowLabel | string | 48 hours | How long review takes, shown in the confirmation message. |
maxWidth | string | lg | Form width: xs, sm, md, lg or xl. |
submitButtonPosition | string | bottom | fixed makes the submit bar sticky. |
customCSS | string | - | CSS added to the page. @import, url() and image-set() are removed, so the CSS can't load files. |
badges | list | - | Savings-pass badges drawn on a new offer's preview. Display only. |
Events and sizing
When the page is framed, it reports its height like every embed (see Embedding and sizing) and posts offer-update-submitted ({ embedId: "offer-update", data }) after a successful submit and offer-update-message ({ embedId: "offer-update", message, isSuccess }) for status messages.