Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

5. Compose the Webhook

Webhook URL

Example of Hot Webhook URL in Production:

Code Block
https://euc1-prod-bk-loyalty-middleware.rbictg.com/bulk-action/hot/create-offer

Example of the Cold Webhook URL in Production:

Code Block
https://euc1-prod-bk-loyalty-middleware.rbictg.com/bulk-action/cold/create-offer
Info

the Hot path should be used for any user triggered campaigns that should happen in realtime

  • ie: T-Mobile Tuesdays, sign up bonuses

the Cold path should be used for any marketer triggered campaigns that can be processed over time

  • ie: mass offers assignments, mass points updates

Example of Hot the Webhook URL in Productionshould always begin with the following format:

Code Block
https://euc1-prod-bk{reg}-{env}-{brand}-loyalty-middleware.rbictg.com/bulk-action/hot/create-offer

Example of the Cold Webhook URL in Production:

Code Block
https://euc1-prod-bk-loyalty-middleware.rbictg.com/bulk-action/cold/create-offer

Please test offer assignment in Staging first. To do this: replace prod with staging in the Webhook URL.

The brand can set as bk (as seen in the example above), plk or fhs in the Webhook URL.

...

Where:

  • Region {reg} variables:

    • euc1 EU Timezone Markets

    • apse1 APAC Timezone Markets

    • euw3 Iberia Timezone Market

  • Environment {env} variables: dev, staging, qa or prod . Please always test with staging first.

  • Brand {brand} variables: bk, plk or fhs (other brands are not supported in International markets yet).

Please always test offer assignment in staging environment first. Here is an example of an URL with an offer that needs to be assigned in staging env for PLK ES using hot path:

https://euw3-prodstaging-plk-loyalty-middleware.rbictg.com/bulk-action/coldhot/create-offer).

Input the URL in the “Webhook URL” field

...