Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions150

Orders → Create Order

AI-generated

Summary

Create a new order in Salla by specifying customer details, payment information, ordered products, delivery method, receiver info, and optional coupon code.

Inputs

  • Sub-resource (required) — Select 'core' to access the main order creation sub-resource.
  • Customer (required) — Provide existing customer ID or enter customer's mobile number and name; email is optional.
  • Payment (required) — Specify payment status ('paid' or 'pending_payment'). If paid, select method with additional fields for bank transfer or cash on delivery as needed; if pending, define accepted payment methods.
  • Products (required) — Add one or more products to the order, each with identifier type (ID or SKU), identifier, quantity, optional options, and optional donation amount.
  • Delivery — Configure delivery method (pickup, shipping, or null). For pickup, specify branch ID; for shipping, provide courier ID and complete destination details including country, city, district, street, and optional postal code and geo coordinates.
  • Receiver — Optionally override receiver's name, country, phone, email, and notification preference.
  • Coupon Code — Enter an optional coupon or voucher code to apply to the order.
  • Return Mode — Choose between returning only the Salla data payload or the full backend response envelope including metadata.

Output shape

a list of objects representing the created order(s) or full response envelope(s) depending on the Return Mode setting.

If 'Data Only' is selected, the node emits the Salla data payload; if 'Full Envelope' is chosen, the full API response including status and raw data is returned. The operation requires valid inputs for customer, payment, and at least one product. Errors include validation for required fields and proper formats.

Discussion