- 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
Update Bulk Product Prices
Production
Production
POST
https://api.salla.dev/admin/v2/products/prices/bulkPrice
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
products
array [object {5}]Â
required
>= 1 items
price
numberÂ
required
Example:
500
cost_price
numberÂ
optional
Example:
550
sale_price
numberÂ
optional
Example:
600
sale_end
stringÂ
optional
Example:
2022-07-30
Example
{
"products": [
{
"id": 784769282,
"price": 500,
"cost_price": 550,
"sale_price": 600,
"sale_end": "2022-07-30"
}
]
}
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/prices/bulkPrice' \
--header 'Content-Type: application/json' \
--data-raw '{
"products": [
{
"id": 784769282,
"price": 500,
"cost_price": 550,
"sale_price": 600,
"sale_end": "2022-07-30"
}
]
}'
Responses
🟢201Created Successfully
application/json
Body
status
numberÂ
optional
success
booleanÂ
optional
data
objectÂ
optional
message
stringÂ
optional
code
numberÂ
optional
Example
{
"status": 201,
"success": true,
"data": {
"message": "The details has been queued to update, it may take several minutes to finish the process.",
"code": 201
}
}
🟠422Error Validation
🟠401Unauthorized
Modified at 2025-02-04 08:45:24