Import API (1.0)

Download OpenAPI specification:Download

Overview

Import jobs/orders to Localz.

There is a different set of APIs for Delivery / Field Services and for Collections. Please refer to the relevant section depending on your use case.

In each section there is also a set of APIs for async and sync.

async vs sync

async

These are asynchronous APIs that return a success response when Localz has received the instruction to import the jobs/orders, but it is not a guarantee that all have been imported successfully. There may be some errors downstream. A callback URL can be configured to notify if any of these downstream errros occur. Please contact Localz to configure this callback if you are using the async APIs.

sync

These are synchronous APIs that wait for all downstream systems to do their work, and return any errors in the response.

Should I use async or sync?

If importing small batches it's generally recommended to use sync - all errors are returned in the response and you don't have to worry about callbacks. But for larger batches async is recommended. Please consult with Localz to confirm the best approach for your use case.

Delivery - async

Import Jobs

Import new jobs

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

Request Body schema: application/json

Jobs

required
Array of objects (request.JobWithDriver)

Responses

Request samples

Content type
application/json
{
  • "jobs": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "jobs": [
    ],
  • "jobsReceived": 0
}

Batch Update Jobs

Perform a batch update of jobs

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

Request Body schema: application/json

Jobs

required
Array of objects (request.UpdateJob)

Responses

Request samples

Content type
application/json
{
  • "jobs": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "jobs": [
    ],
  • "jobsReceived": 0
}

Update Job

Update a job

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

jobId
required
string

Job ID

Request Body schema: application/json

Job

object (request.Address)
object
branchId
string
cancelledAdditionalInfo
string
cancelledReasonCode
string
commsChannels
Array of strings
Items Enum: "email" "sms" "voiceCall" "push" "whatsapp" "rcs"
commsOptOut
boolean
object (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Customer)
customerInstructions
Array of strings
deliveryDate
string
deliveryType
string
object (request.NillableDriver)

Driver object - if explicitly set to null then the current driver will be unassigned

fulfiller
string
id
string
isPriority
boolean
Array of objects (request.JobItem)
langCode
string

language code as per ISO-639-1

Array of objects (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Media)
Array of objects (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Nominee)
plannedEta
string
object (request.PlannedETAWindow)
Array of objects (request.ProofOfDelivery)

only allowed when Status is DELIVERED or UNDELIVERED

scheduleStatus
string
Value: "CUSTOMER_PENDING CANCELLED_PENDING CONFIRMED RESCHEDULED SCHEDULED UNSCHEDULED"
secondaryReference
string
sequence
integer
status
required
string
Enum: "PENDING" "PENDING_PICKED" "PENDING_PACKED" "DISPATCH" "ARRIVING" "CANCELLED" "DELIVERED" "UNDELIVERED"
stopId
string
subProjectId
string

if set, will override any subProjectId in the URL

tags
Array of strings
waitTime
integer

Responses

Request samples

Content type
application/json
{
  • "address": {
    },
  • "attributes": { },
  • "branchId": "1000",
  • "cancelledAdditionalInfo": "customer not home",
  • "cancelledReasonCode": "postponed",
  • "commsChannels": [
    ],
  • "commsOptOut": true,
  • "customer": {
    },
  • "customerInstructions": [
    ],
  • "deliveryDate": "string",
  • "deliveryType": "Standard Delivery",
  • "driver": {
    },
  • "fulfiller": "fastpost",
  • "id": "string",
  • "isPriority": true,
  • "jobItems": [
    ],
  • "langCode": "en",
  • "media": [
    ],
  • "nominees": [
    ],
  • "plannedEta": "string",
  • "plannedEtaWindow": {
    },
  • "proofOfDelivery": [],
  • "scheduleStatus": "CUSTOMER_PENDING",
  • "secondaryReference": "string",
  • "sequence": 0,
  • "status": "PENDING",
  • "stopId": "string",
  • "subProjectId": "mybrand",
  • "tags": [
    ],
  • "waitTime": 0
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "jobs": [
    ],
  • "jobsReceived": 0
}

Import Routes

Import new routes

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

Request Body schema: application/json

Routes

required
Array of objects (request.Route)

Responses

Request samples

Content type
application/json
{
  • "routes": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "jobs": [
    ],
  • "jobsReceived": 0
}

