Suger

Notify Offer Contacts

POST https://api.suger.cloud/org/{orgId}/offer/{offerId}/notifyContacts

Send offer notifications to the given contact ids. If contactIDs is empty, send notifications to all contacts of the offer.

Parameters

NameInTypeRequiredDescription
orgId path string yes Organization ID
offerId path string yes Offer ID

Request Body

Optional. Content-Type: application/json · Schema: array<string>

Responses

200 — empty string if success

Content-Type: application/json

400 — Bad request error

Content-Type: application/json

405 — Method not allowed

Content-Type: application/json

500 — Internal error

Content-Type: application/json

Example

Generated from this operation's schema. Values are placeholders — substitute your own ids, and set SUGER_TOKEN to a bearer token from the OAuth client-credentials exchange.

Request

curl -X POST 'https://api.suger.cloud/org/{orgId}/offer/{offerId}/notifyContacts' \
  -H "Authorization: Bearer $SUGER_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '[
  "string"
]'

Response — 200

"string"

Error — 400

"string"

View as Markdown · Interactive API reference

Spotted something wrong or out of date on this page? Tell us and we'll correct it.