CAPIShop icon

CAPIShop

Integração completa com Nuvemshop API

Actions35

Webhook → Create

AI-generated

Overview

This node integrates with the Nuvemshop API to manage webhooks. Specifically, the 'Create' operation under the 'Webhook' resource allows users to create a new webhook by providing webhook data in JSON format. This is useful for automating event-driven workflows, such as triggering actions when an order is created or updated on the Nuvemshop platform.

Use Case Examples

  1. Creating a webhook to listen for 'order/created' events and send notifications to a specified URL.
  2. Setting up a webhook to trigger custom workflows when a product is updated in the store.

Properties

Name Meaning
Webhook Data (JSON) The JSON-formatted data defining the webhook to be created, including properties like the webhook URL and the event to listen for.

Output

JSON

  • json - The JSON response from the Nuvemshop API representing the created webhook object.

Dependencies

  • Requires an API key credential for authenticating with the Nuvemshop API.

Troubleshooting

  • Ensure the JSON provided in 'Webhook Data (JSON)' is correctly formatted; invalid JSON will cause request failures.
  • Verify that the API key credential has sufficient permissions to create webhooks in the Nuvemshop store.
  • Common errors include authentication failures (check API key validity) and validation errors from the API if required webhook fields are missing or incorrect.

Links

Discussion