API Chazki

v1.0.0
API Base URL
Tonny Beta:https://us-central1-chazki-link-beta.cloudfunctions.net
Tonny Production:https://us-central1-chazki-link.cloudfunctions.net

In order to place orders for Chazki's services, endpoints were enabled to record the delivery and check the orders status. These services are registered in the domain owned by chazki and are detailed in the section below. Find out more about Chazki here. See also our

StatusDescription
NEWShipment created but without any management.
PICKUPShipping is located to assign a route to pick up.
GOTO_PICKOn the way to be picked up (the delivery person is going to the pick-up point).
ARRIVED_PICKThe driver (chazki) is located at the pick-up point/place.
PICKINGThe package was picked up.
FAILED_PICKFailed to pick up the package.
COLLECTEDPackage(s) collected, found in Chazki's possession.
GOTO_DELIVEROn the way to be delivered (the delivery person is going to the destination of delivery).
ARRIVED_DELIVERThe delivery person is at the place/point of delivery.
DELIVEREDThe shipment was completed.
FAILED_DROPFailed to deliver the package.
RETURNEDShipping management returned to the customer.
CANCELEDShipping cancelled.

To access the notification mechanism via webhooks, you must tell us what will be the url to which the status change notifications of an order will be sent.

It is important that the hook URL must start with the protocol (https) and take into account Note that all pushes will be of type POST. All webhooks expect a response with code 200.

It is recommended that the response with code 200 be done asynchronously to avoid timeout errors.

This information will be sent each time the status of a shipment is updated and will be sent with the following body:

{
"delivery_code": "4957783420",
"delivery_status": "DELIVERED",
"timestamp": "2022-02-04T22:44:30.652Z",
"url_delivery_code": "https://nintendo.chazki.com/trackcodeTracking/4957783420"
}