On sandbox, when I send the following JSON, it fails, can you tell me why?
Query:
{“job”:{“pickup_at”:“2018-06-28 16:06:30”,“transport_type”:“bike”,“pickups”:[{“address”:“210 cours victor hugo, 33130 B\u00e8gles”}],“dropoffs”:[{“address”:“1 cours victor hugo, 33130 B\u00e8gles”}]}}
Response :
array(3) {
[“error”]=>
string(14) “RECORD_INVALID”
[“message”]=>
string(21) “Unable to save record”
[“data”]=>
array(1) {
[“deliveries”]=>
array(3) {
[0]=>
string(10) “is invalid”
[1]=>
string(33) “Destination place: can’t be blank”
[2]=>
string(51) “Destination place: Contact phone: “” can’t be blank”
}
}
}