Import Jobs (Multibrand)

Import new jobs for a particular subproject

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

subProjectId
required
string

SubProject ID

Request Body schema: application/json

Jobs

required
Array of objects (request.JobWithDriver)

Responses

Request samples

Content type
application/json
{
  • "jobs": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "jobs": [
    ],
  • "jobsReceived": 0
}

Batch Update Jobs (Multibrand)

Perform a batch update of jobs for a particular subproject

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

subProjectId
required
string

SubProject ID

Request Body schema: application/json

Jobs

required
Array of objects (request.UpdateJob)

Responses

Request samples

Content type
application/json
{
  • "jobs": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "jobs": [
    ],
  • "jobsReceived": 0
}

Update Job (Multibrand)

Update a job for a particular subproject

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

subProjectId
required
string

SubProject ID

jobId
required
string

Job ID

Request Body schema: application/json

Job

object (request.Address)
object
branchId
string
cancelledAdditionalInfo
string
cancelledReasonCode
string
commsChannels
Array of strings
Items Enum: "email" "sms" "voiceCall" "push" "whatsapp" "rcs"
commsOptOut
boolean
object (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Customer)
customerInstructions
Array of strings
deliveryDate
string
deliveryType
string
object (request.NillableDriver)

Driver object - if explicitly set to null then the current driver will be unassigned

fulfiller
string
id
string
isPriority
boolean
Array of objects (request.JobItem)
langCode
string

language code as per ISO-639-1

Array of objects (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Media)
Array of objects (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Nominee)
plannedEta
string
object (request.PlannedETAWindow)
Array of objects (request.ProofOfDelivery)

only allowed when Status is DELIVERED or UNDELIVERED

scheduleStatus
string
Value: "CUSTOMER_PENDING CANCELLED_PENDING CONFIRMED RESCHEDULED SCHEDULED UNSCHEDULED"
secondaryReference
string
sequence
integer
status
required
string
Enum: "PENDING" "PENDING_PICKED" "PENDING_PACKED" "DISPATCH" "ARRIVING" "CANCELLED" "DELIVERED" "UNDELIVERED"
stopId
string
subProjectId
string

if set, will override any subProjectId in the URL

tags
Array of strings
waitTime
integer

Responses

Request samples

Content type
application/json
{
  • "address": {
    },
  • "attributes": { },
  • "branchId": "1000",
  • "cancelledAdditionalInfo": "customer not home",
  • "cancelledReasonCode": "postponed",
  • "commsChannels": [
    ],
  • "commsOptOut": true,
  • "customer": {
    },
  • "customerInstructions": [
    ],
  • "deliveryDate": "string",
  • "deliveryType": "Standard Delivery",
  • "driver": {
    },
  • "fulfiller": "fastpost",
  • "id": "string",
  • "isPriority": true,
  • "jobItems": [
    ],
  • "langCode": "en",
  • "media": [
    ],
  • "nominees": [
    ],
  • "plannedEta": "string",
  • "plannedEtaWindow": {
    },
  • "proofOfDelivery": [],
  • "scheduleStatus": "CUSTOMER_PENDING",
  • "secondaryReference": "string",
  • "sequence": 0,
  • "status": "PENDING",
  • "stopId": "string",
  • "subProjectId": "mybrand",
  • "tags": [
    ],
  • "waitTime": 0
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "jobs": [
    ],
  • "jobsReceived": 0
}

Import Routes (Multibrand)

Import new routes for a particular subproject

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

subProjectId
required
string

SubProject ID

Request Body schema: application/json

Routes

required
Array of objects (request.Route)

Responses

Request samples

Content type
application/json
{
  • "routes": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "jobs": [
    ],
  • "jobsReceived": 0
}

Delivery - sync

Create jobs

Create batch of jobs in a single request

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

Request Body schema: application/json

Jobs

required
Array of objects (request.JobWithDriver)

Responses

Request samples

Content type
application/json
{
  • "jobs": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "jobs": [
    ],
  • "jobsReceived": 0
}

Update jobs

Update a batch of jobs in a single request

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

Request Body schema: application/json

Jobs

required
Array of objects (request.UpdateJob)

Responses

Request samples

Content type
application/json
{
  • "jobs": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "jobs": [
    ],
  • "jobsReceived": 0
}

Create routes

