POST /api/v1/shipments
Add Shipments
This endpoint allows you to add shipment for a trip.
*****Please note that it is strongly recommended to use this endpoint if you are wanting to push only a single shipment into the Locate2u system. If you are looking to insert more than one shipment (i.e. more than one shipment or bulk import) you must use /api/v1/shipments/import. You can find more details about imoprt endpoint in the page below. Using this import endpoint to push through more than one stop in a go will save you from consuming a lot of your api calling limit and put less stress on our servers 🙂
Request Body (For detailed description of the fields you can refer to the put/update shipment end point)
The request body should be in raw format and should include the following parameters:
{
"tripDate": "2024-03-11T07:14:08.903Z",
"pickupStop": {
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"brandId": null,
"name": "Locate2u Pickup Stop",
"address": "Level 4, Suite 4.11, 55 Miller St, Pyrmont NSW 2009, Australia",
"tripDate": "2024-03-11",
"location": {
"latitude": -33.8706672,
"longitude": 151.192487
},
"appointmentTime": "12:00",
"timeWindowStart": null,
"timeWindowEnd": null,
"durationMinutes": 10,
"notes": "Please call before you deliver",
"customerId": 0,
"teamRegionId": 0,
"driverInstructions": null,
"lines": [
{
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"currentLocation": "Warehouse",
"serviceId": 0,
"productVariantId": 0,
"quantity": 1
}
]
},
"dropStop": {
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"brandId": null,
"name": "Locate2u Drop Stop",
"address": "1 William St, Darlinghurst NSW 2010, Australia",
"tripDate": "2024-03-11",
"location": {
"latitude": -33.8743446,
"longitude": 151.2131667
},
"appointmentTime": "12:00",
"timeWindowStart": null,
"timeWindowEnd": null,
"durationMinutes": 10,
"notes": "Please call before you deliver",
"customerId": 0,
"teamRegionId": 0,
"driverInstructions": null,
"lines": [
{
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"currentLocation": "Warehouse",
"serviceId": 0,
"productVariantId": 0,
"quantity": 1
}
]
},
"brandId": null,
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"customFields": {
"custom1": "value",
"custom2": "value",
"custom3": "value"
},
"skills": "skills1, skills2, skills3",
"assignedToPublicUserId": "ee59-b174-4698-ac55-81d9d",
"notes": "Please call before you deliver",
"source": null,
"sourceReference": null,
"load": {
"quantity": 0,
"volume": 0,
"weight": 0,
"length": 0,
"width": 0,
"height": 0
},
"customerId": 0,
"runNumber": 0,
"teamRegionId": 0,
"contents": null,
"lines": [
{
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"currentLocation": "Warehouse",
"serviceId": 0,
"productVariantId": 0,
"quantity": 1
}
],
"chargeLines": null,
"costLines": null
}
This API endpoint allows you to create a new shipment by making an HTTP POST request to the specified URL. The request should include a payload in the raw request body type, containing details such as trip date, pickup stop, drop stop, contact information, custom fields, skills, notes, source, load details, customer ID, and other relevant shipment information.
- tripDate (string): The date of the trip.
- pickupStop (object): Details of the pickup stop including contact information, address, location, appointment time, duration, and shipment lines.
- dropStop (object): Details of the drop stop including contact information, address, location, appointment time, duration, and shipment lines.
- brandId (integer): The ID of the brand.
- contact (object): Contact information including name, phone, and email.
- customFields (object): Custom fields custom1, custom2, and custom3.
- skills (string): Skills required for the shipment.
- notes (string): Additional notes for the shipment.
- source (string): Source of the shipment.
- load (object): Details of the load including quantity, volume, weight, length, width, and height.
- customerId (integer): The ID of the customer.
- runNumber (integer): The run number for the shipment.
- teamRegionId (string): The ID of the team region.
- contents (string): Contents of the shipment.
- lines (array): Array of shipment lines including barcode, description, current location, service ID, product variant ID, and quantity.
Sample code
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.locate2u.com/api/v1/shipments");
request.Headers.Add("Authorization", "Bearer yourBearerTokenHere");
var content = new StringContent("{\r\n \"tripDate\": \"2024-02-07T08:05:32.420Z\",\r\n \"pickupStop\": {\r\n \"contact\": {\r\n \"name\": \"Matthew Robinson\",\r\n \"phone\": \"0123456789\",\r\n \"email\": \"matt.robinson@email.com\"\r\n },\r\n \"brandId\": null,\r\n \"name\": \"Locate2u Pickup Stop\",\r\n \"address\": \"Level 4, Suite 4.11, 55 Miller St, Pyrmont NSW 2009, Australia\",\r\n \"tripDate\": \"2024-02-07\",\r\n \"location\": {\r\n \"latitude\": -33.8706672,\r\n \"longitude\": 151.192487\r\n },\r\n \"appointmentTime\": \"10:00\",\r\n \"timeWindowStart\": null,\r\n \"timeWindowEnd\": null,\r\n \"durationMinutes\": 10,\r\n \"notes\": \"Please call before you deliver\",\r\n \"customerId\": 81691,\r\n \"teamRegionId\": null,\r\n \"driverInstructions\": null,\r\n \"lines\": [\r\n {\r\n \"barcode\": \"1234567890\",\r\n \"description\": \"Item A - Barcode scanning item\",\r\n \"currentLocation\": \"Warehouse\",\r\n \"serviceId\": null,\r\n \"productVariantId\": null,\r\n \"quantity\": 1\r\n }\r\n ]\r\n },\r\n \"dropStop\": {\r\n \"contact\": {\r\n \"name\": \"Matthew Robinson\",\r\n \"phone\": \"0123456789\",\r\n \"email\": \"matt.robinson@email.com\"\r\n },\r\n \"brandId\": null,\r\n \"name\": \"Locate2u Drop Stop\",\r\n \"address\": \"1 William St, Darlinghurst NSW 2010, Australia\",\r\n \"tripDate\": \"2024-02-08\",\r\n \"location\": {\r\n \"latitude\": -33.8743446,\r\n \"longitude\": 151.2131667\r\n },\r\n \"appointmentTime\": \"12:00\",\r\n \"timeWindowStart\": null,\r\n \"timeWindowEnd\": null,\r\n \"durationMinutes\": 10,\r\n \"notes\": \"Please call before you deliver\",\r\n \"customerId\": 81691,\r\n \"teamRegionId\": null,\r\n \"driverInstructions\": null,\r\n \"lines\": [\r\n {\r\n \"barcode\": \"1234567890\",\r\n \"description\": \"Item A - Barcode scanning item\",\r\n \"currentLocation\": \"Warehouse\",\r\n \"serviceId\": null,\r\n \"productVariantId\": null,\r\n \"quantity\": 1\r\n }\r\n ]\r\n },\r\n \"brandId\": null,\r\n \"contact\": {\r\n \"name\": \"Matthew Robinson\",\r\n \"phone\": \"0123456789\",\r\n \"email\": \"matt.robinson@email.com\"\r\n },\r\n \"customFields\": {\r\n \"custom1\": \"value\",\r\n \"custom2\": \"value\",\r\n \"custom3\": \"value\"\r\n },\r\n \"skills\": \"skills1, skills2, skills3\",\r\n \"notes\": \"Please call before you deliver\",\r\n \"source\": null,\r\n \"sourceReference\": null,\r\n \"load\": {\r\n \"quantity\": 0,\r\n \"volume\": 0,\r\n \"weight\": 0,\r\n \"length\": 0,\r\n \"width\": 0,\r\n \"height\": 0\r\n },\r\n \"customerId\": null,\r\n \"runNumber\": null,\r\n \"teamRegionId\": null,\r\n \"contents\": null,\r\n \"lines\": [\r\n {\r\n \"barcode\": \"1234567890\",\r\n \"description\": \"Item A - Barcode scanning item\",\r\n \"currentLocation\": \"Warehouse\",\r\n \"serviceId\": 0,\r\n \"productVariantId\": 0,\r\n \"quantity\": 1\r\n }\r\n ],\r\n \"chargeLines\": null,\r\n \"costLines\": null\r\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"tripDate\": \"2024-02-07T08:05:32.420Z\",\r\n \"pickupStop\": {\r\n \"contact\": {\r\n \"name\": \"Matthew Robinson\",\r\n \"phone\": \"0123456789\",\r\n \"email\": \"matt.robinson@email.com\"\r\n },\r\n \"brandId\": null,\r\n \"name\": \"Locate2u Pickup Stop\",\r\n \"address\": \"Level 4, Suite 4.11, 55 Miller St, Pyrmont NSW 2009, Australia\",\r\n \"tripDate\": \"2024-02-07\",\r\n \"location\": {\r\n \"latitude\": -33.8706672,\r\n \"longitude\": 151.192487\r\n },\r\n \"appointmentTime\": \"10:00\",\r\n \"timeWindowStart\": null,\r\n \"timeWindowEnd\": null,\r\n \"durationMinutes\": 10,\r\n \"notes\": \"Please call before you deliver\",\r\n \"customerId\": 81691,\r\n \"teamRegionId\": null,\r\n \"driverInstructions\": null,\r\n \"lines\": [\r\n {\r\n \"barcode\": \"1234567890\",\r\n \"description\": \"Item A - Barcode scanning item\",\r\n \"currentLocation\": \"Warehouse\",\r\n \"serviceId\": null,\r\n \"productVariantId\": null,\r\n \"quantity\": 1\r\n }\r\n ]\r\n },\r\n \"dropStop\": {\r\n \"contact\": {\r\n \"name\": \"Matthew Robinson\",\r\n \"phone\": \"0123456789\",\r\n \"email\": \"matt.robinson@email.com\"\r\n },\r\n \"brandId\": null,\r\n \"name\": \"Locate2u Drop Stop\",\r\n \"address\": \"1 William St, Darlinghurst NSW 2010, Australia\",\r\n \"tripDate\": \"2024-02-08\",\r\n \"location\": {\r\n \"latitude\": -33.8743446,\r\n \"longitude\": 151.2131667\r\n },\r\n \"appointmentTime\": \"12:00\",\r\n \"timeWindowStart\": null,\r\n \"timeWindowEnd\": null,\r\n \"durationMinutes\": 10,\r\n \"notes\": \"Please call before you deliver\",\r\n \"customerId\": 81691,\r\n \"teamRegionId\": null,\r\n \"driverInstructions\": null,\r\n \"lines\": [\r\n {\r\n \"barcode\": \"1234567890\",\r\n \"description\": \"Item A - Barcode scanning item\",\r\n \"currentLocation\": \"Warehouse\",\r\n \"serviceId\": null,\r\n \"productVariantId\": null,\r\n \"quantity\": 1\r\n }\r\n ]\r\n },\r\n \"brandId\": null,\r\n \"contact\": {\r\n \"name\": \"Matthew Robinson\",\r\n \"phone\": \"0123456789\",\r\n \"email\": \"matt.robinson@email.com\"\r\n },\r\n \"customFields\": {\r\n \"custom1\": \"value\",\r\n \"custom2\": \"value\",\r\n \"custom3\": \"value\"\r\n },\r\n \"skills\": \"skills1, skills2, skills3\",\r\n \"notes\": \"Please call before you deliver\",\r\n \"source\": null,\r\n \"sourceReference\": null,\r\n \"load\": {\r\n \"quantity\": 0,\r\n \"volume\": 0,\r\n \"weight\": 0,\r\n \"length\": 0,\r\n \"width\": 0,\r\n \"height\": 0\r\n },\r\n \"customerId\": null,\r\n \"runNumber\": null,\r\n \"teamRegionId\": null,\r\n \"contents\": null,\r\n \"lines\": [\r\n {\r\n \"barcode\": \"1234567890\",\r\n \"description\": \"Item A - Barcode scanning item\",\r\n \"currentLocation\": \"Warehouse\",\r\n \"serviceId\": 0,\r\n \"productVariantId\": 0,\r\n \"quantity\": 1\r\n }\r\n ],\r\n \"chargeLines\": null,\r\n \"costLines\": null\r\n}");
Request request = new Request.Builder()
.url("https://api.locate2u.com/api/v1/shipments")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Authorization", "Bearer yourBearerTokenHere")
.build();
Response response = client.newCall(request).execute();
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://api.locate2u.com/api/v1/shipments',
'headers': {
'Content-Type': 'application/json',
'Authorization': 'Bearer yourBearerTokenHere'
},
body: JSON.stringify({
"tripDate": "2024-02-07T08:05:32.420Z",
"pickupStop": {
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"brandId": null,
"name": "Locate2u Pickup Stop",
"address": "Level 4, Suite 4.11, 55 Miller St, Pyrmont NSW 2009, Australia",
"tripDate": "2024-02-07",
"location": {
"latitude": -33.8706672,
"longitude": 151.192487
},
"appointmentTime": "10:00",
"timeWindowStart": null,
"timeWindowEnd": null,
"durationMinutes": 10,
"notes": "Please call before you deliver",
"customerId": 81691,
"teamRegionId": null,
"driverInstructions": null,
"lines": [
{
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"currentLocation": "Warehouse",
"serviceId": null,
"productVariantId": null,
"quantity": 1
}
]
},
"dropStop": {
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"brandId": null,
"name": "Locate2u Drop Stop",
"address": "1 William St, Darlinghurst NSW 2010, Australia",
"tripDate": "2024-02-08",
"location": {
"latitude": -33.8743446,
"longitude": 151.2131667
},
"appointmentTime": "12:00",
"timeWindowStart": null,
"timeWindowEnd": null,
"durationMinutes": 10,
"notes": "Please call before you deliver",
"customerId": 81691,
"teamRegionId": null,
"driverInstructions": null,
"lines": [
{
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"currentLocation": "Warehouse",
"serviceId": null,
"productVariantId": null,
"quantity": 1
}
]
},
"brandId": null,
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"customFields": {
"custom1": "value",
"custom2": "value",
"custom3": "value"
},
"skills": "skills1, skills2, skills3",
"notes": "Please call before you deliver",
"source": null,
"sourceReference": null,
"load": {
"quantity": 0,
"volume": 0,
"weight": 0,
"length": 0,
"width": 0,
"height": 0
},
"customerId": null,
"runNumber": null,
"teamRegionId": null,
"contents": null,
"lines": [
{
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"currentLocation": "Warehouse",
"serviceId": 0,
"productVariantId": 0,
"quantity": 1
}
],
"chargeLines": null,
"costLines": null
})
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
'https://api.locate2u.com/api/v1/shipments',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"tripDate": "2024-02-07T08:05:32.420Z",
"pickupStop": {
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"brandId": null,
"name": "Locate2u Pickup Stop",
"address": "Level 4, Suite 4.11, 55 Miller St, Pyrmont NSW 2009, Australia",
"tripDate": "2024-02-07",
"location": {
"latitude": -33.8706672,
"longitude": 151.192487
},
"appointmentTime": "10:00",
"timeWindowStart": null,
"timeWindowEnd": null,
"durationMinutes": 10,
"notes": "Please call before you deliver",
"customerId": 81691,
"teamRegionId": null,
"driverInstructions": null,
"lines": [
{
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"currentLocation": "Warehouse",
"serviceId": null,
"productVariantId": null,
"quantity": 1
}
]
},
"dropStop": {
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"brandId": null,
"name": "Locate2u Drop Stop",
"address": "1 William St, Darlinghurst NSW 2010, Australia",
"tripDate": "2024-02-08",
"location": {
"latitude": -33.8743446,
"longitude": 151.2131667
},
"appointmentTime": "12:00",
"timeWindowStart": null,
"timeWindowEnd": null,
"durationMinutes": 10,
"notes": "Please call before you deliver",
"customerId": 81691,
"teamRegionId": null,
"driverInstructions": null,
"lines": [
{
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"currentLocation": "Warehouse",
"serviceId": null,
"productVariantId": null,
"quantity": 1
}
]
},
"brandId": null,
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"customFields": {
"custom1": "value",
"custom2": "value",
"custom3": "value"
},
"skills": "skills1, skills2, skills3",
"notes": "Please call before you deliver",
"source": null,
"sourceReference": null,
"load": {
"quantity": 0,
"volume": 0,
"weight": 0,
"length": 0,
"width": 0,
"height": 0
},
"customerId": null,
"runNumber": null,
"teamRegionId": null,
"contents": null,
"lines": [
{
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"currentLocation": "Warehouse",
"serviceId": 0,
"productVariantId": 0,
"quantity": 1
}
],
"chargeLines": null,
"costLines": null
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Bearer yourBearerTokenHere'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
import json
url = "https://api.locate2u.com/api/v1/shipments"
payload = json.dumps({
"tripDate": "2024-02-07T08:05:32.420Z",
"pickupStop": {
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"brandId": None,
"name": "Locate2u Pickup Stop",
"address": "Level 4, Suite 4.11, 55 Miller St, Pyrmont NSW 2009, Australia",
"tripDate": "2024-02-07",
"location": {
"latitude": -33.8706672,
"longitude": 151.192487
},
"appointmentTime": "10:00",
"timeWindowStart": None,
"timeWindowEnd": None,
"durationMinutes": 10,
"notes": "Please call before you deliver",
"customerId": 81691,
"teamRegionId": None,
"driverInstructions": None,
"lines": [
{
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"currentLocation": "Warehouse",
"serviceId": None,
"productVariantId": None,
"quantity": 1
}
]
},
"dropStop": {
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"brandId": None,
"name": "Locate2u Drop Stop",
"address": "1 William St, Darlinghurst NSW 2010, Australia",
"tripDate": "2024-02-08",
"location": {
"latitude": -33.8743446,
"longitude": 151.2131667
},
"appointmentTime": "12:00",
"timeWindowStart": None,
"timeWindowEnd": None,
"durationMinutes": 10,
"notes": "Please call before you deliver",
"customerId": 81691,
"teamRegionId": None,
"driverInstructions": None,
"lines": [
{
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"currentLocation": "Warehouse",
"serviceId": None,
"productVariantId": None,
"quantity": 1
}
]
},
"brandId": None,
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"customFields": {
"custom1": "value",
"custom2": "value",
"custom3": "value"
},
"skills": "skills1, skills2, skills3",
"notes": "Please call before you deliver",
"source": None,
"sourceReference": None,
"load": {
"quantity": 0,
"volume": 0,
"weight": 0,
"length": 0,
"width": 0,
"height": 0
},
"customerId": None,
"runNumber": None,
"teamRegionId": None,
"contents": None,
"lines": [
{
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"currentLocation": "Warehouse",
"serviceId": 0,
"productVariantId": 0,
"quantity": 1
}
],
"chargeLines": None,
"costLines": None
})
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer yourBearerTokenHere'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Response
Response
Upon successful execution, the API returns a status code of 200 and a JSON response containing the newly created shipment’s ID, brand ID, status, shipment reference, contact information, trip date, skills, custom fields, last modified date, notes, source, load details, customer ID, pickup stop ID, drop stop ID, and other relevant details.
Sample response :
{
"shipmentId": 174538,
"brandId": null,
"status": "Pending",
"shipmentRef": "LSS20240702ATSBGF",
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"tripDate": "2024-02-07",
"skills": "skills1, skills2, skills3",
"customFields": {
"custom1": "value",
"custom2": "value",
"custom3": "value"
},
"lastModifiedDate": null,
"notes": "Please call before you deliver",
"source": null,
"sourceReference": null,
"load": {
"quantity": 0,
"volume": 0,
"weight": 0,
"length": 0,
"width": 0,
"height": 0
},
"customerId": null,
"runNumber": null,
"teamRegionId": null,
"pickupStopId": 5295400,
"pickupStop": {
"stopId": 5295400,
"brandId": null,
"status": "Pending",
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"name": "Locate2u Pickup Stop",
"address": "Level 4, Suite 4.11, 55 Miller St, Pyrmont NSW 2009, Australia",
"location": {
"latitude": -33.8706672,
"longitude": 151.192487
},
"tripDate": "2024-02-07",
"tripId": 0,
"appointmentTime": "10:00",
"timeWindowStart": null,
"timeWindowEnd": null,
"durationMinutes": 10,
"notes": "Please call before you deliver",
"lastModifiedDate": "2024-02-07T10:00:45.209Z",
"customFields": {},
"arrivalDate": null,
"customerId": 81691,
"teamRegionId": null,
"driverInstructions": null,
"lines": [
{
"lineId": 4019290,
"itemId": 2783458,
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"status": "Created",
"itemStatus": "Created",
"serviceId": 0,
"productVariantId": 0,
"quantity": 1.0,
"unitPriceExTax": null,
"priceCurrency": null
}
]
},
"dropStopId": 5295401,
"dropStop": {
"stopId": 5295401,
"brandId": null,
"status": "Pending",
"contact": {
"name": "Matthew Robinson",
"phone": "0123456789",
"email": "matt.robinson@email.com"
},
"name": "Locate2u Drop Stop",
"address": "1 William St, Darlinghurst NSW 2010, Australia",
"location": {
"latitude": -33.8743446,
"longitude": 151.2131667
},
"tripDate": "2024-02-08",
"tripId": 0,
"appointmentTime": "12:00",
"timeWindowStart": null,
"timeWindowEnd": null,
"durationMinutes": 10,
"notes": "Please call before you deliver",
"lastModifiedDate": "2024-02-07T10:00:45.577Z",
"customFields": {},
"arrivalDate": null,
"customerId": 81691,
"teamRegionId": null,
"driverInstructions": null,
"lines": [
{
"lineId": 4019291,
"itemId": 2783458,
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"status": "Created",
"itemStatus": "Created",
"serviceId": null,
"productVariantId": null,
"quantity": 1.0,
"unitPriceExTax": null,
"priceCurrency": null
},
{
"lineId": 4019292,
"itemId": 2783458,
"barcode": "1234567890",
"description": "Item A - Barcode scanning item",
"status": "Created",
"itemStatus": "Created",
"serviceId": null,
"productVariantId": null,
"quantity": 0.0,
"unitPriceExTax": null,
"priceCurrency": null
}
]
},
"contents": null,
"chargeLines": [],
"costLines": []
}