Update Order Tracking Status

Example Request

{
"status":"shipping_informed",
"shipments":
 [{"id":"606b87e9e7cb7f1d4d5f8d33",  
"shipping_company":"Correios",
"shipping_method":"PAC",
"track_code":"11111",
"track_url":"http://correios.com.br",
"status":"shipped",
"date_shipped":"2021-02-01"
}]
}

Attention

It is important to send the id attribute to avoid duplicating delivery in the order.

Reason for update failure

When you return the error:

{
    "error": true,
    "type": "not_updated",
    "message": "An error occurred, see details for more information.",
    "details": "Changes not found in the order"
}

It means that the order is already updated in the API Plugg.to, and it is not possible to send the same status.

Request object has the following properties:

FieldTypeDescription
idstringId created in shipments after invoice update
shipping_companystringShipping company
shipping_methodstringOrder shipping method
track_codestringPackage Tracking Number
track_urlstringPackage Tracking URL
status (1)stringOrder update status
status (2)stringShipping action status
date_shippedstringDate shipped
Language
Click Try It! to start a request and see the response here!