Endpoints for quoting, booking, and retrieving shipments
pickupName | string Name of the pickup point of contact. This field is optional and will overwrite the existing value if the address object exists. When using pickupAddressId, it is not recommended unless you are deliberately trying to overwrite the existing value. |
pickupPhone | string Phone number of the pickup point of contact. This field is optional and will overwrite the existing value if the address object exists. When using pickupAddressId, it is not recommended unless you are deliberately trying to overwrite the existing value. |
pickupEmail | string Email of the pickup point of contact. This field is optional and will overwrite the existing value if the address object exists. When using pickupAddressId, it is not recommended unless you are deliberately trying to overwrite the existing value. |
pickupAddressId | string BTL place id for the pickup location. Either this or the pickupAddress must be specified, but not both. |
object (Address) | |
customerName required | string Full name of the customer receiving the delivery |
customerPhone required | string Phone number of the customer receiving the delivery |
customerEmail | string Email address of the customer receiving the delivery. Required when billingMethod is "customer". |
required | object (Address) |
required | Array of objects (ItemArray) |
billingMethod required | string Enum: "store" "customer" Who to bill for this job |
salesOrder | string Sales order (generated by shipper) |
notes | string Notes to BTL team for this delivery |
fieldNotes | string Notes to the delivery crew |
isThreshold | boolean Whether the job is a threshold job or white-glove job |
holdPickupUntil | string <date> Date until which the pickup should be held. Job will not be picked up before this date. |
{- "pickupName": "John Doe",
- "pickupPhone": "(510) 767-2676",
- "pickupEmail": "john.doe@example.com",
- "pickupAddressId": "AaBbCc1234567890",
- "pickupAddress": {
- "street": "123 Main St.",
- "street2": "Apt 1",
- "city": "Anywhere",
- "state": "CA",
- "zip": 90001
}, - "customerName": "John Doe",
- "customerPhone": "(510) 767-2676",
- "customerEmail": "john.doe@example.com",
- "deliveryAddress": {
- "street": "123 Main St.",
- "street2": "Apt 1",
- "city": "Anywhere",
- "state": "CA",
- "zip": 90001
}, - "items": [
- {
- "name": "Ash Dining Table 60in, Farmhouse",
- "quantity": 1,
- "assembly": true,
- "pieces": [
- {
- "description": "Table top",
- "lengthIn": 65,
- "widthIn": 36,
- "heightIn": 6,
- "weightLb": 75,
- "quantity": 1
}, - {
- "description": "Table legs",
- "lengthIn": 30,
- "widthIn": 12,
- "heightIn": 12,
- "weightLb": 20,
- "quantity": 1
}
]
}, - {
- "name": "Oak Dining Chair w/Cushion",
- "quantity": 6,
- "assembly": false,
- "pieces": [
- {
- "description": "Chair",
- "lengthIn": 24,
- "widthIn": 24,
- "heightIn": 48,
- "weightLb": 10,
- "quantity": 1
}
]
}
], - "billingMethod": "store",
- "salesOrder": "ABC12345",
- "notes": "Crate is heavy (400 lbs)",
- "fieldNotes": "Please visit example.com for assembly instructions",
- "isThreshold": true,
- "holdPickupUntil": "2024-12-20"
}
{- "trackingNumber": 12345678901,
- "dashboardUrl": "string",
- "trackingUrl": "string",
- "label4x6Url": "string",
- "labelLetterUrl": "string",
- "invoice": {
- "totalPrice": 47000,
- "lineItems": [
- {
- "description": "Flex delivery",
- "unitPrice": 39000,
- "quantity": 1
}, - {
- "description": "Assembly",
- "unitPrice": 8000,
- "quantity": 1
}
]
}
}
id required | integer <int64> Tracking number for a job |
{- "trackingNumber": 12345678901,
- "pickupLocationId": "abcdefgh1234",
- "progressStage": "booked",
- "pickupStatus": "pending",
- "deliveryStatus": "pending",
- "customerName": "John Doe",
- "customerPhone": "(510) 767-2676",
- "customerEmail": "john.doe@example.com",
- "deliveryAddress": "1234 Main St., Anywhere, NY 10001",
- "items": [
- {
- "name": "Ash Dining Table 60in, Farmhouse",
- "quantity": 1,
- "assembly": true,
- "pieces": [
- {
- "description": "Table top",
- "lengthIn": 65,
- "widthIn": 36,
- "heightIn": 6,
- "weightLb": 75,
- "quantity": 1
}, - {
- "description": "Table legs",
- "lengthIn": 30,
- "widthIn": 12,
- "heightIn": 12,
- "weightLb": 20,
- "quantity": 1
}
]
}, - {
- "name": "Oak Dining Chair w/Cushion",
- "quantity": 6,
- "assembly": false,
- "pieces": [
- {
- "description": "Chair",
- "lengthIn": 24,
- "widthIn": 24,
- "heightIn": 48,
- "weightLb": 10,
- "quantity": 1
}
]
}
], - "numPieces": 2,
- "billingMethod": "store",
- "salesOrder": "ABC12345",
- "notes": "Crate is heavy (400 lbs)",
- "fieldNotes": "Please visit example.com for assembly instructions",
- "invoice": {
- "totalPrice": 47000,
- "lineItems": [
- {
- "description": "Flex delivery",
- "unitPrice": 39000,
- "quantity": 1
}, - {
- "description": "Assembly",
- "unitPrice": 8000,
- "quantity": 1
}
]
}, - "scheduledDate": "2021-01-01",
- "dashboardUrl": "string",
- "trackingUrl": "string",
- "label4x6Url": "string",
- "labelLetterUrl": "string",
- "isThreshold": true
}
Deletes a job if it's within 48 hours of creation and hasn't been processed by Blue Truck
id required | integer <int64> Tracking number for a job |
{- "detail": "This job cannot be deleted."
}
Calculates an estimate for the cost of a job. Returns individual line items as well as a total summation of price.
pickupAddressId | string BTL place id for the pickup location. Either this or the pickupAddress must be specified, but not both. |
object (Address) | |
object (Address) | |
Array of objects (ItemArray) |
{- "pickupAddressId": "AaBbCc1234567890",
- "pickupAddress": {
- "street": "123 Main St.",
- "street2": "Apt 1",
- "city": "Anywhere",
- "state": "CA",
- "zip": 90001
}, - "deliveryAddress": {
- "street": "123 Main St.",
- "street2": "Apt 1",
- "city": "Anywhere",
- "state": "CA",
- "zip": 90001
}, - "items": [
- {
- "name": "Ash Dining Table 60in, Farmhouse",
- "quantity": 1,
- "assembly": true,
- "pieces": [
- {
- "description": "Table top",
- "lengthIn": 65,
- "widthIn": 36,
- "heightIn": 6,
- "weightLb": 75,
- "quantity": 1
}, - {
- "description": "Table legs",
- "lengthIn": 30,
- "widthIn": 12,
- "heightIn": 12,
- "weightLb": 20,
- "quantity": 1
}
]
}, - {
- "name": "Oak Dining Chair w/Cushion",
- "quantity": 6,
- "assembly": false,
- "pieces": [
- {
- "description": "Chair",
- "lengthIn": 24,
- "widthIn": 24,
- "heightIn": 48,
- "weightLb": 10,
- "quantity": 1
}
]
}
]
}
{- "totalPrice": 47000,
- "lineItems": [
- {
- "description": "Flex delivery",
- "unitPrice": 39000,
- "quantity": 1
}, - {
- "description": "Assembly",
- "unitPrice": 8000,
- "quantity": 1
}
]
}