Skip to content

Merchant Fulfillment v0 - getEligibleShipmentServices - InvalidInput #5170

@Ahmed-Sajjad

Description

@Ahmed-Sajjad

I'm getting the InvalidInput error when trying to get data from the getEligibleShipmentServices. My address is UK based and want to know what I'm doing wrong. Here is the JSON request payload

Request Payload

{
  "ShipmentRequestDetails": {
    "AmazonOrderId": "XXX-XXXXXXX-XXXXXXX",
    "ItemList": [
      {
        "OrderItemId": "XXXXXXXXXXXXXX",
        "Quantity": 1
      }
    ],
    "ShipFromAddress": {
      "Name": "XXXXXX XXXXXXXXXXXX XXXXXX",
      "AddressLine1": "XXXXXXX XXXXXX,",
      "AddressLine2": "Stockton-on-Tees,",
      "City": "Billingham",
      "StateOrProvinceCode": "County Durham",
      "Email": "XXXXXXXX.XXXXXXX@XXXXXX.XX.XX",
      "CountryCode": "GB",
      "PostalCode": "XXXX XXX",
      "Phone": "XXX XXXX XXXX"
    },
    "PackageDimensions": {
      "Length": 0.001,
      "Width": 0.001,
      "Height": 0.001,
      "Unit": "inches"
    },
    "Weight": {
      "Value": 0.001,
      "Unit": "g"
    },
    "ShippingServiceOptions": {
      "DeliveryExperience": "DeliveryConfirmationWithoutSignature",
      "CarrierWillPickUp": true,
      "LabelFormat": "PNG"
    }
  }
}

Response JSON

{
    "errors": [
        {
            "code": "InvalidInput",
            "message": "Invalid Input",
            "details": ""
        }
    ]
}

Any help will be appreciated, Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions