Bulk Product Actions
Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
POST
https://api.salla.dev/admin/v2
Products
Last modified:2025-02-04 08:45:24
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.salla.dev/admin/v2/products/actions' \
--header 'Content-Type: application/json' \
--data-raw '{
"operations": [
{
"action_name": "duplicate"
},
{
"action_name": "sale-channels",
"value": {
"channels": [
"web",
"app"
]
}
},
{
"action_name": "features",
"value": {
"mahly_category_id": 5670235101,
"categories": [
537348185
],
"brand_id": 959852531,
"tags": [
1982584825
]
}
},
{
"action_name": "notify-quantity",
"value": {
"notify_quantity": 10,
"minimum_notify_quantity": 20,
"subscribers_percentage": 5
}
},
{
"action_name": "pricing",
"value": {
"column": "price",
"formula": "price - (price * amount /100 )",
"amount": 50,
"apply_on": "product"
}
}
],
"filters": {
"select_all": false,
"unselected_ids": [],
"ids": [
1661028235,
388819608
],
"categories": [
48702356,
12857436
],
"brands": [
716569785,
125713981
],
"wholesale": false,
"mahly": "unlinked",
"status": ["sale"],
"types": ["product", "digital"]
}
}'
Response Response Example
200 - Success
{
"status": 200,
"success": true,
"data": [
{
"operation_id": "9cde43d8-dbac-40f4-8d39-74a9443846b9",
"action_name": "notify-quantity",
"status": "in_progress"
},
{
"operation_id": "9cde43d8-dbba-47cd-98ed-23bb3aeee142",
"action_name": "mahly-category",
"status": "in_progress"
}
]
}
Request
Body Params application/json
Responses
Modified at 2025-02-04 08:45:24