Get order status
GET/?action=status
Response example
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "THB"
}
Request
Query Parameters
key stringrequired
API key
action stringrequired
status
order int32required
Order ID
Responses
- 200
- 422
- application/json
- Schema
- Example (from schema)
Schema
start_count int32
Start count of the order
remains int32
Remaining quantity
currency Currency (string)
Possible values: [THB
]
Default value: THB
charge float
Amount in THB.
status OrderStatus (string)
Possible values: [Pending
, Processing
, In progress
, Completed
, Partial
, Canceled
, Processed
, Failed
]
Order status
{
"start_count": 0,
"remains": 0,
"currency": "THB",
"status": "Pending"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
error string
Error message
{
"error": "string"
}
Loading...