Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

PurchaseOrder /Update_AdditionalCostTypes

Allows 150 calls per minute

Response: Update_AdditionalCostTypesResponse



Update additional cost type

Parameters

NameTypeDescription
requestUpdate_AdditionalCostTypesRequest

Permissions

GlobalPermissions.Inventory.PurchaseOrder.ChangeAdditionalTypesNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/PurchaseOrder/Update_AdditionalCostTypes

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.

request={
  "AdditionalCostTypeId": 1,
  "TypeName": "sample string 2",
  "IsShippingType": true,
  "IsPartialAllocation": true,
  "Print": true,
  "AllocationMethod": 0
}

Response

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

{
  "UpdatedAdditionalCostType": {
    "AdditionalCostTypeId": 1,
    "TypeName": "sample string 2",
    "IsShippingType": true,
    "IsPartialAllocation": true,
    "Print": true,
    "AllocationMethod": 0
  }
}