1. Orders
Salla Platform Docs
  • Welcome 👋
  • Get Started
  • Create Your First App
  • Authorization
  • Webhooks
  • Conditional Webhooks
  • Security Considerations
  • Multi-Language Support
  • Responses
  • Pagination
  • Rate Limiting
  • Versioning
  • Change Log
  • Support
  • APIs
    • Orders
      • Create Order
        POST
      • Relocate Order Stock
        POST
      • External Orders
        POST
      • List Orders
        GET
      • Order Details
        GET
      • Create Drafted Order
        POST
      • Update Order
        PUT
      • Duplicate Order
        POST
      • Order Actions
        POST
    • Order Status
      • Update Order Status
      • Create Custom Order Status
      • List Order Statuses
      • Order Status Details
      • Update Custom Order Status
      • Update Bulk Orders Statuses
      • Sort Orders Statuses
    • Order Histories
      • List Order Histories
      • Create Order History
    • Order Options
      • Create Order Option
      • Update Order Option
      • List Order Options
      • Delete Order Options
      • Order Option Details
    • Order Assignment
      • List Auto Assignment Rules
      • Update Auto Assignment Rule
      • Create Auto Assignment Rules
      • Order Assigned Employees Details
    • Order Invoice
      • Create Invoice
      • List Invoices
      • Invoice Details
      • Send Order Invoice
      • Create Order Invoice
    • Products
      • Create Product
      • List Products
      • Product Details
      • Update Product
      • Delete Product
      • Change Product Status
      • Product Details By SKU
      • Update Product By SKU
      • Delete Product By SKU
      • Update Product Price By SKU
      • Update Bulk Product Prices
      • Import Products
      • Bulk Product Actions
    • Order Reservations
      • List Order Reservations
    • Product Tags
      • Create Product Tag
      • List Product Tags
    • Product Options
      • Create Product Option
      • Product Option Details
      • Update Product Option
      • Delete Product Option
    • Product Images
      • Attach Image by SKU
      • Attach Video by SKU
      • Attach Youtube Video
      • Attach Image
      • Update Image
      • Delete Image
    • Product Option Values
      • Create Product Option Value
      • Product Option Value Details
      • Update Product Option Value
      • Delete Product Option Value
    • Digitals Product
      • Attach Digital Code
      • Attach Digital File
      • Delete Digital File
    • Product Quantity
      • Update Bulk Quantities
      • List Product Quantities
      • List Quantity Change Reasons
      • List Quantity Audit
    • Product Variants
      • List Product Variants
      • Product Variant Details
      • Update Product Variant
      • Update Product Variant Quantity
    • Settlements
      • List Instant Settlements
      • Create Instant Settlement
      • Update Instant Settlement
      • Instant Settlement Details
      • Delete Instant Settlement
    • Customers
      • Create Customer
      • List Customers
      • Customer Details
      • Update Customer
      • Delete Customer
      • Ban Customer
      • Un-Ban customer
      • Import Customers
    • Customer Groups
      • Create Customer Group
      • List Customer Groups
      • Add Customers To Group Customer
      • Update Default Customer Group
      • Update Customer Group
      • Delete Customer Group
    • Customer Wallet
      • Deposit to Wallet
      • Withdraw from Wallet
    • Abandoned Carts
      • List Abandoned Carts
      • Abandoned Cart Details
    • Special Offers
      • Create Special Offer
      • List Special Offers
      • Special Offer Details
      • Update Special Offer
      • Delete Special Offer
      • Change Special Offer Status
    • Affiliates
      • Create Affiliate
      • List Affiliates
      • Affiliate Details
      • List Affiliate Links
      • Update Affiliate
      • Delete Affiliate
    • Coupons
      • Coupon Statistics Details
      • Create Coupon
      • List Coupons
      • Coupon Details
      • Update Coupon
      • Delete Coupon
      • List Coupon Codes
    • Reviews
      • List Reviews
      • Review Details
      • Update Review
    • Feedbacks
      • List Feedbacks
      • Feedback Details
      • Update Feedback
      • Store Feedback
      • Feedback Reply
      • Update Feedback Reply
    • Order Items
      • List Order Items
      • Create Order Item
      • Update Order Item
      • Delete Order Item
      • Attach Digital Item
    • Branches
      • Create Branch
      • List Branches
      • Branch Details
      • Update Branch
      • Delete Branch
    • Branches Allocations
      • List Branches Allocations
      • Create Branches Allocations
      • Update Branches Allocations
      • Delete Branches Allocations
      • Branch Allocation Details
      • Allocation Branch Settings
    • Shipments
      • Create Shipment
      • List Shipments
      • Update Shipment Details
      • Shipment Details
      • Cancel Shipment
      • Return Shipment
      • Shipment Tracking
    • Shipping Companies
      • Create Shipping Company
      • Shipping Company Options
      • List Shipping Companies
      • Shipping Company Details
      • Update Shipping Company
      • Delete Shipping Company
      • List Estimate Rates
    • Shipping Zones
      • Create Shipping Zone
      • List Shipping Zones
      • Shipping Zone Details
      • Update Shipping Zone
      • Delete Shipping Zone
    • Shipping Routes
      • Routes List
      • Route Details
      • Create Route
      • Update Route
      • Default Route
      • Delete Route
    • Countries
      • List Countries
      • Country Details
    • Districts
      • List Districts
    • Cities
      • List Cities
    • Product Option Templates
      • List Option Templates
      • Option Template Details
      • Delete Option Template
      • Update Option Template
      • Create Option Template
    • Shipping Delivery Promises
      • List Delivery Promises
      • Delivery Promise Details
      • Update Delivery Promise
    • Categories
      • Create Category
      • List Categories
      • Category Details
      • Update Category
      • Delete Category
      • Category Children
      • Categories Search
      • List Category Products
    • Settings
      • Settings List
      • Update Setting Slug
      • Setting Details
    • Store Scopes
      • List Store Scopes
      • Store Scope Details
    • Brands
      • Create Brand
      • List Brands
      • Brand Details
      • Update Brand
      • Delete Brand
    • Exports
      • Export Orders
      • Exports Logs
      • List Export Templates
      • Create Export Template
      • Update Export Template
      • Delete Export Template
      • List Export Columns
      • Export Customers
      • Export Custom URLs
      • Export Products
    • Transactions
      • List Transactions
      • Transaction Details
      • Print Transaction Invoice
      • Update Transaction
    • Payments
      • Available Payment Methods
      • List Banks
      • Payment Bank Details
    • Currencies
      • Activate Currencies
      • List Currencies
      • List Available Currencies
    • Merchant
      • User Information Details
      • Store Information
    • Taxes
      • Create Tax
      • List Taxes
      • Tax Details
      • Update Tax
      • Delete Tax
    • SEO
      • List SEO Settings
      • Update SEO Settings
    • DNS Records
      • List DNS Records
      • Create DNS Record
      • Delete DNS Record
    • Languages
      • Add Language
      • List Languages
      • Update Language
    • Employees
      • List Employees
    • Advertisements
      • Create Advertisement
      • List Advertisements
      • Advertisement Details
      • Update Advertisement
      • Delete Advertisement
    • Webhooks
      • Register Webhook
      • Update Webhook
      • List Active Webhooks
      • List Events
      • Deactivate Webhook
    • Custom URLs
      • Import Custom URLs
    • Loyalty Points
      • Customer Loyalty Points
      • Update Customer Loyalty Points
    • Branch Delivery Zones
      • List Branch Delivery Zones
      • Branch Delivery Zone Details
      • Create Branch Delivery Zone
      • Update Branch Delivery Zone
      • Delete Branch Delivery Zone
  • Webhooks
    • Shippings
    • Brand
    • Cart
    • Miscellaneous
    • Customer
    • Customer Wallet
    • Invoice
    • Store
    • Shipments
    • Product
    • Category
    • Special Offer
    • Order
    • Communication Webhooks
