API_User
6 years agoLevel 9
Issue with Shipments API
I'm currently getting a 400 response without any sort of indication of what the problem may be. Here is an example request that I am sending with some information redacted:
{
"ibxLocation": {
"cages": [
{
"cage": "AM2:1234",
"accountNumber": "1234"
}
],
"ibx": "AM2"
},
"customerReferenceNumber": null,
"serviceDetails": {
"estimatedDateTime": "2019-07-27T00:00:00+00:00",
"shipmentDetails": {
"noOfBoxes": 3,
"trackingNumber": [
"123123123"
],
"inboundType": "CARRIER",
"description": null,
"carrierName": "UPS"
}
},
"contacts": [
{
"contactType": "NOTIFICATION",
"userName": "test@test.com",
"name": "First Last"
},
{
"contactType": "ORDERING",
"userName": "test@test.com",
"name": "First Last"
}
]
}
Please let me know if you need any information so that we can resolve this issue.