Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions144

Orders → Create Order

AI-generated

Summary

Creates a Salla order per input item, supporting two modes for providing order data: Fields (recommended) and Raw Order JSON. Fields mode requires customer, payment, products, delivery, receiver, and coupon code details filled in structured inputs; Raw JSON mode accepts the entire order object as validated JSON. Products can be specified via a builder with individual products or a raw JSON list. The operation validates required details, constructs the request respecting delivery and payment constraints, sends the order to Salla, and returns response data or envelope as specified.

Inputs

  • Sub-resource (required) — Select a sub-resource within the chosen category.
  • Return Mode — Choose Data Only (default) to emit the Salla response data, or Full Envelope to include response status and raw data.
  • Order Input Mode — Choose how the order is supplied: via Fields inputs or as Raw Order JSON.
  • Order JSON (required) — Provide the complete order JSON when using Raw Order JSON mode.
  • Customer (required) — Use existing customer ID or provide mobile number with country code and name; email optional. Required in Fields mode.
  • Payment (required) — Set payment status (paid or pending_payment). Paid requires method; bank transfers need store bank ID and receipt image URL. Pending payment requires at least one accepted method. COD charge amount and currency optional.
  • Products Input Mode (required) — Specify products either via builder (recommended) or JSON list.
  • Products (JSON) (required) — Use JSON array of products when Products Input Mode is JSON.
  • Products (required) — Add one or more products with identifier (ID or SKU), quantity (>=1), options (optional), and donation amount (optional). Used in builder mode.
  • Delivery — Configure delivery method: Pickup with branch ID, Shipping with courier ID and destination details (country, city, district, street mandatory; others optional), or Null to omit.
  • Receiver — Optionally override receiver details: name, country, phone, email, notify flag, and country code.
  • Coupon Code — Optional coupon or voucher code to apply to the order.

Output shape

One or more n8n items containing the response data or full response envelope.

Returns one or more n8n items containing response data or full response envelope according to Return Mode. Data Only emits objects or arrays as items with metadata; Full Envelope returns status and raw data in one item. Validates required customer, payment, and product details per the selected input mode and applies strict validation on delivery details, including postal short address format and shipping cost requirements when applicable.

Links

Discussion