Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Orders
  • 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
      • 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 Tags
      • Create Order Tag
      • List Order Tags
      • Delete Order Tag
    • Order Invoice
      • Create Invoice
      • List Invoices
      • Invoice Details
      • Send Order Invoice
      • Create Order Invoice
    • Order Reservations
      • List Order Reservations
    • Order Items
      • List Order Items
      • Create Order Item
      • Update Order Item
      • Delete Order Item
    • 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
    • Product Options
      • Create Product Option
      • Product Option Details
      • Update Product Option
      • Delete Product Option
    • Product Quantity
      • List Product Quantities
      • Update Bulk Quantities
      • List Quantity Change Reasons
      • List Quantity Audit
      • Update Bulk Quantities by SKU
      • Update Quantity
      • Update Quantity By SKU
    • Product Variants
      • List Product Variants
      • Product Variant Details
      • Update Product Variant
      • Update Product Variant Quantity
    • Product Tags
      • Create Product Tag
      • List Product Tags
    • 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
    • Abandoned Carts
      • List Abandoned Carts
      • Abandoned Cart Details
    • Customer Groups
      • Create Customer Group
      • List Customer Groups
      • Add Customers To Group Customer
      • Update Default Customer Group
      • Update Customer Group
      • Delete Customer Group
    • Customers
      • Create Customer
      • List Customers
      • Customer Details
      • Update Customer
      • Delete Customer
      • Ban Customer
      • Un-Ban customer
      • Import Customers
    • Digitals Product
      • Attach Digital Code
      • Attach Digital File
      • Delete Digital File
    • Categories
      • Create Category
      • List Categories
      • Category Details
      • Update Category
      • Delete Category
      • Category Children
      • Categories Search
      • List Category Products
    • 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
    • Shipments
      • Create Shipment
      • List Shipments
      • Shipment Details
      • Shipment Tracking
      • Update Shipment Details
      • Cancel Shipment
      • Return Shipment
    • Shipping Companies
      • List Shipping Companies
      • Shipping Company Details
      • List Estimate Rates
      • Create Shipping Company
      • Update Shipping Company
      • Delete Shipping Company
      • Shipping Company Options
    • Shipping Zones
      • Create Shipping Zone
      • List Shipping Zones
      • Shipping Zone Details
      • Update Shipping Zone
      • Delete Shipping Zone
    • Shipping Rules
      • List Shipping Rules
      • Shipping Rule Details
      • Delete Shipping Rule
    • Countries
      • List Countries
      • Country Details
    • Product Option Templates
      • List Option Templates
      • Option Template Details
      • Delete Option Template
      • Update Option Template
      • Create Option Template
    • Taxes
      • Create Tax
      • List Taxes
      • Tax Details
      • Update Tax
      • Delete Tax
    • Coupons
      • Create Coupon
      • List Coupons
      • Coupon Details
      • Update Coupon
      • Delete Coupon
      • List Coupon Codes
    • Affiliates
      • List Affiliates
      • Affiliate Details
      • Create Affiliate
      • Update Affiliate
      • Delete Affiliate
    • Order Assignment
      • List Auto Assignment Rules
      • Order Assigned Employees Details
      • Update Auto Assignment Rule
      • Create Auto Assignment Rules
    • Special Offers
      • Create Special Offer
      • List Special Offers
      • Special Offer Details
      • Update Special Offer
      • Delete Special Offer
      • Change Special Offer Status
    • Transactions
      • List Transactions
      • Transaction Details
      • Update Transaction
    • Payments
      • Available Payment Methods
      • List Banks
      • Payment Bank Details
    • Settlements
      • List Instant Settlements
      • Create Instant Settlement
      • Update Instant Settlement
      • Instant Settlement Details
    • Settings
      • Settings List
      • Update Setting Slug
      • Setting Details
    • Merchant
      • User Information Details
      • Store Information
    • Brands
      • Create Brand
      • List Brands
      • Brand Details
      • Update Brand
      • Delete Brand
    • Branches
      • Create Branch
      • List Branches
      • Branch Details
      • Update Branch
      • Delete Branch
    • Currencies
      • Activate Currencies
      • List Currencies
      • List Available Currencies
    • SEO
      • List SEO Settings
      • Update SEO Settings
    • Cities
      • List Cities
    • 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
      • List Active Webhooks
      • List Events
      • Register Webhook
      • Deactivate Webhook
      • Update Webhook
    • Custom URLs
      • Import Custom URLs
    • Loyalty Points
      • Customer Loyalty Points
      • Update Customer Loyalty Points
    • Reviews
      • List Reviews
      • Review Details
      • Update Review
  • Webhooks - Store Events
    • Order
    • Product
    • Customer
    • Shippings
    • Shipments
    • Brand
    • Invoice
    • Category
    • Store
    • Special Offer
    • Cart
    • Miscellaneous
  1. Orders

