Plunet icon

Plunet

Get and Set Data for Plunet BusinessManager

Actions156

Order Fields → Get Subject

AI-generated

Summary

Retrieves the subject associated with a given order ID.

Inputs

  • orderID (required) — Numeric identifier of the order whose subject is to be fetched.

Output shape

a JSON object representing the subject (e.g., subject ID, name, creation date)

Returns a single subject record on success (status 200); may include additional fields defined by the Plunet API; errors are propagated as exceptions unless continueOnFail is enabled.

Examples

Example 1: Fetch subject for order 98765

orderID = 98765

Example 2: Get subject of the order passed from a previous node

orderID = $json["orderId"]

Example 3: Handle failure when order ID is missing

orderID = 0 (will cause error)

Discussion