- 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
Create Order History
Production
Production
POST
https://api.salla.dev/admin/v2/orders/{order_id}/histories
Order Histories
Last modified:2025-02-02 12:23:10
note
to the Order History, by passing the order_id
as a path parameter.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
order_id
integerÂ
required
Body Params application/json
note
stringÂ
required
Example
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/orders//histories' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200Success
application/json
Body
status
numberÂ
optional
success
booleanÂ
optional
data
object (POSTOrderHistory)Â
optional
id
numberÂ
required
status
stringÂ
required
customized
objectÂ
required
note
stringÂ
required
created_at
object (Date)Â
required
Example
{
"status": 200,
"success": true,
"data": {
"id": 1333127585,
"status": "مسترجع",
"customized": {
"id": 2062355698,
"name": "مسترجع",
"type": "custom",
"slug": "restored",
"original": {
"id": 989286562,
"name": "مسترجع"
},
"parent": {}
},
"note": "ملاØظة",
"created_at": {
"date": "2023-02-21 11:09:57.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
}
}
}
🟠422Error Validation
🟠401Unauthorized
Modified at 2025-02-02 12:23:10