Delete items
Use this method to delete a list of filtered items.
Please log in to see full path URL. Learn why.
delete
/catalogs/1/catalogs/{catalogId}/items
Authorizations:
Scopes:
Request rate limit:
5 requests / second (per account)
path Parameters
catalogId required | integer <int64> Example: 10000 Catalog id. |
query Parameters
queryFilter required | string Example: queryFilter=( type == "Jeans" AND type == "Shirt" ) OR ( price > 10.99 AND color == "Red" ) Enables filtering items using simple queries. Just pass to the parameter URL encoded query. List of supported logical operators:
List of supported comparison operators:
List of supported date/time range operators:
List of supported string operators:
|
Responses
200
Successful Response
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
429
Too Many Requests
500
Internal Server Error
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g -X DELETE 'https://{baseUrl}/catalogs/1/catalogs/10000/items?queryFilter=(%20type%20%3D%3D%20%22Jeans%22%20AND%20type%20%3D%3D%20%22Shirt%22%20)%20OR%20(%20price%20%3E%2010.99%20AND%20color%20%3D%3D%20%22Red%22%20)' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Content type
application/json
Copy
Collapse all {- "count": 3
}