v1

latestOpenAPI 3.0.3Apache 2.02026-07-2478177179.1 KB
Logistic Platform Webhooks

Create Delivery

The Create Delivery endpoint is used to enable Grubtech to initiate the creation of a delivery job on the logistics platform. This endpoint will handle details of the delivery request, such as the pickup and drop-off locations, delivery time, and recipient information. Once the delivery job is created, the logistics platform will manage and track the order until it is completed.

post/delivery-jobs

Request body

idstring required

Grubtech provided unique id for the relevant delivery job

accountIdstring required

The id of the account this job should be billed to

preparedAtstring

Order prepared time.This should be in date-time format

scheduledAtstring

Date and time which the schedule order is ready to be delivered.This should be in date-time format

Response

Successful response OK

referenceIdstring required

Unique id for the created delivery job

statusstring required

Status of the created delivery job

Example response

{
  "status": "DELIVERY_JOB_CREATED"
}