Use this call to update an existing user-specific view
Name | Type | Description |
---|---|---|
viewName | String | Current user-specific view name |
view | InventoryView | Updated user-specific view |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Inventory/UpdateUserSpecificView
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
This is an example of the request structure. Results will vary depending on your data.
viewName=sample string 1&view={
"Id": "82f6b813-901a-444f-a49d-8ce73771d6e6",
"Name": "sample string 2",
"Mode": 0,
"Source": "sample string 3",
"SubSource": "sample string 4",
"CountryCode": "sample string 5",
"CountryName": "sample string 6",
"Listing": 0,
"ShowOnlyChanged": true,
"IncludeProducts": 0,
"Filters": [
{
"FilterName": 0,
"DisplayName": "SKU / Title / Barcode",
"FilterNameExact": [
"sample string 1"
],
"Field": 2,
"Condition": 0,
"ConditionDisplayName": "Equals",
"Value": "sample string 1"
}
],
"Columns": [
{
"ColumnName": 0,
"DisplayName": "SKU",
"ExportName": "SKU",
"Group": 0,
"Field": 2,
"SortDirection": 0,
"Width": 1.1,
"IsEditable": false
}
],
"Channels": [
{
"Source": "sample string 1",
"SubSource": "sample string 2",
"SourceVersion": "sample string 3",
"SourceType": "sample string 4",
"Width": 5.1,
"ChannelId": 6
}
]
}
This is an example of the response JSON. Results will vary depending on your data.