Webhook 1: Job Tracking Statuses

The InstaLeap Job Tracking Webhook provides a simple way to track all the changes of the jobs you created. Remember that a webhook works like a reverse API and you would have to provide a POST URL in which our systems are going to notify the changes.

Why?

In some steps of the fulfillment process, InstaLeap and your systems would need to communicate and react to certain changes. For example, to confirm the payment of the order and unblock a picker.

You can add up to 3 Webhooks to receive Job Notifications.

Events

Events are composed by type (take a look at the request payload), id, and job.

Event types

InstaLeap webhooks events have different types, that allow you to identify why the job has changed. They are also differentiated by category. The possible categories and their event types are:

Job-level events (Order)

  • CREATED : the order was created in Instaleap system
  • CANCELLED : the order was cancelled in Instaleap system
  • RESCHEDULED : the order was rescheduled to a different slot
  • ALLOCATED : a resource was assigned to the order in a specific task for the first time
  • RE_ALLOCATED : for the above order a new resource was assigned to the order and the last one was removed
  • EXTERNAL_DATA_UPDATED : External data object in order's payload was updated trough API
  • STORE_CHANGED : Event that is caused by the movement of the order to a different store for all logistical process.
  • JOB_COMMENT_UPDATED : The comment related with the job has changed

Picking process

  • ITEMS_UPDATED : Any change at item level has occurred (additions, removals, quantities updated)
  • PACKAGES_CREATED : Creation of packages in the process of enlistment or picking of the order.
  • PACKAGES_UPDATED : Updating of items within previously created packages.

Invoicing process

  • INVOICE_UPDATED : Event response after information update inside the INVOICE object by the PAYMENT_INFO endpoint.
  • PRICES_UPDATED : Event response after information update inside the PRICES object by the PAYMENT_INFO endpoint.
  • PAYMENT_UPDATED : Event response after information update inside the PAYMENT object by the PAYMENT_INFO endpoint.

Steps & Tasks

Steps picker:

  • PICKING_STARTED : Order picking is started when the first iteration of one of the items in the order is completed.
  • PICKING_FINISHED : Completion of order picking or order enlistment. Important event that shows changes in the order such as: products added, products removed, changes and replacements.
  • CHECKING_OUT_STARTED : Start of the order checkout step.
  • CHECKED_OUT : Completion of the checkout step of the order.
  • TRANSFERRING_STARTED : Start of the transfer task, step that runs between the picker and the storage or any of the four transfer tasks.
  • TRANSFERRED : When the transfer step of all items of an order has been completed.
  • STORING_STARTED : Start of storage of an order.
  • STORING_UPDATED : Event triggered by some new storage or updates related to package codes.
  • STORING_FINISHED : Ending of storage.

Steps delivery:

  • GOING_TO_ORIGIN_STARTED : Event triggered by the delivery when it goes to the store (point of origin) to pick up the order.
  • ARRIVED_TO_ORIGIN : Arrival of the delivery at the store (point of origin).
  • GOING_TO_DESTINATION_STARTED : The order has already left the store and is on its way to its destination.
  • ARRIVED_TO_DESTINATION : The order arrives at its destination point.
  • DELIVERING_STARTED : Order arrives at customer's destination and is the step prior to delivery.
  • CLIENT_RECEIVED : Order successfully delivered to the customer.

Zone Picking Steps:

  • ZONE_PICKING_STARTED : Start of pickeo or enlistment of the order with items within different zones.
  • ZONE_PICKING_FINISHED : Completion of picketed or enlisted order with items within different zones.
  • PARKING_STARTED
  • PARKING_FINISHED

Consolidation Steps:

  • PICKING_STARTED : Order picking is started when the first iteration of one of the items in the order is completed.
  • PICKING_FINISHED : Completion of the picking process of the order.
  • CHECKING_OUT_STARTED : Start of the order checkout step.
  • CHECKED_OUT : Completion of the checkout step of the order.
  • STORING_STARTED : Start of storage of an order.
  • STORING_FINISHED : Ending of storage.

