GetOutboundOrder¶
Use this api to get sell outbound order details.
GET /openapi/warehouse-inventory/v1/sell-outbound-order/get
Request Parameters¶
Parameter | Type | Required | Description |
---|---|---|---|
orderId |
string |
true |
Ginee order id |
Response Parameters¶
Name | Type | Description |
---|---|---|
no |
string |
Outbound order no |
warehouseId |
string |
Warehouse id |
warehouseName |
string |
Warehouse name |
status |
string |
Outbound order status, (CREATE,PENDING,PART_COMPLETE,PART_INVALID,COMPLETE,INVALID) |
planAmount |
float |
Plan amount |
realAmount |
float |
Real amount |
planQuantity |
int |
Plan quantity |
realQuantity |
int |
Real quantity |
orderId |
string |
Ginee order id |
externalOrderSn |
string |
E-commerce market order id |
items |
array[] |
E-commerce market order id |
Items¶
Name | Type | Description |
---|---|---|
orderItemId |
string |
Order item id |
warehouseStock |
Long |
Warehouse stock |
availableStock |
Long |
Available stock |
status |
string |
Outbound order status, (CREATE,PENDING,PART_COMPLETE,PART_INVALID,COMPLETE,INVALID) |
masterVariationId |
string |
Master variation id |
warehouseInventoryId |
string |
Warehouse inventory id |
shelfInventoryId |
string |
Shelf inventory id |
masterSku |
string |
Master product sku |
masterVariationName |
string |
master variation Name |
planQuantity |
int |
Plan quantity |
realQuantity |
int |
Real quantity |
outQuantity |
int |
Out quantity |
planAmount |
float |
Plan amount |
realAmount |
float |
Real amount |
planPrice |
float |
Purchase unit price for planned outgoing shipments |
realPrice |
float |
Actual outgoing purchase unit prices |
Request Example¶
Example
curl --location --request POST '{Ginee Host}/openapi/warehouse-inventory/v1/sell-outbound-order/get?orderId={Ginee Order Id}' \
--header 'Content-Type: application/json' \
--header 'X-Advai-Country: ID' \
--header 'Authorization: Authorization: {Your Access Key} + ':' + signature'
Success
{
"code": "SUCCESS",
"message": "OK",
"data": [
{
"no": "So-1684825862429659136",
"warehouseId": "WW62BEF8F26522050001FB4921",
"warehouseName": "dsf测试仓库",
"status": "PENDING",
"planAmount": 2040.00,
"realAmount": 2040.00,
"planQuantity": 1,
"realQuantity": 1,
"orderId": "SO64C36BFA46E0FB0001822B4D",
"externalOrderSn": "mq20230728001",
"items": [
{
"orderItemId": "OI64C36BFA46E0FB0001822B50",
"availableStock": 102,
"warehouseStock": 111,
"status": "PENDING",
"masterVariationId": "MV63BA46F0DC0E82000171B9C8",
"warehouseInventoryId": "WI64632D6AE21B840001E99622",
"shelfInventoryId": "SI64632D6AE21B840001E99623",
"masterSku": "WYMLQ01",
"masterVariationName": "Dasin Model x 942 Toys BLEACH Anime - Ichigo Kurosaki Hollow Zangetsu Version",
"planQuantity": 1,
"realQuantity": 1,
"outQuantity": 0,
"planAmount": 2040.00,
"realAmount": 2040.00,
"planPrice": 2040.00,
"realPrice": 2040.00
}
]
}
],
"extra": null,
"pricingStrategy": "PAY"
}
Parameter error
{
"code": "SUCCESS",
"message": "OK",
"data": [],
"extra": null,
"pricingStrategy": "PAY"
}