After a recent discovery we are making a small change to our job creation request on the 28th of February.
According to the API documentation it has always been mandatory when creating a job to provide one of the following as contact information: (firstname and lastname) or (company). That mandatory check will begin to be enforced from the below date.
After the 28th of February any job creation will be rejected if the contact information for pickup or dropoff does not contain either (firstname AND lastname) OR (company).
This change should not effect you, but it is worth checking if you are currently validating this contact information correctly. Please ensure for job.pickups[0].contact
and job.dropoffs[0].contact
that you are providing a minimum of (firstname and lastname) or (company).
For all jobs, please ensure that you are providing at least:
job.pickups[0].contact.firstname AND job.pickups[0].contact.lastname
|
OR | job.pickups[0].contact.company |
AND | ||
---|---|---|
job.dropoffs[0].contact.firstname AND job.dropoffs[0].contact.lastname
|
OR | job.dropoffs[0].contact.company |
Not verifying these conditions will give you the following error at job creation for pickup (similar error for dropoff):
{
"error": "PICKUP_CONTACT_INVALID",
"message": "Provide either first_name and last_name or company"
}
If you have any questions or concerns, please comment and we will be happy to help