Tasks

  • PICKING
  • DELIVERY
  • FULL_SERVICE
  • STORAGE
  • PICKING_WITH_STORAGE
  • PICK_UP
  • DELIVERY_WITH_STORAGE
  • PICK_UP_FOR_DELIVERY
  • PICKING_AND_STORAGE
  • ZONE_PICKING
  • CONSOLIDATION

Tasks resets per operational models

Whenever a task has been reset in any step of the fulfillment process, Instaleap will inform trough notification of the unique tochpoint depending on the task and operational model of the order.

  • Full Service
    TASK_RESET_FULL_SERVICE
  • Pick & Collect
    TASK_RESET_PICK_UP
    TASK_RESET_PICKING_WITH_STORAGE
  • Pick & Collect no transfer
    TASK_RESET_PICKING_AND_STORAGE
    TASK_RESET_PICK_UP
  • Pick & Delivery
    TASK_RESET_PICKING
    TASK_RESET_DELIVERY
  • Pick & Delivery with storage
    TASK_RESET_PICKING_WITH_STORAGE
    TASK_RESET_STORAGE
    TASK_RESET_PICK_UP_FOR_DELIVERY
    TASK_RESET_DELIVERY_WITH_STORAGE
  • Pick & Delivery with storage no transfer
    TASK_RESET_PICKING_AND_STORAGE
    TASK_RESET_PICK_UP_FOR_DELIVERY
    TASK_RESET_DELIVERY_WITH_STORAGE

Authentication

In order to protect your systems from external attacks, InstaLeap signs the webhook events it sends to your endpoints. We do so by including a signature in each event’s InstaLeap-Signature header. We have different security options that you can select to recognize where the events come from:

👍

Where Instaleap implement this auth?

The same auth type is going to be used for the following modules:

  • Status Webhooks events
  • Chat Webhooks
  • Replacements Search
  • Stock query

1. Security Instaleap signature:

This allows you to verify that the events were sent by InstaLeap, not by a third party. You can verify signatures using standard libraries such as crypto for NodeJS. The hash algorithm used is SHA-256 and it is hashed with a secret provided to you by InstaLeap for each environment.

How to check the signature?

To verify that the InstaLeap-Signature is valid, please follow these steps:

  1. Once you receive the request, create a string joining id, created_at, and type by an & character from the event payload.
  2. Hash the string with the secret provided to you, using an SHA-256 algorithm.
  3. Compare the resulting hash with the InstaLeap-Signature header.
  4. If the signature is correct, process the event in your system.

2. Static token:

To implement this type of authentication you should send two requirements:

  • Header: The header name where you want us to send the auth token.
  • Token: The static token that you want us to send to your services to perform the auth.

3. DynamicToken:

To implement this type of authentication we need the below requirements:

  • RenewURL: The URL where we should request new dynamic tokens.
  • Credentials: The credentials we should send to the renewURL to retrieve new dynamic tokens. This can be headers and body credentials depending on your auth server.
  • formatOfCredentials: The format in which we should send the credentials to the renewURL. It can be JSON or formData.
  • Response: The details of the response we will receive from auth server. The status code expected, the body expected, and the field name of the body where the dynamic token is located.

For DynamicToken we recommend you send us a Postman collection tested and work with his auth server to make things easier.

📘

formatOfCredentials - DynamicToken

We only support these formats:
• JSON
• formData
• urlEncoded

🚧

Added by

Explains who added the item into the job. Usual values are CLIENT, PICKER, ISSUE, AGENT, or CONTROL_TOWER

🚧

Job cancelled

CANCELLED event has a field called cancellationSource and the options could be CUSTOMER or CONTROL_TOWER