Create batch of routes in a single request

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

Request Body schema: application/json

Routes

required
Array of objects (request.Route)

Responses

Request samples

Content type
application/json
{
  • "routes": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "jobs": [
    ],
  • "jobsReceived": 0
}

Create job

Create new job

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

Request Body schema: application/json

Job

required
object (request.Address)
object
branchId
string
cancelledAdditionalInfo
string
cancelledReasonCode
string
commsChannels
Array of strings
Items Enum: "email" "sms" "voiceCall" "push" "whatsapp" "rcs"
commsOptOut
boolean
object (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Customer)
customerInstructions
Array of strings
deliveryDate
string

defaults to now if not provided

deliveryType
string
object (request.NillableDriver)

Driver object - if explicitly set to null then the current driver will be unassigned

fulfiller
string
id
required
string
isPriority
boolean
Array of objects (request.JobItem)
langCode
string

language code as per ISO-639-1

Array of objects (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Media)
Array of objects (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Nominee)
plannedEta
string
object (request.PlannedETAWindow)
scheduleStatus
string
Value: "CUSTOMER_PENDING CANCELLED_PENDING CONFIRMED RESCHEDULED SCHEDULED UNSCHEDULED"
secondaryReference
string
sequence
integer
status
required
string
Enum: "PENDING" "PENDING_PICKED" "PENDING_PACKED" "READY" "DISPATCH" "ARRIVING" "CANCELLED" "DELIVERED" "UNDELIVERED"
stopId
string
subProjectId
string

if set, will override any subProjectId in the URL

tags
Array of strings
trackingId
string
waitTime
integer

Responses

Request samples

