Get a page of shipping ports

Query Parameters
  • PageIndex
    Type: integer Format: int32

    The page index of the search.

  • PageSize
    Type: integer Format: int32

    The number of shipping ports to be returned in the response. Returns pages of up to 500 records.

  • SearchText
    Type: string

    The search text to filter shipping ports by. This can be all or part of a shipping port name, code or country.

Responses
  • application/json
Request Example for get/v1/shipping-ports
curl https://api.consignlyhq.com/v1/shipping-ports
{
  "index": 1,
  "total": 1,
  "shippingPorts": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "code": null,
      "name": null,
      "country": null
    }
  ]
}