Status Updates on Test Orders
Status Updates on Test Orders
In order to realize your test scenarios, you can update the statuses as "Shipped", "AtCollectionPoint", "Delivered", "UnDelivered" and "Returned" via the service below for the orders you have placed in the stage environment.
- This service is only used for the stage environment.
- SellerID must be sent in the Header. Its value should be the sellerId of the test seller you used.
- You need to use basic authentication with the sellerId you sent in the header.
- The statuses progress sequentially. For example, a package that is "Delivered" cannot be withdrawn to "AtCollectionPoint" and "Shipped" status.
| Status | Açıklama |
|---|---|
| Shipped | The package has been shipped |
| AtCollectionPoint | The package has reached the delivery point of the cargo company |
| Delivered | The package has arrived at the delivery point |
| UnDelivered | The package could not be delivered (the cargo has returned to the distribution center) |
| Returned | Package sent back |
Method PUT
Sample Service Request
{
"lines": [
{
"lineId": 4944785,
"quantity": 1
}
],
"params": {
},
"status": "Delivered"
}Sample Service Response
"200 OK";Return Test Orders to WaitingInAction Status
In order to realize your test scenarios, you can use the service below to notify the return status to the waitinginaction.
- This service is only used for the stage environment,
Method PUT
Sample Service Request
{
"shipmentPackageId": 56526451 // It corresponds to the "orderShipmentPackageId" value returned from the getClaims service.
}Sample Service Response
"200 OK";Updated 4 days ago