Status Changes Report

POST {{target-endpoint}}

Request

This endpoint is used to send a POST request to the target endpoint of your service. The request payload is in raw (JSON) format and includes a tracking number along with a list of events, each of which contains the event date, time zone, status code, and status description.

The following list shows the catalog of possible statuses to report. Please select the ones that best suit your requirements and communicate them with the Moovin Technology team for proper integration:

Status CodeStatus Description
INSERTPackage inserted into an order
PICKUPPick up the package from the client
INMOOVINEntering Moovin headquarters
EXITMOOVINLeaving Moovin headquarters
ASSINGROUTEAssigned to a route
ASSINGMOOVERAssigned to a Moover
DELIVEREDThe package was delivered
FAILEDDelivery failed
GIVEBACKIn transit to the client's headquarters
INROUTEIn possession of a Moover
COLLECTMOOVERWhen the Moover collected the package
RELEASEWhen a package is to be released
INSERVICEWhen in service
RETURNRequest for package return
SCHEDULEScheduled
CANCELCancel
CANCELREQUESTRequest for package cancellation
PREPAREPackage that needs to be prepared
SENDSERVICESent to on-demand contest
INROUTEPICKUPCoordinated for delivery
COORDINATEPackage in route to be picked up
DELIVEREDCOMPLETEComplete delivery
DELIVEREDINCOMPLETEIncomplete delivery
REVIEWDOCSDocument review
COLLECTPICKUPMoover collects a package
DELETEPACKAGEWhen a package is to be deleted to avoid actions on it
CHANGEPARAMETERSParameter changes
ASSIGNDRAWERAssigned to a drawer
REVIEWPackage review for anomalies
CHANGECONTACTPOINTChange in contact information of a package point
CUSTOMSENTRYPackages entered customs
CUSTOMINSPECTIONInspected by customs
DELAYCUSTOMCustoms delay
CUSTOMSCLEAREDCustoms duties declared
CUSTOMSREALEASEReleased by customs
OUTCOUNTRYInternational shipment
PRECOORDINATIONSENDPre-coordination email sent
CONFIRMEDPRECOODINATIONClient confirms delivery location

Response

The response to this request can be documented as a JSON schema.

ColumnData typeDescription
codeintResponse Code
messagestring(255)Response message

Response Codes

codemessageHTTP Status Code
201SUCCESS201
400INCORRECT_REQUEST400
401UNAUTHORIZED401
404ORDERDOESNOT_EXISTS404
500SERVER_ERROR500

Example:

{
    "code": 201,
    "message": "SUCCESS"
}

Request Body

{"tracking_number"=>"EX000000001", "events"=>[{"event_date"=>"2020-12-12 15:59:59", "time_zone"=>"+00:00", "status_code"=>"INMOOVIN", "status_description"=>"Entrar en la sede de moovin"}, {"event_date"=>"2020-12-12 18:26:59", "time_zone"=>"+00:00", "status_code"=>"ASSINGROUTE", "status_description"=>"Asignado a una ruta"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring