文档中心 > Lazada Open Platform

Set order status to RTS

更新时间:2020/12/14 访问次数:1612

This tutorial guides you to retrieve new order of your shop, and with its order details and the products information in the order through Lazada API. When the order is packed and ready to ship, you would need to change the order status to Ready to Ship (RTS). This API enables you to change order status programatically.

The flow of API calls:

  • Get “OrderID” and “OrderItemID” of new order
  • Get Tracking number (for using Lazada’s shipping provider)
  • Print documents (e.g. shipping label, invoice, etc)
  • Set order status to “RTS”

Get OrderID and OrderItemID of new order

You can use GetOrders to retrieve a list of new orders and the order details. With Order ID of new order, you can use GetOrderItems to retrieve the product information of the order.

Tips :

  • Use the “CreatedAfter” parameter to filter newly created orders.
  • Use the “Limit” and “Offset” parameters to set the number of orders returned.
  • Save the order IDs.

Get Tracking number (for using Lazada’s shipping provider)

If you use Lazada’s shipping provider to deliver your order, you should use SetStatustoPackedByMarketplace to return a unique tracking number of the shipping provider selected.

If you use your own shipping provider, you would need to generate the tracking number per the shipping provider required format by yourself.

Print documents (e.g. shipping label, invoice, etc)

Use GetDocuments to get the document for the shipping label, invoice, etc.

Set order status of RTS

When you finish the packing of your order and it is ready to ship, you would need to use SetStatustoReadyToShip to change the order status to Ready to Ship (RTS).

image

FAQ

关于此文档暂时还没有FAQ
返回
顶部