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

Save recent search

Records a product-search term for the current actor identity in a project and returns the updated recent-search list.

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

Request Body

Schema: RuntimeSearchRecentsUpsertRequest

FieldRequiredTypeDetails
project_idYesinteger
Description: Target project identifier.
queryYesstring
Description: Search text used by this operation.

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