Note:DBS (Delivery By Seller) is a method by which the seller is in control of its entire handling, shipping process, and settlement with 3PLs(Third party logistics providers). Instead of using Miravia official logistics service, the seller uses its own logistics partners and delivers the order to buyers directly.
This tutorial will show you how to identify DBS type orders and use the Miravia fulfillment API to ship them.
You can use GetOrders to retrieve a list of new orders and the order details. With Order ID of new order, you can useGetOrderItems to retrieve the product information of the order.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | { "data" : [ { ...... "order_item_id" : 33247176004 , ...... "order_id" : 33247076004 , "status" : "pending" , "warehouse_code" : "dropshipping" , "shipping_type" : "Dropshipping" , "created_at" : "2022-08-01 14:47:30 +0800" , "delivery_option_sof" : 1 , "updated_at" : "2022-08-01 14:48:46 +0800" , "currency" : "EUR" , "shipping_provider_type" : "seller_own_fleet" . ...... } ], "code" : "0" , "request_id" : "21038f5516593373640451144" } |
Use the order item ids and order ids obtained in the first step to call the Pack API to pack the order item ids into a package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | { "result" : { "data" : { "pack_order_list" : [ { "order_item_list" : [ { "order_item_id" : 33247176004 , "item_err_code" : "0" , "tracking_number" : "SOF_33247076004" , "shipment_provider" : "Delivered by Seller" , "package_id" : "FP0900221001" , "retry" : false }, { "order_item_id" : 33247176005 , "item_err_code" : "0" , "tracking_number" : "SOF_33247076004" , "shipment_provider" : "Delivered by Seller" , "package_id" : "FP0900221001" , "retry" : false } ], "order_id" : 33247076004 } |
You would need to call GetDBSShipmentProviders API to get the DBS shipping provider list to update the actual shipping provider of each parcel. Because you use the DBS method of shipping, the Miravia system will not automatically sense your package information.
{"sellerId":4000000176001}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | { "result" : { "data" : { "shipment_providers" : [ { "name" : "Correos EXPRESS" , "provider_code" : "DBSSP100000016" }, { "name" : "SF3" , "provider_code" : "DBSSP100000009" } ] }, "success" : true }, "code" : "0" , "request_id" : "211b500616593381296471086" } |
DBSShipmentProviders List
Name |
Trace Website |
Tracking Number Regex |
Correos EXPRESS |
https://s.correosexpress.com/SeguimientoSinCP/search;jsessionid=UB6X2jZ4t2Aequ9T1DZ5OSkjNSItC2NOoJAq8Dz2.seguimientosincp-cex-677dc6d959-k778q |
^([0-9]{16}|[0-9]{23})$ |
SEUR |
https://www.seur.com/miseur/mis-envios/detalle?tracking= |
^([0-9a-zA-Z]{5,36})$ |
GLS(Inc.ASM) |
https://mygls.gls-spain.es/parcel-tracking |
^([0-9a-zA-Z]{5,36})$ |
MRW |
https://www.mrw.es/seguimiento_envios/MRW_seguimiento_envios.asp |
^([0-9a-zA-Z]{5,36})$ |
Correos Spain |
http://www.correos.es/ |
^([0-9a-zA-Z]{5,36})$ |
UPS |
https://www.ups.com/track?loc=es_ES&requester=ST/ |
^([0-9a-zA-Z]{18}|[0-9]{12}|[0-9a-zA-Z]{11}|[0-9]{9})$ |
TIPSA |
https://www.tip-sa.com/es/localizacion-envios |
^([0-9a-zA-Z]{5,36})$ |
ENVIALIA |
https://www.envialia.com/seguimiento/ |
^([0-9a-zA-Z\/]{1,36})$ |
NACEX |
https://www.nacex.es/recargarPagina.do?pagina=0 |
^([0-9a-zA-Z\/]{1,36})$ |
ZELERIS |
https://www.zeleris.com/busqueda-envio.aspx |
^([0-9a-zA-Z]{18})$ |
ICP |
https://www.onlinecargotracking.com/icp-logistica-tracking/ |
^([a-zA-Z]{2}[0-9]{8})$ |
CTT EXPRESS |
https://www.cttexpress.com/home/index |
^[0-9]{22}|[0-9a-zA-Z]{13}$ |
T.W.S. Express Courier |
https://www.mytws.it/ |
^([0-9a-zA-Z]{5,36})$ |
La Poste |
http://www.laposte.fr/ |
^([0-9a-zA-Z]{5,36})$ |
Chronopost France |
http://www.chronopost.fr/ |
^([0-9a-zA-Z]{5,36})$ |
Asendia |
http://www.asendia.com/ |
^([0-9a-zA-Z]{5,36})$ |
DPD (FR) |
http://www.dpd.fr/ |
^([0-9a-zA-Z]{5,36})$ |
Bpost |
https://track.bpost.cloud/ |
^([0-9a-zA-Z]{5,36})$ |
PostNL |
https://www.postnl.nl/ |
^([0-9a-zA-Z]{5,36})$ |
Poste Italiane |
http://www.poste.it/ |
^([0-9a-zA-Z]{5,36})$ |
Hermes |
https://www.hermesworld.com/ |
^([0-9a-zA-Z]{5,36})$ |
4PX |
https://www.4px.com/ |
^([0-9a-zA-Z]{5,36})$ |
DHL Express |
http://www.dhl.com/ |
^([0-9a-zA-Z]{5,36})$ |
TNT |
http://www.tnt.com/ |
^([0-9a-zA-Z]{5,36})$ |
SF Express |
https://www.sf-express.com/ |
^([0-9a-zA-Z]{9,15})$ |
SF Express |
http://intl.sf-express.com/ |
^([0-9a-zA-Z]{1,36})$ |
Flyt Express |
http://www.flytexpress.com/ |
^([0-9a-zA-Z]{1,36})$ |
Singapore Post |
http://www.singpost.com/ |
^([0-9a-zA-Z]{1,36})$ |
TOPYOU |
https://www.szty56.com/ |
^([0-9a-zA-Z]{1,36})$ |
SunYou |
http://www.sypost.com/ |
^([0-9a-zA-Z]{1,36})$ |
China Post Air Parcel |
http://yjcx.ems.com.cn/ |
^([0-9a-zA-Z]{1,36})$ |
YANWEN |
http://www.yw56.com.cn/ |
^([0-9a-zA-Z]{1,36})$ |
Sending |
https://www.sending.es/localiza-tu-envio/ |
^([0-9a-zA-Z]{5,36})$ |
Amazon Logistics |
https://track.amazon.in/ |
^([0-9a-zA-Z]{5,36})$ |
ZTT |
http://zhiteng.biz/ |
^([0-9a-zA-Z]{1,36})$ |
Closer Logistics |
https://tracking.closerlogistics.com/ |
^([0-9a-zA-Z]{5,36})$ |
Others |
https://www.miravia.es/ |
^([0-9a-zA-Z]{5,36})$ |
Paack |
https://mydeliveries.paack.app/tracking |
^([0-9a-zA-Z\-]{1,36})$ |
On Time |
https://ontime.es/ |
^([0-9a-zA-Z]{5,36})$ |
Celeritas |
https://celeritastransporte.com/en/ |
^([0-9a-zA-Z]{5,36})$ |
DHL Parcel |
https://www.dhl.com/es-en/home/our-divisions/parcel/home/private-shipments/tracking-shipments.html |
^([0-9a-zA-Z]{5,36})$ |
BRT Bartolini |
http://www.brt.it/ |
^([0-9a-zA-Z]{5,36})$ |
Cubyn |
https://track.cubyn.com/ |
^([0-9a-zA-Z]{5,36})$ |
Redur |
https://redur.es/track-trace/ |
^([0-9a-zA-Z]{5,36})$ |
DPD(PL) |
https://www.dpd.com.pl/ |
^([0-9a-zA-Z]{5,36})$ |
Fedex |
https://www.fedex.com/es-es/tracking.html |
^([0-9a-zA-Z]{5,36})$ |
DPD (NL) |
https://www.dpd.com/nl/nl/ |
^([0-9a-zA-Z]{5,36})$ |
Transaher |
https://transaher.es/en/ |
^([0-9a-zA-Z]{5,36})$ |
Transaher |
https://transaher.es/en/ |
^([0-9a-zA-Z\/_]{1,36})$ |
DPD(BE,NL) |
https://www.dpd.com/be/nl/ |
^([0-9a-zA-Z]{5,36})$ |
Cainiao |
https://www.cainiao.com/ |
^([0-9a-zA-Z]{5,36})$ |
DPD_DE |
http://www.dpd.com/ |
^([0-9a-zA-Z]{5,36})$ |
DPD_FR |
http://www.dpd.fr/ |
^([0-9a-zA-Z]{5,36})$ |
Call the UpdateTrackingInfo API to upload your actual tracking number and shipping provider.
1 2 3 4 5 6 7 8 9 | { "update_packages" : [ { "tracking_number" : "9356463170722110" , "package_id" : "FP0900221001" , "shipment_provider_code" : "DBSSP100000016" } ] } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | { "result" : { "data" : { "packages" : [ { "item_err_code" : "0" , "package_id" : "FP0900221001" , "retry" : false } ] }, "success" : true }, "code" : "0" , "request_id" : "211b500616593388491761088" } |
Call ReadyToShip API to update the order to RTS status.
{"packages":[{"package_id":"FP0900221001"}]}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | { "result" : { "data" : { "packages" : [ { "item_err_code" : "0" , "package_id" : "FP0900221001" , "retry" : false } ] }, "success" : true }, "code" : "0" , "request_id" : "211b500616593408382921092" } |
After your shipping provider have delivered the DBS parcels and buyers have accepted them , then you need to trigger parcels as delivered status through ConfirmDeliveryForDBS API .
If your shipping provider fail delivery the DBS parcels , then you need to trigger the parcels as failed delivered stauts through FailedDeliveryForDBS API.
{"packages":[{"package_id":"FP0900221001"}]}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | { "result" : { "data" : { "packages" : [ { "item_err_code" : "0" , "package_id" : "FP0900221001" , "retry" : false } ] }, "success" : true }, "code" : "0" , "request_id" : "211b500616593408382921092" } |