- 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 Custom Order Status
Production
Production
PUT
https://api.salla.dev/admin/v2/orders/statuses/{status_id}
Order Status
Last modified:2025-02-02 12:23:10
status_id
as a path parameter.Note
Important
Scopes
orders.read_write
- Orders Read & WriteRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Path Params
status_id
integer
required
Body Params application/json
name
string
optional
Example:
تبقى 40 دقيقة على الدفع
message
string
optional
Example:
أكمل الدفع الان
icon
string
optional
Example:
sicon-cup-hot
sort
integer
optional
Example:
3
is_active
boolean
optional
Default:
true
Example
{
"name": "تبقى 40 دقيقة على الدفع",
"message": "أكمل الدفع الان",
"icon": "sicon-cup-hot",
"sort": 3,
"is_active": 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/orders/statuses/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "تبقى 40 دقيقة على الدفع",
"message": "أكمل الدفع الان",
"icon": "sicon-cup-hot",
"sort": 3,
"is_active": true
}'
Responses
🟢200Success
application/json
Body
status
number
optional
success
boolean
optional
data
object (OrderStatuses)
optional
id
number
required
List of order statuses can be found here
Example:
863076598
name
string
required
Example:
في انتظار الدفع
type
enum<string>
required
Allowed values:
originalcustom
Example:
custom
slug
string
required
Example:
payment_pending
message
string
required
Example:
[ {store.name} ] \\n أصبحت حالة طلبك {order.id} {status}
color
string
required
Example:
#58C9B9
icon
string
required
Example:
sicon-gold-badge
sort
number
required
Example:
0
is_active
boolean
required
Default:
true
original
object | null
required
parent
object | null
required
children
array [object {9}] | null
required
Example
{
"status": 200,
"success": true,
"data": {
"id": 224309239,
"name": "حنراجع طلبك",
"type": "custom",
"slug": "under_review",
"message": "حنراجع طلبك وقد تستغرق المراجعة 24 ساعة كحد أقصى",
"color": "#ED696D",
"icon": "sicon-back",
"sort": 5,
"is_active": true,
"original": {
"id": 566146469,
"name": "بإنتظار المراجعة"
},
"parent": {},
"children": []
}
}
🟠422Error Validation
🟠404Not Found
🟠401Unauthorized
Modified at 2025-02-02 12:23:10