Search keywords / Update
Update a product
Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/search_keywords/{id}
Method: PUT
Authorisation: Minimum role: USER
Response object
Response status: 200 (OK)
Response type: DTO_search_keyword_UI
Wrapper: DTO_response_wrap
Other response statuses: 400 (BadRequest), 403 (Forbidden)
Response body example
DTO_search_keyword_UI
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| id | Int32 | Id | |
| query | String | Query | |
| created_by | DTO_reference_user | Created by | |
| last_updated_by | DTO_reference_user | Last updated by | |
| channels | DTO_reference[] | Channels | |
| search_keyword_type | DTO_reference | Search keyword type | |
| brand | DTO_reference | Brand |
DTO_reference_user
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| profile_pic | String | ReadOnly | Profile pic |
| String | ReadOnly | ||
| role_enum_id | tenant_user_role (nullable) | Role enum id | |
| id | Int32 | Id | |
| label | Object | ReadOnly | Label |
DTO_reference
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| id | Int32 | The id of the reference | |
| label | Object | ReadOnly | Name/Label from referenced object. |