Content type
application/json
{
  • "address": {
    },
  • "attributes": { },
  • "branchId": "1000",
  • "cancelledAdditionalInfo": "customer not home",
  • "cancelledReasonCode": "postponed",
  • "commsChannels": [
    ],
  • "commsOptOut": true,
  • "customer": {
    },
  • "customerInstructions": [
    ],
  • "deliveryDate": "2020-10-04T23:45:01+00:00",
  • "deliveryType": "Standard Delivery",
  • "driver": {
    },
  • "fulfiller": "fastpost",
  • "id": "order123",
  • "isPriority": true,
  • "jobItems": [
    ],
  • "langCode": "en",
  • "media": [
    ],
  • "nominees": [
    ],
  • "plannedEta": "2020-10-04T23:45:01+00:00",
  • "plannedEtaWindow": {
    },
  • "scheduleStatus": "CUSTOMER_PENDING",
  • "secondaryReference": "order3",
  • "sequence": 1,
  • "status": "PENDING",
  • "stopId": "string",
  • "subProjectId": "mybrand",
  • "tags": [
    ],
  • "trackingId": "track123",
  • "waitTime": 240
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Update job

Update a job

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

Request Body schema: application/json

Jobs

object (request.Address)
object
branchId
string
cancelledAdditionalInfo
string
cancelledReasonCode
string
commsChannels
Array of strings
Items Enum: "email" "sms" "voiceCall" "push" "whatsapp" "rcs"
commsOptOut
boolean
object (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Customer)
customerInstructions
Array of strings
deliveryDate
string
deliveryType
string
object (request.NillableDriver)

Driver object - if explicitly set to null then the current driver will be unassigned

fulfiller
string
id
string
isPriority
boolean
Array of objects (request.JobItem)
langCode
string

language code as per ISO-639-1

Array of objects (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Media)
Array of objects (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Nominee)
plannedEta
string
object (request.PlannedETAWindow)
Array of objects (request.ProofOfDelivery)

only allowed when Status is DELIVERED or UNDELIVERED

scheduleStatus
string
Value: "CUSTOMER_PENDING CANCELLED_PENDING CONFIRMED RESCHEDULED SCHEDULED UNSCHEDULED"
secondaryReference
string
sequence
integer
status
required
string
Enum: "PENDING" "PENDING_PICKED" "PENDING_PACKED" "DISPATCH" "ARRIVING" "CANCELLED" "DELIVERED" "UNDELIVERED"
stopId
string
subProjectId
string

if set, will override any subProjectId in the URL

tags
Array of strings
waitTime
integer

Responses

Request samples

Content type
application/json
{
  • "address": {
    },
  • "attributes": { },
  • "branchId": "1000",
  • "cancelledAdditionalInfo": "customer not home",
  • "cancelledReasonCode": "postponed",
  • "commsChannels": [
    ],
  • "commsOptOut": true,
  • "customer": {
    },
  • "customerInstructions": [
    ],
  • "deliveryDate": "string",
  • "deliveryType": "Standard Delivery",
  • "driver": {
    },
  • "fulfiller": "fastpost",
  • "id": "string",
  • "isPriority": true,
  • "jobItems": [
    ],
  • "langCode": "en",
  • "media": [
    ],
  • "nominees": [
    ],
  • "plannedEta": "string",
  • "plannedEtaWindow": {
    },
  • "proofOfDelivery": [],
  • "scheduleStatus": "CUSTOMER_PENDING",
  • "secondaryReference": "string",
  • "sequence": 0,
  • "status": "PENDING",
  • "stopId": "string",
  • "subProjectId": "mybrand",
  • "tags": [
    ],
  • "waitTime": 0
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Create Jobs (Multibrand)

Create batch of jobs for a particular subproject

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

subProjectId
required
string

SubProject ID

Request Body schema: application/json

Jobs

required
Array of objects (request.UpdateJob)

Responses

Request samples

Content type
application/json
{
  • "jobs": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "jobs": [
    ],
  • "jobsReceived": 0
}

Create Routes (Multibrand)

Create batch of routes for a particular subproject

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

subProjectId
required
string

SubProject ID

Request Body schema: application/json

Routes

required
Array of objects (request.Route)

Responses

Request samples

Content type
application/json
{
  • "routes": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "jobs": [
    ],
  • "jobsReceived": 0
}

Create Job (Multibrand)

Create new job for a particular subproject

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

subProjectId
required
string

SubProject ID

Request Body schema: application/json

Job

required
object (request.Address)
object
branchId
string
cancelledAdditionalInfo
string
cancelledReasonCode
string
commsChannels
Array of strings
Items Enum: "email" "sms" "voiceCall" "push" "whatsapp" "rcs"
commsOptOut
boolean
object (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Customer)
customerInstructions
Array of strings
deliveryDate
string

defaults to now if not provided

deliveryType
string
object (request.NillableDriver)

Driver object - if explicitly set to null then the current driver will be unassigned

fulfiller
string
id
required
string
isPriority
boolean
Array of objects (request.JobItem)
langCode
string

language code as per ISO-639-1

Array of objects (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Media)
Array of objects (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Nominee)
plannedEta
string
object (request.PlannedETAWindow)
scheduleStatus
string
Value: "CUSTOMER_PENDING CANCELLED_PENDING CONFIRMED RESCHEDULED SCHEDULED UNSCHEDULED"
secondaryReference
string
sequence
integer
status
required
string
Enum: "PENDING" "PENDING_PICKED" "PENDING_PACKED" "READY" "DISPATCH" "ARRIVING" "CANCELLED" "DELIVERED" "UNDELIVERED"
stopId
string
subProjectId
string

if set, will override any subProjectId in the URL

tags
Array of strings
trackingId
string
waitTime
integer

Responses

Request samples

Content type
application/json
{
  • "address": {
    },
  • "attributes": { },
  • "branchId": "1000",
  • "cancelledAdditionalInfo": "customer not home",
  • "cancelledReasonCode": "postponed",
  • "commsChannels": [
    ],
  • "commsOptOut": true,
  • "customer": {
    },
  • "customerInstructions": [
    ],
  • "deliveryDate": "2020-10-04T23:45:01+00:00",
  • "deliveryType": "Standard Delivery",
  • "driver": {
    },
  • "fulfiller": "fastpost",
  • "id": "order123",
  • "isPriority": true,
  • "jobItems": [
    ],
  • "langCode": "en",
  • "media": [
    ],
  • "nominees": [
    ],
  • "plannedEta": "2020-10-04T23:45:01+00:00",
  • "plannedEtaWindow": {
    },
  • "scheduleStatus": "CUSTOMER_PENDING",
  • "secondaryReference": "order3",
  • "sequence": 1,
  • "status": "PENDING",
  • "stopId": "string",
  • "subProjectId": "mybrand",
  • "tags": [
    ],
  • "trackingId": "track123",
  • "waitTime": 240
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Update Job (Multibrand)

Update a job for a particular subproject

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

subProjectId
required
string

SubProject ID

Request Body schema: application/json

Job

object (request.Address)
object
branchId
string
cancelledAdditionalInfo
string
cancelledReasonCode
string
commsChannels
Array of strings
Items Enum: "email" "sms" "voiceCall" "push" "whatsapp" "rcs"
commsOptOut
boolean
object (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Customer)
customerInstructions
Array of strings
deliveryDate
string
deliveryType
string
object (request.NillableDriver)

Driver object - if explicitly set to null then the current driver will be unassigned

fulfiller
string
id
string
isPriority
boolean
Array of objects (request.JobItem)
langCode
string

language code as per ISO-639-1

Array of objects (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Media)
Array of objects (github_com_dsg-localz_delivery-import-api_internal_deliveries_request.Nominee)
plannedEta
string
object (request.PlannedETAWindow)
Array of objects (request.ProofOfDelivery)

only allowed when Status is DELIVERED or UNDELIVERED

scheduleStatus
string
Value: "CUSTOMER_PENDING CANCELLED_PENDING CONFIRMED RESCHEDULED SCHEDULED UNSCHEDULED"
secondaryReference
string
sequence
integer
status
required
string
Enum: "PENDING" "PENDING_PICKED" "PENDING_PACKED" "DISPATCH" "ARRIVING" "CANCELLED" "DELIVERED" "UNDELIVERED"
stopId
string
subProjectId
string

if set, will override any subProjectId in the URL

tags
Array of strings
waitTime
integer

Responses

Request samples

Content type
application/json
{
  • "address": {
    },
  • "attributes": { },
  • "branchId": "1000",
  • "cancelledAdditionalInfo": "customer not home",
  • "cancelledReasonCode": "postponed",
  • "commsChannels": [
    ],
  • "commsOptOut": true,
  • "customer": {
    },
  • "customerInstructions": [
    ],
  • "deliveryDate": "string",
  • "deliveryType": "Standard Delivery",
  • "driver": {
    },
  • "fulfiller": "fastpost",
  • "id": "string",
  • "isPriority": true,
  • "jobItems": [
    ],
  • "langCode": "en",
  • "media": [
    ],
  • "nominees": [
    ],
  • "plannedEta": "string",
  • "plannedEtaWindow": {
    },
  • "proofOfDelivery": [],
  • "scheduleStatus": "CUSTOMER_PENDING",
  • "secondaryReference": "string",
  • "sequence": 0,
  • "status": "PENDING",
  • "stopId": "string",
  • "subProjectId": "mybrand",
  • "tags": [
    ],
  • "waitTime": 0
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Collection - async

Import Orders

Import new orders

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

Request Body schema: application/json

Orders

required
Array of objects (request.Order)

Responses

Request samples

Content type
application/json
{
  • "orders": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "orders": [
    ],
  • "ordersReceived": 0
}

Update Order

Update a order

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

orderId
required
string

Order ID

Request Body schema: application/json

Orders

object
availFrom
string
availTo
string
cancelledAdditionalInfo
string
cancelledReasonCode
string
collectionPoint
string
commsChannels
Array of strings
Items Enum: "email" "sms" "voiceCall" "push" "whatsapp" "rcs"
commsOptOut
boolean
object

customer is a required field with commsOptOut

customerInstructions
Array of strings
fulfiller
string
isPriority
boolean
langCode
string

language code as per ISO-639-1

Array of objects (github_com_dsg-localz_delivery-import-api_internal_collections_request.Media)
Array of objects (github_com_dsg-localz_delivery-import-api_internal_collections_request.Nominee)
Array of objects (request.OrderItem)
returnCustomer
boolean
scheduledDate
string
secondaryReference
string
status
required
string
Enum: "PENDING" "PENDING_PICKED" "PENDING_PACKED" "READY" "CANCELLED" "COMPLETE" "FAILEDCOMPLETE" "DISPATCH" "ARRIVING"
storeId
string
tags
Array of strings
trackId
string
object (request.User)
object

Responses

Request samples

Content type
application/json
{
  • "attributes": { },
  • "availFrom": "2020-10-04T23:45:01+00:00",
  • "availTo": "2020-10-04T23:45:01+00:00",
  • "cancelledAdditionalInfo": "customer picking up next week instead",
  • "cancelledReasonCode": "postponed",
  • "collectionPoint": "Drive Through",
  • "commsChannels": [
    ],
  • "commsOptOut": true,
  • "customer": {
    },
  • "customerInstructions": [
    ],
  • "fulfiller": "fastpost",
  • "isPriority": true,
  • "langCode": "en",
  • "media": [
    ],
  • "nominees": [
    ],
  • "orderItems": [
    ],
  • "returnCustomer": true,
  • "scheduledDate": "2020-10-04T23:45:01+00:00",
  • "secondaryReference": "ex123",
  • "status": "PENDING",
  • "storeId": "1000",
  • "tags": [
    ],
  • "trackId": "track123",
  • "user": {
    },
  • "address": {
    }
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "orders": [
    ],
  • "ordersReceived": 0
}

Import Orders (Multibrand)

Import new orders for a particular subproject

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

subProjectId
required
string

SubProject ID

Request Body schema: application/json

Orders

required
Array of objects (request.Order)

Responses

Request samples

Content type
application/json
{
  • "orders": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "orders": [
    ],
  • "ordersReceived": 0
}

Update Order (Multibrand)

Update a order for a particular subproject

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

subProjectId
required
string

SubProject ID

orderId
required
string

Order ID

Request Body schema: application/json

Orders

object
availFrom
string
availTo
string
cancelledAdditionalInfo
string
cancelledReasonCode
string
collectionPoint
string
commsChannels
Array of strings
Items Enum: "email" "sms" "voiceCall" "push" "whatsapp" "rcs"
commsOptOut
boolean
object

customer is a required field with commsOptOut

customerInstructions
Array of strings
fulfiller
string
isPriority
boolean
langCode
string

language code as per ISO-639-1

Array of objects (github_com_dsg-localz_delivery-import-api_internal_collections_request.Media)
Array of objects (github_com_dsg-localz_delivery-import-api_internal_collections_request.Nominee)
Array of objects (request.OrderItem)
returnCustomer
boolean
scheduledDate
string
secondaryReference
string
status
required
string
Enum: "PENDING" "PENDING_PICKED" "PENDING_PACKED" "READY" "CANCELLED" "COMPLETE" "FAILEDCOMPLETE" "DISPATCH" "ARRIVING"
storeId
string
tags
Array of strings
trackId
string
object (request.User)
object

Responses

Request samples

Content type
application/json
{
  • "attributes": { },
  • "availFrom": "2020-10-04T23:45:01+00:00",
  • "availTo": "2020-10-04T23:45:01+00:00",
  • "cancelledAdditionalInfo": "customer picking up next week instead",
  • "cancelledReasonCode": "postponed",
  • "collectionPoint": "Drive Through",
  • "commsChannels": [
    ],
  • "commsOptOut": true,
  • "customer": {
    },
  • "customerInstructions": [
    ],
  • "fulfiller": "fastpost",
  • "isPriority": true,
  • "langCode": "en",
  • "media": [
    ],
  • "nominees": [
    ],
  • "orderItems": [
    ],
  • "returnCustomer": true,
  • "scheduledDate": "2020-10-04T23:45:01+00:00",
  • "secondaryReference": "ex123",
  • "status": "PENDING",
  • "storeId": "1000",
  • "tags": [
    ],
  • "trackId": "track123",
  • "user": {
    },
  • "address": {
    }
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "orders": [
    ],
  • "ordersReceived": 0
}

Collection - sync

Import Orders

Import new orders

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

Request Body schema: application/json

Orders

required
Array of objects (request.Order)

Responses

Request samples

Content type
application/json
{
  • "orders": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "orders": [
    ],
  • "ordersReceived": 0
}

Update Order

Update an existing order

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

orderId
required
string

Order ID

Request Body schema: application/json

Orders

object
availFrom
string
availTo
string
cancelledAdditionalInfo
string
cancelledReasonCode
string
collectionPoint
string
commsChannels
Array of strings
Items Enum: "email" "sms" "voiceCall" "push" "whatsapp" "rcs"
commsOptOut
boolean
object

customer is a required field with commsOptOut

customerInstructions
Array of strings
fulfiller
string
isPriority
boolean
langCode
string

language code as per ISO-639-1

Array of objects (github_com_dsg-localz_delivery-import-api_internal_collections_request.Media)
Array of objects (github_com_dsg-localz_delivery-import-api_internal_collections_request.Nominee)
Array of objects (request.OrderItem)
returnCustomer
boolean
scheduledDate
string
secondaryReference
string
status
required
string
Enum: "PENDING" "PENDING_PICKED" "PENDING_PACKED" "READY" "CANCELLED" "COMPLETE" "FAILEDCOMPLETE" "DISPATCH" "ARRIVING"
storeId
string
tags
Array of strings
trackId
string
object (request.User)
object

Responses

Request samples

Content type
application/json
{
  • "attributes": { },
  • "availFrom": "2020-10-04T23:45:01+00:00",
  • "availTo": "2020-10-04T23:45:01+00:00",
  • "cancelledAdditionalInfo": "customer picking up next week instead",
  • "cancelledReasonCode": "postponed",
  • "collectionPoint": "Drive Through",
  • "commsChannels": [
    ],
  • "commsOptOut": true,
  • "customer": {
    },
  • "customerInstructions": [
    ],
  • "fulfiller": "fastpost",
  • "isPriority": true,
  • "langCode": "en",
  • "media": [
    ],
  • "nominees": [
    ],
  • "orderItems": [
    ],
  • "returnCustomer": true,
  • "scheduledDate": "2020-10-04T23:45:01+00:00",
  • "secondaryReference": "ex123",
  • "status": "PENDING",
  • "storeId": "1000",
  • "tags": [
    ],
  • "trackId": "track123",
  • "user": {
    },
  • "address": {
    }
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Import Orders (Multibrand)

Import new orders for a particular subproject

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

subProjectId
required
string

SubProject ID

Request Body schema: application/json

Orders

required
Array of objects (request.Order)

Responses

Request samples

Content type
application/json
{
  • "orders": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "orders": [
    ],
  • "ordersReceived": 0
}

Update Order (Multibrand)

Update an existing order for a particular subproject

Authorizations:
ApiKeyAuth
path Parameters
projectId
required
string

Project ID

subProjectId
required
string

SubProject ID

orderId
required
string

Order ID

Request Body schema: application/json

Orders

object
availFrom
string
availTo
string
cancelledAdditionalInfo
string
cancelledReasonCode
string
collectionPoint
string
commsChannels
Array of strings
Items Enum: "email" "sms" "voiceCall" "push" "whatsapp" "rcs"
commsOptOut
boolean
object

customer is a required field with commsOptOut

customerInstructions
Array of strings
fulfiller
string
isPriority
boolean
langCode
string

language code as per ISO-639-1

Array of objects (github_com_dsg-localz_delivery-import-api_internal_collections_request.Media)
Array of objects (github_com_dsg-localz_delivery-import-api_internal_collections_request.Nominee)
Array of objects (request.OrderItem)
returnCustomer
boolean
scheduledDate
string
secondaryReference
string
status
required
string
Enum: "PENDING" "PENDING_PICKED" "PENDING_PACKED" "READY" "CANCELLED" "COMPLETE" "FAILEDCOMPLETE" "DISPATCH" "ARRIVING"
storeId
string
tags
Array of strings
trackId
string
object (request.User)
object

Responses

Request samples

Content type
application/json
{
  • "attributes": { },
  • "availFrom": "2020-10-04T23:45:01+00:00",
  • "availTo": "2020-10-04T23:45:01+00:00",
  • "cancelledAdditionalInfo": "customer picking up next week instead",
  • "cancelledReasonCode": "postponed",
  • "collectionPoint": "Drive Through",
  • "commsChannels": [
    ],
  • "commsOptOut": true,
  • "customer": {
    },
  • "customerInstructions": [
    ],
  • "fulfiller": "fastpost",
  • "isPriority": true,
  • "langCode": "en",
  • "media": [
    ],
  • "nominees": [
    ],
  • "orderItems": [
    ],
  • "returnCustomer": true,
  • "scheduledDate": "2020-10-04T23:45:01+00:00",
  • "secondaryReference": "ex123",
  • "status": "PENDING",
  • "storeId": "1000",
  • "tags": [
    ],
  • "trackId": "track123",
  • "user": {
    },
  • "address": {
    }
}

Response samples

Content type
application/json
{
  • "message": "string"
}