Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

PostalServices /GetPostalServices

Allows 150 calls per minute

Response: List<PostalService_WithChannelAndShippingLinks>



Gets a list of the users postal services and information on channels and couriers linked to each service

Parameters

No parameters required.

Permissions

GlobalPermissions.ShippingService.PostalServicesNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/PostalServices/GetPostalServices

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

Response

This is an example of the response JSON. Results will vary depending on your data.

[
  {
    "id": "bac20462-5873-40c6-ad81-ea0459ce11dd",
    "hasMappedShippingService": true,
    "Channels": [
      {
        "pkPostalServiceId": "79aa5340-c823-4d88-bc8f-b8d75a190de1",
        "PostalServiceName": "sample string 2",
        "Source": "sample string 3",
        "SubSource": "sample string 4"
      }
    ],
    "ShippingServices": [
      {
        "pkPostalServiceId": "e3ea0b7b-7e6f-4daa-91b1-40f0f4c9018c",
        "PostalServiceName": "sample string 2",
        "vendor": "sample string 3",
        "accountid": "sample string 4",
        "vendorFriendlyName": "sample string 5"
      }
    ],
    "PostalServiceName": "sample string 2",
    "PostalServiceTag": "sample string 3",
    "ServiceCountry": "sample string 4",
    "PostalServiceCode": "sample string 5",
    "Vendor": "sample string 6",
    "PrintModule": "sample string 7",
    "PrintModuleTitle": "sample string 8",
    "pkPostalServiceId": "bac20462-5873-40c6-ad81-ea0459ce11dd",
    "TrackingNumberRequired": true,
    "WeightRequired": true,
    "IgnorePackagingGroup": true,
    "fkShippingAPIConfigId": 13,
    "IntegratedServiceId": "7c4659de-678a-47ac-9bd7-a2016894be38"
  }
]