Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions144

Orders → Create Order Item

AI-generated

Summary

Add a product item to an existing Salla order by sending the order ID and item details to Salla. Choose a product by ID or SKU, set its quantity, and optionally provide branch, pricing, weight, name, or product options.

Inputs

  • Order Id (required) — The Salla order ID to add the item to.
  • Additional Fields — Optionally set the product identifier type (id or sku) and identifier, quantity, branch ID, name, price, cost price, weight, and weight type. Options can be built from option IDs and string values or supplied as advanced JSON in Salla's { id, value: string[] } format. The operation does not require these fields at the UI level.
  • Return Mode — Choose Data Only (default) or Full Envelope for the response. For this operation, the response is a single object rather than a list.

Output shape

A single item containing the Salla response data object by default, or a response envelope when Full Envelope is selected.

For non-list responses, Data Only returns the data object when available; if data is not an object, it returns an object with a data field. Full Envelope includes ok, status, data, error, and raw. The source validates option IDs and requires at least one value for each configured option; empty options are omitted.

Examples

Example 1: Add a product by SKU

Set the order ID, choose SKU as the identifier type, enter the SKU and quantity, and optionally add option IDs with their selected value IDs.

Links

Discussion