- 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 Review
Production
Production
PUT
https://api.salla.dev/admin/v2/reviews/{review_id}
Reviews
Last modified:2025-03-18 06:39:42
review_id
as a path parameter.Scopes
reviews.read_write
- Reviews Read & WriteRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Path Params
review_id
integerÂ
required
Example:
677156713
Body Params application/json
is_published
booleanÂ
optional
Example
{
"is_published": true
}
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 PUT 'https://api.salla.dev/admin/v2/reviews/677156713' \
--header 'Content-Type: application/json' \
--data-raw '{
"is_published": true
}'
Responses
🟢201Created Successfully
application/json
Body
status
numberÂ
optional
success
booleanÂ
optional
data
object (Reviews)Â
optional
id
numberÂ
required
type
enum<string>Â
required
Allowed values:
ratingaskshippingtestimonial
rating
numberÂ
required
content
stringÂ
required
order_id
number  | nullÂ
required
is_published
booleanÂ
required
created_at
stringÂ
required
customer
objectÂ
required
Example
{
"status": 200,
"success": true,
"data": {
"id": 1096828836,
"type": "ask",
"rating": 0,
"content": "A question",
"order_id": 677156713,
"is_published": true,
"created_at": "2023-11-01 15:32:31",
"customer": {
"id": 1227534533,
"name": "Ahmed Ali",
"mobile": 565555555,
"email": "[email protected]",
"avatar": "https://cdn.assets.salla.network/admin/cp/assets/images/avatar_male.png",
"country": "السعودية",
"city": "الرياض"
}
}
}
🟠401Unauthorized
Modified at 2025-03-18 06:39:42