hornet icon

hornet

Interact with hornet API

Actions452

Currency → Currency Post

AI-generated

Summary

Posts currency data for a specified object to the hornet API.

Inputs

  • object_id (required) — The ID of the object (user, customer, or partner). Sent as a query parameter named object_id. The default is 0. Type: number.
  • APP-ID (required) — Application identifier issued by the service. Sent as a custom HTTP header APP-ID. Type: string, default empty.
  • product_code (required) — Product code to associate with the currency entry. Sent in the request body as product_code. Options: TPB, TPE, TPEB, EEP, TP 4, TP 4 N. Default: TPB. Type: options.
  • requestOptions — Collection of advanced HTTP request options (batching, SSL verification, proxy, timeout). Type: collection, default empty object.

Output shape

The raw JSON response from the hornet API’s currency endpoint is returned on the node’s main output.

If batching is enabled, the node will split incoming items into batches according to the configured batch size and interval.

Examples

Example 1: Post currency for a user with ID 12345 using product TPB.

Set object_id=12345, APP-ID=your_app_id, product_code=TPB, leave requestOptions at defaults.

Links

Discussion