Developer Forum Equinix Customer Portal APIs EQ-2016010 Error With Outbound ShipmentsClosed
 The Developer Forum is shutting down. Please join the Equinix Community to participate in new discussions.
CC
API User
Tuesday, April 11, 2023 - 10:28

I am passing JSON for ordering outbound shipments. The json is below but its pretty much that same as my inbound JSON which is fine. The issue I am getting with the outbound order is that I am getting this error b'[{"errorCode":"EQ-2016010","errorMessage":"One or more properties are invalid","correlationId":"105073684364570","additionalInfo":[{"property":"details.carrierTrackingNumbers","reason":"details.carrierTrackingNumbers should NOT have more than 1 items","value":["123456789", "987654321"]}]}]'.

My JSON:

{
    "type": "OUTBOUND",
    "customerReferenceId": "x",
    "requestedDateTime": "2023-04-12T07:00:00.000Z",
    "cageId": "x",
    "details": {
        "carrier": "FEDEX",
        "numberOfBoxes": 2,
        "declaredValue": 1,
        "declaredValueCurrency": "USD",
        "carrierTrackingNumbers": ["123456789", "987654321"],
        "shipmentLabelRequired": false
    }
}

Just for reference this is my inbound which is working as expected.

{
    "type": "INBOUND",
    "customerReferenceId": "x",
    "requestedDateTime": "2023-04-12T07:00:00.000Z",
    "cageId": "x",
    "details": {
        "carrier": "FEDEX",
        "numberOfBoxes": 2,
        "carrierTrackingNumbers": ["123456789", "987654321"],
        "cageDelivery": false
    }
}

Not really sure why I am getting that error, just hoping its something simple. This happens on both the sandbox and in prod.

ZW
API User
Wednesday, April 19, 2023 - 09:33

Hi there,

Thanks for writing to Equinix. For outbound shipments, we currently only accept a single tracking number. Can you retry and let me know if it works?

 

CC
API User
Wednesday, April 19, 2023 - 22:19

Ok, it works with one tracking number for sure but why does the API only accept a single tracking number while using the Customer Portal accepts multiple tracking numbers? Is there a way that this can be updated? The Shipping departments at the sites I believe cannot scan these tracking numbers if multiple are entered in as a string via the API.

ZW
API User
Tuesday, May 2, 2023 - 10:21

Thanks for the confirmation and feedback.

I will communicate this to our Product team and ensure this get captured in the backlog

Equinix Customer Portal


APIs that enables all aspects of Equinix Customer Portal features in a programmatic way. Includes user administration, order management & many other capabilities.