Skip to main content
POST
Create a job
Use the Create Job endpoint to add a single job to Detrack. You must provide do_number and date, plus an address (either address or the address lines). You can also include items, contact details, instructions, and many other job fields. For what status, primary_job_status, and tracking_status mean, see Status fields. See also Retrieve job, Update job, and List jobs.

Authorizations

X-API-KEY
string
header
required

Your Detrack API key, from Integrations > API Key in the dashboard.

Body

application/json
data
object
required

Fields for creating a job. do_number and date are required. address is required unless you send address_1, address_2, or address_3. Your account settings can make other fields mandatory.

Response

Created. The Location header has the job's retrieve URL.

data
object

A delivery or collection job. Most text fields are free text that your account can rename in the dashboard; each description gives the field's default dashboard label. Fields marked "Pick-up jobs only" are returned only for jobs created while your account had pick-up and delivery (courier) mode on. Timestamps are in your account's time zone. If your API key belongs to a customer-role user, fields your account hides from customers are left out.