extensions / Commerce extension
POST
/__runtime/products/search/recentSave 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
| Name | Required | Type | Details |
|---|---|---|---|
Cookie | Yes | Not specified | Description: Value used by this operation. |
Authorization | Yes | Not specified | Description: Bearer credential used to authenticate the request. |
User-Agent | Yes | Not specified | Description: Value used by this operation. |
X-Forwarded-For | Yes | Not specified | Description: Value used by this operation. |
X-Real-IP | Yes | Not specified | Description: Value used by this operation. |
Path Parameters
Query Parameters
Request Body
Schema: RuntimeSearchRecentsUpsertRequest
| Field | Required | Type | Details |
|---|---|---|---|
project_id | Yes | integer | Description: Target project identifier. |
query | Yes | string | Description: Search text used by this operation. |
Response Body
Example 200 response
json
{
"items": []
}Errors
400 BAD_REQUEST404 NOT_FOUND500 INTERNAL_SERVER_ERRORAvailability
- Available in
- v0.1.0
- Available since
- v0.1.0
- Implementation
- Available
- Deprecation
- Not specified
- Rate limits
- Not specified