Merchant
Merchant
  • Merchant API
  • Embedded SDK
  • Salla OAuth 2.0
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Component Bundle
  • Checkout APIs
  • Change Log
App Functions
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • Billing System Salla partners
  • Communication Apps
Dev Tools
Dev Tools
  • Partners Agent Kit
  • Salla Apps Playbook
  • Salla CLI
Merchant
Merchant
  • Merchant API
  • Embedded SDK
  • Salla OAuth 2.0
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Component Bundle
  • Checkout APIs
  • Change Log
App Functions
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • Billing System Salla partners
  • Communication Apps
Dev Tools
Dev Tools
  • Partners Agent Kit
  • Salla Apps Playbook
  • Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Orders

Create Order

Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
POST
https://api.salla.dev/admin/v2
/orders
Last modified:2026-09-21 14:04:21
This endpoint allows you to create an order related to your store. It supports both standard one-time purchases and subscription-based orders.
Scopes
orders.read_write - Orders Read & Write

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "customer": {
        "id": 1209983424,
        "name": "new name",
        "mobile": "+966566666666",
        "email": "[email protected]"
    },
    "receiver": {
        "name": "i am the one",
        "country_code": "SA",
        "phone": "966566666666",
        "email": "[email protected]",
        "notify": false
    },
    "delivery_method": "shipping",
    "branch_id": 203948803,
    "courier_id": 1433878184,
    "ship_to": {
        "country": 1473353380,
        "city": 1939592358,
        "district": 674989864,
        "block": "الدور الثاني",
        "street_number": "8230",
        "address": "حي النزهة، الرياض",
        "address_line": "West",
        "postal_code": "51434",
        "geo_coordinates": {
            "lat": 79.0225,
            "lng": 53.5041
        }
    },
    "payment": {
        "status": "paid",
        "method": "bank",
        "store_bank_id": 234234,
        "receipt_image_path": "url",
        "accepted_methods": [
            "bank",
            "credit_card"
        ],
        "cash_on_delivery": {
            "amount": 10,
            "currency": "SAR"
        }
    },
    "products": [
        {
            "identifier_type": "id",
            "identifier": 892907448,
            "quantity": 1,
            "options": [
                {
                    "id": 1626535321,
                    "value": [
                        "96445177"
                    ]
                }
            ],
            "recurring":{
                "slug": "premium-subscription-plan",
                "interval_unit": "month",
                "interval_count": 12,
                "meta":{
                    "note": "Internal note"
                }
            }
        },
        {
            "identifier_type": "id",
            "identifier": 728473534,
            "quantity": 1
        },
        {
            "identifier_type": "sku",
            "identifier": "sku123",
            "quantity": 1
        }
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.salla.dev/admin/v2/orders' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customer": {
        "id": 1209983424,
        "name": "new name",
        "mobile": "+966566666666",
        "email": "[email protected]"
    },
    "receiver": {
        "name": "i am the one",
        "country_code": "SA",
        "phone": "966566666666",
        "email": "[email protected]",
        "notify": false
    },
    "delivery_method": "shipping",
    "branch_id": 203948803,
    "courier_id": 1433878184,
    "ship_to": {
        "country": 1473353380,
        "city": 1939592358,
        "district": 674989864,
        "block": "الدور الثاني",
        "street_number": "8230",
        "address": "حي النزهة، الرياض",
        "address_line": "West",
        "postal_code": "51434",
        "geo_coordinates": {
            "lat": 79.0225,
            "lng": 53.5041
        }
    },
    "payment": {
        "status": "paid",
        "method": "bank",
        "store_bank_id": 234234,
        "receipt_image_path": "url",
        "accepted_methods": [
            "bank",
            "credit_card"
        ],
        "cash_on_delivery": {
            "amount": 10,
            "currency": "SAR"
        }
    },
    "products": [
        {
            "identifier_type": "id",
            "identifier": 892907448,
            "quantity": 1,
            "options": [
                {
                    "id": 1626535321,
                    "value": [
                        "96445177"
                    ]
                }
            ],
            "recurring":{
                "slug": "premium-subscription-plan",
                "interval_unit": "month",
                "interval_count": 12,
                "meta":{
                    "note": "Internal note"
                }
            }
        },
        {
            "identifier_type": "id",
            "identifier": 728473534,
            "quantity": 1
        },
        {
            "identifier_type": "sku",
            "identifier": "sku123",
            "quantity": 1
        }
    ]
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
  "status": 201,
  "success": true,
  "data": {
    "id": 1107722485,
    "external_order_id": null,
    "external_reference_id": null,
    "checkout_id": "3058806946742845435",
    "reference_id": 279766354,
    "urls": {
      "customer": "https://demostore.salla.sa/dev-qemdv5vldnohhhpq/account/orders/XArYbdA",
      "admin": "https://s.salla.sa/orders/order/gdpNzmxoKnvLW0le85bXWyZR5DBAqwPl",
      "rating": null,
      "digital_content": null,
      "gift_confirmation": null
    },
    "date": {
      "date": "2026-08-24 17:38:20.000000",
      "timezone_type": 3,
      "timezone": "Asia/Riyadh"
    },
    "updated_at": {
      "date": "2026-08-24 17:38:20.453456",
      "timezone_type": 3,
      "timezone": "Asia/Riyadh"
    },
    "source": "223306543",
    "draft": false,
    "read": false,
    "source_details": {
      "type": "223306543",
      "value": null,
      "device": "desktop",
      "user-agent": "PostmanRuntime/7.56.1",
      "utm_source": "",
      "utm_campaign": "",
      "utm_medium": "",
      "utm_term": "",
      "utm_content": "",
      "ip": "192.0.2.1"
    },
    "status": {
      "id": 566146469,
      "name": "بإنتظار المراجعة",
      "slug": "under_review",
      "customized": {
        "id": 1503099289,
        "name": "بإنتظار المراجعة"
      }
    },
    "payment_method": "cod",
    "payment_methods": [
      {
        "amount": 0,
        "payment_method": "cod",
        "transaction_reference": null
      }
    ],
    "receipt_image": null,
    "currency": "SAR",
    "amounts": {
      "sub_total": {
        "amount": 200,
        "currency": "SAR"
      },
      "shipping_cost": {
        "amount": 0,
        "currency": "SAR",
        "original_cost": 0,
        "shipping_cost_discount": 0
      },
      "cash_on_delivery": {
        "amount": 9000,
        "currency": "SAR"
      },
      "tax": {
        "percent": "15.00",
        "amount": {
          "amount": 30,
          "currency": "SAR"
        }
      },
      "discounts": [],
      "total": {
        "amount": 230,
        "currency": "SAR"
      }
    },
    "exchange_rate": {
      "base_currency": "SAR",
      "exchange_currency": "SAR",
      "rate": "1.00000000"
    },
    "scope_exchange_rate": null,
    "campaign": {
      "medium": "",
      "source": "",
      "campaign": ""
    },
    "gateway": null,
    "show_weight": false,
    "shipping_status": "shipping_ready",
    "pending_payment_ends_at": 75598,
    "total_weight": "٢٤ كجم",
    "type": "normal",
    "is_overweighted": false,
    "has_customer_session": false,
    "features": {
      "shippable": true,
      "is_international": false,
      "internationally_shippable": false,
      "digitalable": false,
      "pickable": true,
      "multiple_shipments_supported": false,
      "order_type_price_quote": false,
      "has_suspicious_alert": false,
      "bullet_delivery": {
        "is_bullet_delivery": false,
        "bullet_countdown": 0,
        "on_demand_countdown": 0,
        "on_demand_delivery": false,
        "on_demand_timer": false
      },
      "wallet": true
    },
    "receiver": null,
    "actions": {
      "cancellable": false,
      "reorderable": true,
      "payable": false
    },
    "accepted_payment_methods": [
      ""
    ],
    "payment_actions": {
      "refund_action": {
        "refunded_transactions": [],
        "pending_refund_amount": null,
        "has_refund_amount": false,
        "payment_method_label": "دفع عند التسليم",
        "can_print_refund_invoice": false,
        "paid_amount": {
          "amount": 0,
          "currency": "SAR"
        },
        "refund_amount": {
          "amount": 0,
          "currency": "SAR"
        },
        "loyalty_point_programs": [],
        "can_send_sms": false,
        "can_send_sms_msg": "يرجى تفعيل احد مزودين خدمة SMS من صفحة ربط الخدمات",
        "can_refund_loyalty_prize_points": false,
        "can_restore_loyalty_buy_from_store_points": false,
        "can_refund_to_wallet": true
      },
      "remaining_action": {
        "has_remaining_amount": false,
        "payment_method_label": "دفع عند التسليم",
        "paid_amount": {
          "amount": 0,
          "currency": "SAR"
        },
        "checkout_url": "",
        "remaining_amount": null
      }
    },
    "address_incomplete": false,
    "customer": {
      "id": 1994632541,
      "full_name": "Mohammed Ahmed",
      "first_name": "Mohammed",
      "last_name": "Ahmed",
      "mobile": 557777777,
      "mobile_code": "+966",
      "email": "[email protected]",
      "urls": {
        "customer": "https://demostore.salla.sa/dev-qemdv5vldnohhhpq/account/profile",
        "admin": "https://s.salla.sa/customers/zAB3exRyLdXv5Wpk5lDarGg4p7Ej8ZKl"
      },
      "avatar": "https://cdn.assets.salla.network/prod/admin/cp/assets/images/avatar_female.png",
      "gender": "female",
      "birthday": {
        "date": "1987-08-12 00:00:00.000000",
        "timezone_type": 3,
        "timezone": "Asia/Riyadh"
      },
      "city": "الحميمة",
      "country": "السعودية",
      "country_code": "SA",
      "currency": "SAR",
      "location": "",
      "lang": "ar",
      "created_at": {
        "date": "2025-12-25 12:41:10.000000",
        "timezone_type": 3,
        "timezone": "Asia/Riyadh"
      },
      "updated_at": {
        "date": "2026-08-23 17:02:59.000000",
        "timezone_type": 3,
        "timezone": "Asia/Riyadh"
      },
      "type": "user",
      "groups": []
    },
    "notes": null,
    "fraud_reasons": [],
    "bank": null,
    "tags": []
  }
}
🟠422Error Validation
🟠401Unauthorized
Modified at 2026-09-21 14:04:21
Previous
Support
Next
Relocate Order Stock