Order Actions

POST {{baseUrl}}/orders/actions

This endpoint allows you to perform bulk actions on the orders related to the store. Find the actions that can be performed in the action_name variable's enum values.

::: caution 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 :::

orders.read_write - Orders Read & Write

Request Body

{"operations"=>[{"action_name"=>"print_prepare_list", "value"=>["<string>", "<string>"]}, {"action_name"=>"resend_codes", "value"=>["<string>", "<string>"]}], "filters"=>{"order_ids"=>["<integer>", "<integer>"], "order_status"=>["<integer>", "<integer>"]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cinteger\u003e&quot;,&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;data&quot;:[{&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;action_name&quot;:&quot;delete&quot;,&quot;operation_id&quot;:&quot;\u003cstring\u003e&quot;},{&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;action_name&quot;:&quot;export&quot;,&quot;operation_id&quot;:&quot;\u003cstring\u003e&quot;}]}