- 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
- Order Status
- Order Histories
- Order Tags
- Order Invoice
- Order Reservations
- Order Items
- Products
- Product Options
- Product Quantity
- Product Variants
- Product Tags
- Product Images
- Product Option Values
- Abandoned Carts
- Customer Groups
- Customers
- Digitals Product
- Categories
- Exports
- Shipments
- Shipping Companies
- Shipping Zones
- Shipping Rules
- Countries
- Product Option Templates
- Taxes
- Coupons
- Affiliates
- Order Assignment
- Special Offers
- Transactions
- Payments
- Settlements
- Settings
- Merchant
- Brands
- Reviews
- Branches
- Currencies
- SEO
- Cities
- DNS Records
- Languages
- Employees
- Advertisements
- Webhooks
- Custom URLs
- Loyalty Points
- Webhooks - Store Events
Bulk Product Actions
Production
Production
POST
https://api.salla.dev/admin/v2/products/actions
Products
Last modified:2025-02-04 08:45:24
Scopes
products.read_write
- Products Read & WriteRequest
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>Â
optional
Allowed values:
duplicatesale-channelsfeaturesnotify-quantitypricing
value
objectÂ
optional
filters
objectÂ
required
select_all
booleanÂ
optional
unselected_ids
array[string]
optional
ids
array[integer]
optional
categories
array[string]
optional
brands
array[string]
optional
wholesale
booleanÂ
optional
mahly
enum<string>Â
optional
Allowed values:
linkedunlinked
status
array[string]
optional
Allowed values:
hiddenoutsalenone
types
array[string]
optional
Allowed values:
productservicegroup_productsfinancial_supportcodesdigitalfooddonatingbooking
Example
{
"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"
]
}
}
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/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"]
}
}'
Responses
🟢200Success
application/json
Body
status
numberÂ
required
success
booleanÂ
required
data
array[object (BulkProductActions) {3}]Â
required
operation_id
stringÂ
required
action_name
stringÂ
required
status
stringÂ
required
Example
{
"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"
}
]
}
🟠422Validation Error
🟠401unauthorized
Modified at 2025-02-04 08:45:24