Receiving Order Notifications
Recipe
- Choose a workspace on your account that you'll work on. Let's suppose we're using the workspace
oms
. - Clone this repository https://github.com/vtex-apps/orders-feed-example
- Go to
https://{accountName}.myvtex.com/admin/apps/vtex.orders-broadcast/setup
- Change the
Target Workspace
variable to the name of the workspace you have created previously. - Now you can link this app (
vtex.orders-feed-example
) in your desired workspace and receive order status updates. - Now, if you finish an order on the account's Store, you'll see the notifications pop up on the console. You can start your development extracting the listener code from the cloned app to your application.
- If you want more details check out the readme on the example app
Example running on account cliqueretire and workspace lucis: