Get Warehouse Order Detail
Get Warehouse order detail information
- cURL
- JavaScript
curl --request GET \
--url https://apistg.ahamove.com/api/v1/partner/warehouse/order/{_id} \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <Token STG>'
var myHeaders = new Headers();
myHeaders.append('Content-Type', 'application/json');
myHeaders.append('Authorization', 'Bearer <Token STG>');
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow',
};
fetch(
'https://apistg.ahamove.com/api/v1/partner/warehouse/order/{_id}',
requestOptions
)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.log('error', error));
HTTP Request
GET https://apistg.ahamove.com/api/v1/partner/warehouse/order/{_id}
Authorization
| Key | Value | Description |
|---|---|---|
| Authorization | Bearer <TOKEN_STG> | The user Token |
Header
| Key | Value |
|---|---|
| Content-Type | application/json |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| _id | String | True | Warehouse order ID (PARTNER_ABCXXXXXXXX) |
Response
JSON response example:
{
"_id": "PARTNER_ABCXXXXXXXX",
...# order detail
}
Status-Code: 200 OK
Errors
| Code | Text | Description |
|---|---|---|
404 | Not Found | Token not found |
401 | Unauthorized | Unauthorized |
500 | Internal Server Error | We had a problem with our server. Try again later |
503 | Service Unavailable | We're temporarily offline for maintenance. Please try again later |