Skip to main content
PUT
/
v2
/
item-filters
/
{id}
Replace an Item filter
curl --request PUT \
  --url https://api-sandbox.argyle.com/v2/item-filters/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "filters": {}
}
'
{
  "id": "087394d4-83b5-4722-8c5e-0235362c12f5",
  "name": "Multiple allocations for deposit switches"
}

Authorizations

Authorization
string
header
required

Username = api_key_id, Password = api_key_secret

Path Parameters

id
string<uuid>
required

ID of the Item filter whose filters are to be replaced.

Body

application/json
name
string
required

Name for the revised Item filter.

The ID of the Item filter does not change after the replacement filters are substituted.

filters
object

The replacement set of filters.

Response

200 - application/json
id
string

The ID of the item filter.

Example:

"087394d4-83b5-4722-8c5e-0235362c12f5"

name
string

The name of the item filter.

Example:

"Multiple allocations for deposit switches"