11. 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 send "storeFrontCode" as Header Parameter.
  • 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.
StatusAçıklama
ShippedThe package has been shipped
DeliveredThe package has arrived at the delivery point
UnDeliveredThe package could not be delivered (the cargo has returned to the distribution center)
ReturnedPackage 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";