Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System/Integration → SubscriptionCreate

AI-generated

Summary

Create a new system integration subscription in Zen ERP by providing a JSON-formatted body with details such as subscription ID, topic, protocol, target URL, queue, agent, tags, and additional properties.

Inputs

  • Body (required) — Provide a JSON object specifying subscription details including id (integer), topic (object), protocol (string), target (string), queue (object), agent (object), tags (string), and properties (object).

Output shape

a single JSON object representing the created subscription

The output includes details of the newly created subscription as returned by the Zen ERP API. Errors are returned as JSON objects containing error message and diagnostics if the operation fails.

Examples

Example 1: Create a subscription for a specific topic and protocol

Fill the Body parameter with JSON like {"id":123, "topic":{"name":"invoice_created"}, "protocol":"HTTP", "target":"https://example.com/webhook"}

Discussion