{
 
  "created_at": "2024-04-08T22:43:31Z",
  "id": "f1703094-f3e3-4594-84b7-9c55735ef726",
  "type": "PICKING_FINISHED",
  "client_id": "CLIENT_ID",
  "job": {
    "cancellation_source": null,
    "client_reference": "1102281",
    "created_at": "2024-04-07T20:05:13.375Z",
    "declared_value": 287000,
    "delivery_code": "9460",
    "destination": {
      "address": "Villa bonita. Calle los perfumes del bar los mangos 350mts noroeste porton electrico negro a ma",
      "address_two": "",
      "description": "BARBERENA POVEDA JOSEPH BENJAM",
      "latitude": 10.016327,
      "longitude": -84.20903,
      "name": "BARBERENA POVEDA JOSEPH BENJAM",
      "state": "",
      "zip_code": ""
    },
    "external_data": {},
    "id": "757ff97f-aba8-430d-8950-d8f7cea06e6b",
    "issue_of": null,
    "job_items": [
      {
        "added_by": "CLIENT",
        "attributes": {
          "ean": "9008020099"
        },
        "barcodes": [
          "9008020099",
          "8404640417716"
        ],
        "comment": "PANTALLA 65 LED 4K ANDROID BLUETOOTH GOOGLE ASSITANT 3 HDMI USB",
        "found_quantity": 1,
        "id": "9008020099",
        "is_substitute": false,
        "name": "PANTALLA 65 LED 4K-TCL-65P735I",
        "package_name": null,
        "package_reference": null,
        "photo_url": "https://www.gollo.com/media/catalog/product//9/0/9007050025-9008020099-9008020100-_1__1_njlczedxxuf3qsus.png",
        "price": 287000,
        "quantity": 1,
        "replacements": [],
        "scanned_barcode": "8404640417716",
        "status": "ADDED",
        "sub_quantity": 1,
        "sub_unit": "UN",
        "unit": "UN",
        "volume": 1,
        "weight": 1
      }
    ],
    "operational_model": "PICK_AND_DELIVERY_WITH_STORAGE_NO_TRANSFER",
    "origin": {
      "address": "XPJC+7F9, Provincia de Alajuela, Alajuela",
      "address_two": "",
      "city": "San José",
      "country": "Costa Rica",
      "description": "El Coyol Calle los llanos contiguo a proquinal",
      "latitude": 9.980832,
      "longitude": -84.278787,
      "name": "170 Centro",
      "state": "",
      "store_reference": "170",
      "zip_code": ""
    },
    "original_prices": {
      "discounts": 188407.08,
      "payment_value": 299882,
      "shipping_fee": 0,
      "subtotal": 453789.38,
      "taxes": 34499.7
    },
    "packages": [],
    "payment_info": {
      "currency_code": "CRC",
      "invoice": null,
      "payment": {
        "blocking_policy": null,
        "id": "1",
        "metadata": null,
        "method": "LOYALTY_CARD",
        "method_details": null,
        "payment_status": "SUCCEEDED",
        "payment_status_details": null,
        "reference": null,
        "value": 299882
      },
      "prices": {
        "additional_info": [],
        "attributes": [],
        "discounts": 188407.08,
        "order_value": 299882,
        "shipping_fee": null,
        "subtotal": 453789.38,
        "taxes": 34499.7
      }
    },
    "payment_method": "LOYALTY_CARD",
    "payment_value": 299882,
    "recipient": {
      "email": "[email protected]",
      "identification": {
        "encrypted_data": "AVO26IH9iu9mnqXtWlXpSC8K237I6LFjvM3qmNuHXWKXTE3YUT7URjD+g2vnBzHY",
        "iv": "AywmtNIh4B4YSHctirEN8A=="
      },
      "name": "BARBERENA POVEDA JOSEPH BENJAM",
      "phone_number": "85952323"
    },
    "slot": {
      "expires_at": "2024-04-07T20:20:09.546Z",
      "from": "2024-04-09T14:00:00.000Z",
      "id": "8d6e456c-c65d-48e9-a3bf-724b453bef43",
      "to": "2024-04-09T18:59:00.000Z"
    },
    "status": "PROCESSING",
    "tasks": [
      {
        "id": "aa2373a6-bb70-4fc2-a5d3-0b2b2d28649f",
        "resource": {
          "client_id": "CLIENT_ID",
          "dni": "1111111111",
          "email": "fulfillment170_3@CLIENT_ID.com",
          "first_name": "Fulfillment 170 Picking 3",
          "fleet_id": "CLIENT_ID",
          "id": "ecee68b6-ccd5-462b-b900-c7d209a405b5",
          "last_name": "Fulfillment",
          "last_update_position": "2024-04-08T22:42:02.130Z",
          "phone_number": "+50611111111",
          "photo_url": "https://instaleap.s3.amazonaws.com/user-placeholder.png",
          "position": {
            "latitude": 9.9808188,
            "longitude": -84.2785457
          },
          "vehicle": {
            "client_id": "CLIENT_ID",
            "id": "9a2f4e63-47ab-4195-a7da-4f5061d2a562",
            "label": "Carro"
          }
        },
        "resource_id": "ecee68b6-ccd5-462b-b900-c7d209a405b5",
        "status": "DOING",
        "steps": [
          {
            "actual_end": "",
            "actual_start": "2024-04-08T15:29:11.679Z",
            "id": "d07f2a8c-c2d5-4125-baee-08c310b7286c",
            "optimal_end": "2024-04-09T14:25:00.000Z",
            "optimal_start": "2024-04-09T14:20:00.000Z",
            "status": "DOING",
            "type": "TRANSFERRING_TO_DELIVERY_FROM_STORAGE"
          }
        ],
        "type": "PICK_UP_FOR_DELIVERY"
      },
      {
        "id": "bcde2399-7780-4e48-9ec7-51c6d1318c11",
        "resource": {
          "client_id": "CLIENT_ID",
          "dni": "1111111111",
          "email": "fulfillment170_3@CLIENT_ID.com",
          "first_name": "Fulfillment 170 Picking 3",
          "fleet_id": "CLIENT_ID",
          "id": "ecee68b6-ccd5-462b-b900-c7d209a405b5",
          "last_name": "Fulfillment",
          "last_update_position": "2024-04-08T22:42:02.130Z",
          "phone_number": "+50611111111",
          "photo_url": "https://instaleap.s3.amazonaws.com/user-placeholder.png",
          "position": {
            "latitude": 9.9808188,
            "longitude": -84.2785457
          },
          "vehicle": {
            "client_id": "CLIENT_ID",
            "id": "9a2f4e63-47ab-4195-a7da-4f5061d2a562",
            "label": "Carro"
          }
        },
        "resource_id": "ecee68b6-ccd5-462b-b900-c7d209a405b5",
        "status": "DOING",
        "steps": [
          {
            "actual_end": "2024-04-08T22:43:31.569Z",
            "actual_start": "2024-04-08T15:29:04.720Z",
            "id": "acce0b05-434f-4bb3-b73c-8e89cbfdc9fa",
            "optimal_end": "2024-04-09T14:06:00.000Z",
            "optimal_start": "2024-04-09T14:04:00.000Z",
            "status": "DONE",
            "type": "PICKING"
          },
          {
            "actual_end": "",
            "actual_start": "2024-04-08T22:43:31.569Z",
            "id": "e8d0939c-3084-49af-a1a8-ad2f1973217b",
            "optimal_end": "2024-04-09T14:13:00.000Z",
            "optimal_start": "2024-04-09T14:06:00.000Z",
            "status": "DOING",
            "type": "CHECKING_OUT"
          },
          {
            "actual_end": "",
            "actual_start": "",
            "id": "d4a1bebc-9e45-4e31-ba75-6781a1dfb283",
            "optimal_end": "2024-04-09T14:20:00.000Z",
            "optimal_start": "2024-04-09T14:13:00.000Z",
            "status": "PENDING",
            "type": "STORING"
          }
        ],
        "type": "PICKING_AND_STORAGE"
      },
      {
        "id": "7c2dfb56-dc75-4165-aa4b-d10d7a2a1d04",
        "resource": {
          "client_id": "CLIENT_ID",
          "dni": "207980479",
          "email": "[email protected]",
          "first_name": "Placa CL179767",
          "fleet_id": "CLIENT_ID",
          "id": "cbf543db-8564-4b3f-a1f2-1ac88ed92841",
          "last_name": "BUSETA",
          "last_update_position": "2024-04-08T22:43:31.136Z",
          "phone_number": "+50611111111",
          "photo_url": "https://instaleap.s3.amazonaws.com/user-placeholder.png",
          "position": {
            "latitude": 9.9977353,
            "longitude": -84.2652878
          },
          "vehicle": {
            "client_id": "CLIENT_ID",
            "id": "9a2f4e63-47ab-4195-a7da-4f5061d2a562",
            "label": "Carro"
          }
        },
        "resource_id": "cbf543db-8564-4b3f-a1f2-1ac88ed92841",
        "status": "DOING",
        "steps": [
          {
            "actual_end": "2024-04-08T16:35:44.086Z",
            "actual_start": "2024-04-08T16:04:39.766Z",
            "id": "a0aa7731-9a09-4b34-8f1c-a5601289ef72",
            "optimal_end": "2024-04-09T14:20:00.000Z",
            "optimal_start": "2024-04-09T14:05:00.000Z",
            "status": "DONE",
            "type": "GOING_TO_ORIGIN"
          },
          {
            "actual_end": "",
            "actual_start": "2024-04-08T16:35:44.086Z",
            "id": "d238057c-bc96-43fc-a372-1bcff6d88f3b",
            "optimal_end": "2024-04-09T14:25:00.000Z",
            "optimal_start": "2024-04-09T14:20:00.000Z",
            "status": "DOING",
            "type": "TRANSFERRING_FROM_STORAGE_TO_DELIVERY"
          },
          {
            "actual_end": "",
            "actual_start": "",
            "id": "8b37bf89-4844-4929-84ce-693a36f75e68",
            "optimal_end": "2024-04-09T14:43:00.000Z",
            "optimal_start": "2024-04-09T14:25:00.000Z",
            "status": "PENDING",
            "type": "GOING_TO_DESTINATION"
          },
          {
            "actual_end": "",
            "actual_start": "",
            "id": "b8c4b3bb-f5f4-4fb6-b0ce-bb872226354e",
            "optimal_end": "2024-04-09T14:48:00.000Z",
            "optimal_start": "2024-04-09T14:43:00.000Z",
            "status": "PENDING",
            "type": "DELIVERING"
          }
        ],
        "type": "DELIVERY_WITH_STORAGE"
      }
    ],
    "updated_prices": {
      "discounts": 188407.08,
      "payment_value": 299882,
      "shipping_fee": 0,
      "subtotal": 453789.38,
      "taxes": 34499.7
    },
    "volume": 0,
    "weight": 0
  }
}
{
  "id": "5bf7128e-c481-48fe-86fa-d0d52282dde8",
  "created_at": "2023-06-02T15:42:44Z",
  "type": "ALLOCATED",
  "client_id": "CLIENT_NAME",
  "job": {
    "id": "c495056f-5154-4ab7-ab81-55f38b923b36",
    "status": "PROCESSING",
    "source": “HEADLESS_ECOMMERCE_ANDROID”,
    "cancellation_source": “string”,
    "client_reference": "0000AG382N",
    "declared_value": 403.967,
    "payment_value": 403.97,
    "payment_method": "PREPAID",
    "operational_model": "FULL_SERVICE",
    "external_data": {},
    "slot": {
      "id": "4cdeed0e-a97a-49fe-99ac-1213d779e498",
      "from": "2023-06-02T12:00:00.000Z",
      "to": "2023-06-02T12:59:00.000Z",
      "expires_at": "2023-06-02T08:09:37.729Z"
    },
    "recipient": {
      "name": "Guillermo",
      "email": "[email protected]",
      "phone_number": "+52 2342342",
      "identification": {
        "iv": "3XqaWR5LR/p2Fge0SkqEgA==",
        "encrypted_data": "+lcgaUpnsNRt9RrOAlcu2Q=="
      }
    },
    "origin": {
      "name": "Super Xilotzingo",
      "address": "Boulevard Mexicano",
      "address_two": "",
      "description": "Cluster D",
      "country": "Mexico",
      "city": "Heroica Puebla de Zaragoza",
      "state": "",
      "zip_code": "",
      "latitude": 19.323232,
      "longitude": -78.323232,
      "store_reference": "391"
    },
    "destination": {
      "name": "Xilotzingo",
      "address": "Xilotzingo ",
      "address_two": "casa",
      "description": "casa",
      "country": "Mexico",
      "city": "Puebla",
      "state": "Puebla",
      "zip_code": "5576",
      "latitude": 18.24332423,
      "longitude": -98.2014662772417
    },
    "job_items": [
      {
        "id": "00020100700000",
        "name": "Chuleta de cerdo   por kilo",
        "status": "PENDING",
        "replacements": [],
        "is_substitute": false,
        "added_by": "CLIENT",
        "photo_url": "https://res.cloudinary.com/00020100700000L.jpg",
        "found_quantity": 0,
        "comment": "",
        "barcodes": [
          "201007000004"
        ],
        "package_name": null,
        "package_reference": null,
        "scanned_barcode": "",
        "replacement_mode": "SUGGESTED",
        "suggested_replaments": [“218648191212”],
        “lot”: ”string”,
        “picking_task_id”: string | null,
        “replacing_to”: any[],
        "attributes": {
          "ean": "201007000004",
          "sku": "00020100700000",
          "category": "Carne de cerdo",
          "posPrice": 97,
          "product_id": "148650",
          "originalPrice": 97
        },
        "quantity": 0.6,
        "sub_quantity": 1,
        "unit": "KG",
        "sub_unit": "KG",
        "price": 97,
        "weight": 1,
        "volume": 1
      },
      {
        "id": "00020100600000",
        "name": "Costilla de cerdo   por kilo",
        "status": "PENDING",
        "replacements": [],
        "is_substitute": false,
        "added_by": "CLIENT",
        "photo_url": "https://res.cloudinary.com/00020100600000L.jpg",
        "found_quantity": 0,
        "comment": "",
        "barcodes": [
          "201006000005"
        ],
        "package_name": null,
        "package_reference": null,
        "scanned_barcode": "",
        "replacement_mode": "SUGGESTED",
        "suggested_replaments": [“218648191212”],
        “lot”: ”string”,
        "attributes": {
          "ean": "201006000005",
          "sku": "00020100600000",
          "category": "Carne de cerdo",
          "posPrice": 127,
          "product_id": "148649",
          "originalPrice": 127
        },
        "quantity": 0.5,
        "sub_quantity": 1,
        "unit": "KG",
        "sub_unit": "KG",
        "price": 127,
        "weight": 1,
        "volume": 1
      },
      {
        "id": "00750045900015",
        "name": "Detergente en polvo Persil  universal 4.5 kg",
        "status": "PENDING",
        "replacements": [],
        "is_substitute": false,
        "added_by": "CLIENT",
        "photo_url": "https://res.cloudinary.com/00750045900015L.jpg",
        "found_quantity": 0,
        "comment": "",
        "barcodes": [
          "7500459000154"
        ],
        "package_name": null,
        "package_reference": null,
        "scanned_barcode": "",
        "replacement_mode": "NO_REPLACE",
        "suggested_replaments": [“218648191212”],
        "attributes": {
          "ean": "7500459000154",
          "sku": "00750045900015",
          "category": "Artículos de lavandería",
          "posPrice": 130,
          "product_id": "147128",
          "originalPrice": 130
        },
        "quantity": 2,
        "sub_quantity": 2,
        "unit": "pz",
        "sub_unit": "pz",
        "price": 130,
        "weight": 1,
        "volume": 1
      }
    ],
    "packages": [],
    "payment_info": {
      "prices": {
        "taxes": 0,
        "subtotal": 403.97,
        "discounts": 0,
        "order_value": 403.97,
        "shipping_fee": 0,
        "attributes": [],
        "additional_info": []
      },
      "invoice": null,
      "payment": {
        "id": null,
        "method": "PREPAID",
        "reference": null,
        "method_details": "PREPAGO",
        "blocking_policy": "EXIT_STORE",
        "payment_status_details": null,
        "payment_status": null,
        "value": 0,
        "metadata": null
      },
      "currency_code": "MXN"
    },
    "cancellation_source": null,
    "volume": 0,
    "weight": 0,
    "issue_of": null,
    "tasks": [
      {
        "id": "0c924f7f-be05-4c3c-944b-0e7c684876bf",
        "type": "FULL_SERVICE",
        "resource_id": "848d8f80-4eca-48d5-b6f3-6be778a0d3b2",
        "resource": {
          "dni": "11111111",
          "phone_number": "+549221499011",
          "email": "nico.pruebas@@.com",
          "first_name": "Nico",
          "last_name": "Pruebas",
          "fleet_id": "CLIENT_NAME",
          "id": "848d8f80-4eca-48d5-b6f3-6be778a0d3b2",
          "photo_url": "https://instaleap.s3.amazonaws.com/user-placeholder.png",
          "client_id": "CLIENT_NAME",
          "last_update_position": "2022-12-30T21:45:30.061Z",
          "position": {
            "longitude": -74.072092,
            "latitude": 4.710989
          },
          "vehicle": {
            "client_id": "CLIENT_NAME",
            "id": "0af1bd84-dc05-4479-a04c-114c87c788c2",
            "label": "Auto"
          }
        },
        "status": "DOING",
        "steps": [
          {
            "id": "8ea16d51-0370-4b8b-96b6-845b42a180df",
            "type": "GOING_TO_ORIGIN",
            "status": "DOING",
            "optimal_start": "2023-06-02T11:09:00.000Z",
            "optimal_end": "2023-06-02T11:24:00.000Z",
            "actual_start": "2023-06-02T15:42:44.389Z",
            "actual_end": ""
          },
          {
            "id": "dfb16037-2342-4b05-848c-2aff8a8de496",
            "type": "PICKING",
            "status": "PENDING",
            "optimal_start": "2023-06-02T11:24:00.000Z",
            "optimal_end": "2023-06-02T11:38:00.000Z",
            "actual_start": "",
            "actual_end": ""
          },
          {
            "id": "8571a529-4003-47d1-9520-36cf17cbc622",
            "type": "CHECKING_OUT",
            "status": "PENDING",
            "optimal_start": "2023-06-02T11:38:00.000Z",
            "optimal_end": "2023-06-02T11:45:00.000Z",
            "actual_start": "",
            "actual_end": ""
          },
          {
            "id": "63195375-5685-4fe6-9dbb-91ab8144cad6",
            "type": "GOING_TO_DESTINATION",
            "status": "PENDING",
            "optimal_start": "2023-06-02T11:45:00.000Z",
            "optimal_end": "2023-06-02T11:51:00.000Z",
            "actual_start": "",
            "actual_end": ""
          },
          {
            "id": "4f765940-e095-4a95-9bbd-62190a52179a",
            "type": "DELIVERING",
            "status": "PENDING",
            "optimal_start": "2023-06-02T11:51:00.000Z",
            "optimal_end": "2023-06-02T11:56:00.000Z",
            "actual_start": "",
            "actual_end": ""
          }
        ]
      }
    ],
    "original_prices": {
      "payment_value": 403.97,
      "shipping_fee": 0,
      "discounts": 0,
      "subtotal": 403.97,
      "taxes": 0
    },
    "updated_prices": {
      "payment_value": 403.97,
      "shipping_fee": 0,
      "discounts": 0,
      "subtotal": 403.97,
      "taxes": 0
    },
    "delivery_code": "9320",
    "created_at": "2023-06-02T07:55:01.582Z"
  }
}


Language
Click Try It! to start a request and see the response here!