Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

PostalServices /UpdatePostalService

Allows 150 calls per minute

Response: Void



Changes an existing postal service in the database

Parameters

NameTypeDescription
PostalServiceDetailsPostalServiceInformation about postal service

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/UpdatePostalService

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.

PostalServiceDetails={
  "PostalServiceName": "sample string 1",
  "PostalServiceTag": "sample string 2",
  "ServiceCountry": "sample string 3",
  "PostalServiceCode": "sample string 4",
  "Vendor": "sample string 5",
  "PrintModule": "sample string 6",
  "PrintModuleTitle": "sample string 7",
  "pkPostalServiceId": "b2e3093e-86e7-4055-9188-63cf4a00cd6c",
  "TrackingNumberRequired": true,
  "WeightRequired": true,
  "IgnorePackagingGroup": true,
  "fkShippingAPIConfigId": 12,
  "IntegratedServiceId": "cca28a9f-3737-4731-a7a5-b57e4f61cc1a"
}

Response

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