Back

Search

Search

Methods

Inventory

Orders

Orders /ClearShippingLabelInfo

Response: List<KeyValuePair>



Clear the shipping label info to a list of orders

Parameters

NameTypeDescription
orderIdsList<Guid>Order ids
withoutConfirmationBooleanskip any confirmation message

HTTP Endpoint

Server /Orders / ClearShippingLabelInfo

Permissions


Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Orders/ClearShippingLabelInfo HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

orderIds=[
  "ab2b737e-7879-4a69-bae5-70e5af3880f9",
  "8e9d1103-7934-430c-aea7-ed7bd2a33e88"
]&withoutConfirmation=true

Response

This is an example response. Results may vary depending on your data.

[
  {
    "Key": "5be277e2-62fe-4bb1-84b2-0ff943134d0f",
    "Value": "sample string 2"
  },
  {
    "Key": "b40acfa8-678c-4cff-848d-f01bc82daf1c",
    "Value": "sample string 2"
  }
]