Etsy Events

Cloud Elements currently supports events via polling or webhooks depending on the endpoint.

  • Polling is a mechanism where Cloud Elements executes the configured query every n minutes and captures the changed information.
  • Webhooks are when the provider lets Cloud Elements know what information has changed. Note that additional endpoint setup may be required prior to creating your Element Instance.
Note: Cloud Elements normalizes only the objectId, objectType, and eventType event data. Event data also contains raw data, which the provider returns. The raw data varies based on the endpoint.

If you would like to see more information on our Events framework, please see Events Overview.

Cloud Elements supports polling events for Etsy.

Polling

In order to enable polling, add these extra configurations to your instance JSON:

"event.notification.enabled": "true",
"event.notification.callback.url": "<INSERT_YOUR_APPS_CALLBACK_URL>",
"event.poller.configuration": "<SEE_BELOW>"

instance JSON with polling events enabled:

{
  "element": {
    "key": "etsy"
  },
  "providerData": {
    "secret": "<From Step 1>",
    "oauth_token": "<From Return URL>",
    "oauth_verifier": "<From Return URL>"
  },
  "configuration": {
    "shop.id": "<INSERT_SHOP_NAME>",
    "oauth.api.key": "<INSERT_KEYSTRING>",
    "oauth.api.secret": "<INSERT_SHARED_SECRET>",
    "oauth.request.url": "https://openapi.etsy.com/v2/oauth/request_token",
    "oauth.callback.url": "<INSERT_CALLBACK_URL>",
    "event.notification.enabled": "true",
    "event.notification.callback.url": "<INSERT_YOUR_APPS_CALLBACK_URL>"
  },
  "tags": [
    "<Add_Your_Tag>"
  ],
  "name": "<Insert_Instance_Name>"
}