Show / Hide Table of Contents

    400 - Invalid Address Type

    • v2
    • validation
    • pro
    • api
    • shipments
    • error
    • 400
    Tip

    The error code invalid_address_type is returned when an invalid value is provided for the address_type property of an address.

    This error code will be returned, for example, if an attempt is made to create a shipment with an unrecognised address_type:

    {
      "addresses": [
        {
          "address_type": "dest",
          //other address properties
        }
      ]
    }
    
    Note

    The accepted values for address_type include:

    • origin
    • destination
    • billing
    • return
    • sender
    • recipient
    • importer
    • exporter

    The standard use case for addresses is to provide both an origin and a destination address.

    Back to top Copyright © Sorted Group 2023. Generated by DocFX