Created
December 14, 2023 07:06
-
-
Save iansalazar444/535ab04267034e4af8de861f28c8a15d to your computer and use it in GitHub Desktop.
Job Payload with Restricted Items
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"error": "RECORD_INVALID", | |
"message": "Unable to save record", | |
"data": { | |
"job.dropoffs.delivery_options": [ | |
"Unknown restricted items: TOBACCO, LOTTERY, KNIVES, FIREWORKS, SOLVENTS, SUNBEDS" | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"job": { | |
"pickups": [ | |
{ | |
"address": "32 Coombe Ln, Raynes Park, London SW20 0LA", | |
"comment": "Ask Bobby", | |
"contact": { | |
"firstname": "Bobby", | |
"lastname": "Brown", | |
"phone": "+33610101010", | |
"email": "bobby.brown@pizzashop.com", | |
"company": "Pizza Shop" | |
} | |
} | |
], | |
"dropoffs": [ | |
{ | |
"package_type": "medium", | |
"client_reference": "123123123s4", | |
"address": "23 Ethelbert Rd, London SW20 8QD", | |
"comment": "3nd floor on the right", | |
"contact": { | |
"firstname": "Julia", | |
"lastname": "Moore", | |
"phone": "+33712222222", | |
"email": "client3@email.com", | |
"company": "Sample Company Inc." | |
}, | |
"partner_data": { | |
"integrator": "Locate2U" | |
}, | |
"delivery_options": { | |
"restricted_items": ["ALCOHOL","TOBACCO","LOTTERY","KNIVES","FIREWORKS","SOLVENTS","SUNBEDS"] | |
} | |
} | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"job": { | |
"pickups": [ | |
{ | |
"address": "32 Coombe Ln, Raynes Park, London SW20 0LA", | |
"comment": "Ask Bobby", | |
"contact": { | |
"firstname": "Bobby", | |
"lastname": "Brown", | |
"phone": "+33610101010", | |
"email": "bobby.brown@pizzashop.com", | |
"company": "Pizza Shop" | |
} | |
} | |
], | |
"dropoffs": [ | |
{ | |
"package_type": "medium", | |
"client_reference": "123123123s4", | |
"address": "23 Ethelbert Rd, London SW20 8QD", | |
"comment": "3nd floor on the right", | |
"contact": { | |
"firstname": "Julia", | |
"lastname": "Moore", | |
"phone": "+33712222222", | |
"email": "client3@email.com", | |
"company": "Sample Company Inc." | |
}, | |
"partner_data": { | |
"integrator": "Locate2U" | |
}, | |
"delivery_options": { | |
"restricted_items": ["ALCOHOL"] | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment