- 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/get
POST
/extension/total/promotion/get
Request
Body Params application/json
domain
string
required
api_key
string
required
auth_timestamp
integer
required
auth_signature
string
required
filter_name
string
optional
filter_title
string
optional
filter_type
string
optional
filter_status
integer
optional
filter_date_modified
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_name": "string",
"filter_title": "string",
"filter_type": "string",
"filter_status": 0,
"filter_date_modified": "string",
"page": 0,
"sort": "string",
"order": "string",
"limit": 0
}
Responses
🟢200Success
application/json
Body
error
array[string]
optional
total
integer
optional
promotions
array [object {16}]
optional
promotion_id
integer
required
name
string
required
title
string
required
total_promotion
boolean
required
type
string
required
status
boolean
required
sort_order
integer
required
configuration
object
required
total
number
required
total_use_limit
integer
required
total_used
integer
required
date_start
string
required
date_end
string
required
date_added
string
required
date_modified
string
required
categories
object
required
Example
{
"error": [
"string"
],
"total": 0,
"promotions": [
{
"promotion_id": 0,
"name": "string",
"title": "string",
"total_promotion": true,
"type": "string",
"status": true,
"sort_order": 0,
"configuration": {},
"total": 0,
"total_use_limit": 0,
"total_used": 0,
"date_start": "string",
"date_end": "string",
"date_added": "string",
"date_modified": "string",
"categories": {}
}
]
}
Modified at 2024-10-20 17:02:19