- Getting Started
- Extension
- Dashboard
- Module
- Report
- Total
- Integration
- Channel
- Extension
- Profile
- Inventory
- Addition
- Brand
- Category
- Deduction
- Flow
- Item
- Location
- Purchase Order
- Reservation
- Stock Take Job
- Supplier
- Transfer Job
- Transfer
- Sale
- Setting
extension/total/promotion/getHistory
POST
/extension/total/promotion/getHistory
Request
Body Params application/json
domain
string
required
api_key
string
required
auth_timestamp
integer
required
auth_signature
string
required
filter_promotion_id
integer
optional
filter_date_added
string
optional
page
integer
optional
sort
string
optional
order
string
optional
limit
integer
optional
Example
{
"domain": "string",
"api_key": "string",
"auth_timestamp": 0,
"auth_signature": "string",
"filter_promotion_id": 0,
"filter_date_added": "string",
"page": 0,
"sort": "string",
"order": "string",
"limit": 0
}
Responses
🟢200Success
application/json
Body
error
array[string]
optional
total
integer
optional
histories
array [object {6}]
optional
promotion_history_id
integer
required
promotion_id
integer
required
customer_id
integer
required
order_id
integer
required
total
number
required
date_added
string
required
Example
{
"error": [
"string"
],
"total": 0,
"histories": [
{
"promotion_history_id": 0,
"promotion_id": 0,
"customer_id": 0,
"order_id": 0,
"total": 0,
"date_added": "string"
}
]
}
Modified at 2024-10-20 17:10:19