Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

ShippingService /CancelOrderShippingLabel

Allows 150 calls per minute

Response: CancelOrderShippingLabelResponse



Cancels the shipping label for an order

Parameters

NameTypeDescription
requestCancelOrderShippingLabelRequest

Permissions

GlobalPermissions.ShippingService.ShippingLabelNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/ShippingService/CancelOrderShippingLabel

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={
  "pkOrderId": "c2f0451b-020d-4e21-bc5d-5337a6ac7e8f"
}

Response

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

{
  "LabelCanceled": true,
  "MustCancelManually": true,
  "IsError": true,
  "ErrorMessage": "sample string 4"
}