Skip to content
extensions / Commerce extension
DELETE/__runtime/products/search/recent

Delete recent searches

Clears the stored recent product-search terms for the current actor identity in a project.

GETPOSTDELETE

Authentication

Requirement
Not specified
Credential type
Not specified
Scopes
Not specified

Permissions

  • Requires the commerce products extension to be enabled for the project.

Headers

NameRequiredTypeDetails
CookieYesNot specified
Description: Value used by this operation.
AuthorizationYesNot specified
Description: Bearer credential used to authenticate the request.
User-AgentYesNot specified
Description: Value used by this operation.
X-Forwarded-ForYesNot specified
Description: Value used by this operation.
X-Real-IPYesNot specified
Description: Value used by this operation.

Path Parameters

Query Parameters

NameRequiredTypeDetails
project_idYesinteger
Description: Target project identifier.
limitNointeger
Description: Maximum number of records to return.

Request Body

Response Body

Example 200 response

json
{
  "items": []
}

Errors

400 BAD_REQUEST404 NOT_FOUND500 INTERNAL_SERVER_ERROR

Availability

Available in
v0.1.0
Available since
v0.1.0
Implementation
Available
Deprecation
Not specified
Rate limits
Not specified