Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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": "203790d5-d601-4e31-8f62-406c715125da",
  "TrackingNumberRequired": true,
  "WeightRequired": true,
  "IgnorePackagingGroup": true,
  "fkShippingAPIConfigId": 12,
  "IntegratedServiceId": "496d32cc-ca61-4cbc-8194-31f87174719c"
}

Response

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