Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions150

Orders → Create Custom Order Status

AI-generated

Summary

Create a custom order status in Salla by specifying details like parent ID, name, message, and optional fields such as icon, sort order, and activation status.

Inputs

  • Sub-resource (required) — Select the sub-resource category within Orders for creating custom status, typically 'statuses'.
  • Parent Id (required) — Numeric ID of the parent order status under which this custom status will be created.
  • Name (required) — Name to assign to the new custom order status.
  • Message (required) — Message associated with the custom order status.
  • Additional Fields — Optional fields including icon (string), sort order (number), and is active flag (boolean).
  • Return Mode (required) — Determines output format: 'Data Only' to emit just the Salla data payload or 'Full Envelope' to include full backend response envelope.

Output shape

a list of one or more JSON objects representing the created custom order status or full response envelope depending on Return Mode.

If multiple items are returned by Salla, they may emit multiple items in Data Only mode. The Full Envelope mode returns the complete backend response including status and raw data. Errors are returned as node errors with detailed messages.

Examples

Example 1: Create a new order status named 'Shipped' under parent status ID 2 with a message 'Order has been shipped', an icon, and active state true, returning only the data payload.

Set resource to 'Orders', sub-resource to 'statuses', operation to 'Create Custom Order Status'. Fill in Parent Id, Name, Message fields, and optionally Additional Fields. Choose Return Mode as suitable.

Discussion