Order Actions

Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
POST
https://api.salla.dev/admin/v2
/orders/actions
Orders
Last modified:2025-03-24 08:57:10
This endpoint allows you to perform bulk actions on the orders related to the store.
Tip
Find the actions that can be performed in the action_name variable's enum values.
Important
Some order actions are not to be triggered on the same request. Otherwise, you will get an error response. Below are an example of some of the actions that cannot be run together at the same time:
create_shipping_policy
print_shipping_policy
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
operations
array [object {2}] 
required
action_name
enum<string> 
required
The actions to be conducted in bulk, which the value can only be from the enum list mentioned.
Allowed values:
create_shipping_policycreate_return_policyprint_shipping_policycancel_policyassign_usersexportassign_tagschange_statusprint_prepare_listprint_invoicesend_invoiceprint_invoice_summarysend_payment_linkextend_payment_dueresend_codessend_ratingmark_as_readrefunddelete
value
array [anyOf] 
optional
Value can either be an object, an array of strings or array of integers. This variable is not required for some actions, such as print_prepare_list, but required in some other actions, such as change_status
filters
object 
required
order_ids
array[integer]
optional
List of Order IDs. Fetch a list of orders from here
order_status
array[integer]
optional
List of Order Statuses. Fetch a list of orders statuses from here
Example
{
  "operations": [
    {
      "action_name": "print_prepare_list"
    },
    {
      "action_name": "change_status",
      "value": {
        "status": 525144736,
        "send_status_sms": true,
        "return_police": true,
        "restore_items": true,
        "note": "one note",
        "branch_id": 21123
      }
    },
    {
      "action_name": "assign_users",
      "value": [
        461258256,
        1968921873
      ]
    },
    {
      "action_name": "assign_tags",
      "value": [
        "new tag",
        "tag 3"
      ]
    }
  ],
  "filters": {
    "order_ids": [
      1296837389,
      1936133132
    ],
    "order_status": [
      3,
      5
    ]
  }
}

Request 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 --request POST 'https://api.salla.dev/admin/v2/orders/actions' \
--header 'Content-Type: application/json' \
--data-raw '{
    "operations": [
        {
            "action_name": "print_prepare_list"
        },
        {
            "action_name": "change_status",
            "value": {
                "status": 525144736,
                "send_status_sms": true,
                "return_police": true,
                "restore_items": true,
                "note": "one note",
                "branch_id": 21123
            }
        },
        {
            "action_name": "assign_users",
            "value": [
                461258256,
                1968921873
            ]
        },
        {
            "action_name": "assign_tags",
            "value": [
                "new tag",
                "tag 3"
            ]
        }
    ],
    "filters": {
        "order_ids": [
            1296837389,
            1936133132
        ],
        "order_status": [
            3,
            5
        ]
    }
}'

Responses

🟢200Success
application/json
Body
status
integer 
optional
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
success
boolean 
optional
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
data
array[object (BulkActions) {4}] 
optional
operation_id
string 
required
A unique identifier assigned to a specific operation or task within a system.
action_name
enum<string> 
required
Action name
Allowed values:
create_shipping_policyprint_shipping_policyassign_usersexportassign_tagschange_statusprint_prepare_listdeleterefund
status
string 
required
Action performed status
message
string 
required
In the case of action failure, textual message will appear
Example
{
  "status": 200,
  "success": true,
  "data": [
    {
      "operation_id": "9c248334-f4cb-491b-84d0-57c415347d34",
      "action_name": "print_prepare_list",
      "status": "in_progress"
    },
    {
      "operation_id": "9c248334-f4cb-491b-84d0-57c415347dd5",
      "action_name": "change_status",
      "status": "in_progress"
    },
    {
      "operation_id": "9c248336-0080-440f-a936-68ee195e4139",
      "action_name": "assign_users",
      "status": "success"
    },
    {
      "operation_id": "9c1ab67e-fd53-47da-a4d1-12cd69f7b656",
      "action_name": "assign_tags",
      "status": "failed",
      "message": "لم يتم العثور على التاقات "
    }
  ]
}
🟠422Error Validation
🟠401Unauthorized
Modified at 2025-03-24 08:57:10
Previous
Duplicate Order
Next
Order Status