# Community

Public product questions and reviews

## List public product questions

> Lists public conversations flagged as \*\*questions\*\*.\
> \
> \*\*Filters\*\*\
> \- Supports \`ConversationFilter\` fields exposed via query parameters\
> \- Optional pagination parameters from DRF (\`page\`, \`page\_size\`)

```json
{"openapi":"3.1.0","info":{"title":"Users API - Public Endpoints","version":"1.0.0"},"tags":[{"name":"Community","description":"Public product questions and reviews"}],"servers":[{"description":"Default commerce site","url":"https://{commerce_url}","variables":{"commerce_url":{"default":"sandbox.akinon.com","description":"Commerce storefront hostname"}}}],"paths":{"/public-questions/":{"get":{"tags":["Community"],"operationId":"listPublicQuestions","summary":"List public product questions","description":"Lists public conversations flagged as **questions**.\n\n**Filters**\n- Supports `ConversationFilter` fields exposed via query parameters\n- Optional pagination parameters from DRF (`page`, `page_size`)","parameters":[{"$ref":"#/components/parameters/PageParameter"},{"$ref":"#/components/parameters/PageSizeParameter"},{"$ref":"#/components/parameters/DataSourceSlugParameter"},{"$ref":"#/components/parameters/DataSourceIdParameter"},{"$ref":"#/components/parameters/ProductIdParameter"},{"$ref":"#/components/parameters/OrderNumberParameter"},{"$ref":"#/components/parameters/IsAnsweredParameter"}],"responses":{"200":{"description":"Public questions listed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedConversationList"}}}}}}}},"components":{"parameters":{"PageParameter":{"name":"page","in":"query","description":"Page number (1-indexed)","required":false,"schema":{"type":"integer","minimum":1}},"PageSizeParameter":{"name":"page_size","in":"query","description":"Number of results per page","required":false,"schema":{"type":"integer","minimum":1}},"DataSourceSlugParameter":{"name":"data_source","in":"query","description":"Filter conversations by datasource slug","required":false,"schema":{"type":"string"}},"DataSourceIdParameter":{"name":"data_source_id","in":"query","description":"Filter conversations by datasource identifier","required":false,"schema":{"type":"integer"}},"ProductIdParameter":{"name":"product","in":"query","description":"Filter conversations by product identifier","required":false,"schema":{"type":"integer"}},"OrderNumberParameter":{"name":"order_number","in":"query","description":"Filter conversations by related order number","required":false,"schema":{"type":"string"}},"IsAnsweredParameter":{"name":"is_answered","in":"query","description":"Filter conversations by answered flag","required":false,"schema":{"type":"boolean"}}},"schemas":{"PaginatedConversationList":{"type":"object","description":"Standard paginated response returned by conversation listings","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","format":"uri"},"previous":{"type":"string","format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Conversation"}}}},"Conversation":{"type":"object","description":"Conversation (question or review) resource","required":["id","user","message_set","conversation_type","is_public","is_answered"],"properties":{"id":{"type":"integer"},"subject":{"type":"string"},"user":{"$ref":"#/components/schemas/UserSummary"},"datasource":{"$ref":"#/components/schemas/DataSourceSummary"},"item_object":{"$ref":"#/components/schemas/ConversationItem"},"item_content":{"type":"string","description":"Content type label for the attached object"},"message_set":{"type":"array","items":{"$ref":"#/components/schemas/ConversationMessage"}},"conversation_type":{"type":"string"},"last_message_date":{"type":"string","format":"date-time"},"is_public":{"type":"boolean"},"is_answered":{"type":"boolean"}}},"UserSummary":{"type":"object","description":"Minimal user information exposed publicly","required":["id","first_name","last_name","email"],"properties":{"id":{"type":"integer"},"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string","format":"email"},"phone":{"type":"string"},"gender":{"type":"string"}}},"DataSourceSummary":{"type":"object","description":"Product datasource metadata (nullable)","required":["pk","name"],"properties":{"pk":{"type":"integer"},"name":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"supplier_code":{"type":"string"},"email":{"type":"string","format":"email"},"phone_number":{"type":"string"},"is_active":{"type":"boolean"}}},"ConversationItem":{"anyOf":[{"$ref":"#/components/schemas/ConversationProduct"},{"$ref":"#/components/schemas/ConversationOrderItem"}]},"ConversationProduct":{"type":"object","description":"Product representation included in conversations","required":["pk","name","sku"],"properties":{"pk":{"type":"integer"},"name":{"type":"string"},"sku":{"type":"string"},"absolute_url":{"type":"string","format":"uri"},"product_images":{"type":"array","items":{"$ref":"#/components/schemas/ConversationProductImage"}}}},"ConversationProductImage":{"type":"object","description":"Product image embedded within a conversation context","required":["pk","product","image"],"properties":{"pk":{"type":"integer"},"product":{"type":"integer"},"image":{"type":"string","format":"uri"},"order":{"type":"integer"},"image_path":{"type":"string"},"height":{"type":"integer"},"width":{"type":"integer"}}},"ConversationOrderItem":{"type":"object","description":"Order item wrapper when item_content is an order","required":["pk","status","order_number","product"],"properties":{"pk":{"type":"integer"},"product":{"$ref":"#/components/schemas/ConversationProduct"},"status":{"type":"string"},"order_number":{"type":"string"}}},"ConversationMessage":{"type":"object","description":"Message belonging to a conversation","required":["id","message_content","user_type","content_object","content_type","created_date"],"properties":{"id":{"type":"integer"},"message_content":{"type":"string"},"user_type":{"type":"string","description":"Enumeration from `omnicore.users.enums.UserType`"},"content_object":{"type":"object","additionalProperties":true},"content_type":{"type":"string"},"created_date":{"type":"string","format":"date-time"}}}}}}
```

## List public product reviews

> Lists public conversations flagged as \*\*reviews\*\*.\
> \
> \*\*Filters\*\*\
> \- Shares the same filtering capabilities as \`/public-questions/\`\
> \- Useful for showcasing verified customer feedback

```json
{"openapi":"3.1.0","info":{"title":"Users API - Public Endpoints","version":"1.0.0"},"tags":[{"name":"Community","description":"Public product questions and reviews"}],"servers":[{"description":"Default commerce site","url":"https://{commerce_url}","variables":{"commerce_url":{"default":"sandbox.akinon.com","description":"Commerce storefront hostname"}}}],"paths":{"/public-reviews/":{"get":{"tags":["Community"],"operationId":"listPublicReviews","summary":"List public product reviews","description":"Lists public conversations flagged as **reviews**.\n\n**Filters**\n- Shares the same filtering capabilities as `/public-questions/`\n- Useful for showcasing verified customer feedback","parameters":[{"$ref":"#/components/parameters/PageParameter"},{"$ref":"#/components/parameters/PageSizeParameter"},{"$ref":"#/components/parameters/DataSourceSlugParameter"},{"$ref":"#/components/parameters/DataSourceIdParameter"},{"$ref":"#/components/parameters/ProductIdParameter"},{"$ref":"#/components/parameters/OrderNumberParameter"},{"$ref":"#/components/parameters/IsAnsweredParameter"}],"responses":{"200":{"description":"Public reviews listed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedConversationList"}}}}}}}},"components":{"parameters":{"PageParameter":{"name":"page","in":"query","description":"Page number (1-indexed)","required":false,"schema":{"type":"integer","minimum":1}},"PageSizeParameter":{"name":"page_size","in":"query","description":"Number of results per page","required":false,"schema":{"type":"integer","minimum":1}},"DataSourceSlugParameter":{"name":"data_source","in":"query","description":"Filter conversations by datasource slug","required":false,"schema":{"type":"string"}},"DataSourceIdParameter":{"name":"data_source_id","in":"query","description":"Filter conversations by datasource identifier","required":false,"schema":{"type":"integer"}},"ProductIdParameter":{"name":"product","in":"query","description":"Filter conversations by product identifier","required":false,"schema":{"type":"integer"}},"OrderNumberParameter":{"name":"order_number","in":"query","description":"Filter conversations by related order number","required":false,"schema":{"type":"string"}},"IsAnsweredParameter":{"name":"is_answered","in":"query","description":"Filter conversations by answered flag","required":false,"schema":{"type":"boolean"}}},"schemas":{"PaginatedConversationList":{"type":"object","description":"Standard paginated response returned by conversation listings","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","format":"uri"},"previous":{"type":"string","format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Conversation"}}}},"Conversation":{"type":"object","description":"Conversation (question or review) resource","required":["id","user","message_set","conversation_type","is_public","is_answered"],"properties":{"id":{"type":"integer"},"subject":{"type":"string"},"user":{"$ref":"#/components/schemas/UserSummary"},"datasource":{"$ref":"#/components/schemas/DataSourceSummary"},"item_object":{"$ref":"#/components/schemas/ConversationItem"},"item_content":{"type":"string","description":"Content type label for the attached object"},"message_set":{"type":"array","items":{"$ref":"#/components/schemas/ConversationMessage"}},"conversation_type":{"type":"string"},"last_message_date":{"type":"string","format":"date-time"},"is_public":{"type":"boolean"},"is_answered":{"type":"boolean"}}},"UserSummary":{"type":"object","description":"Minimal user information exposed publicly","required":["id","first_name","last_name","email"],"properties":{"id":{"type":"integer"},"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string","format":"email"},"phone":{"type":"string"},"gender":{"type":"string"}}},"DataSourceSummary":{"type":"object","description":"Product datasource metadata (nullable)","required":["pk","name"],"properties":{"pk":{"type":"integer"},"name":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"supplier_code":{"type":"string"},"email":{"type":"string","format":"email"},"phone_number":{"type":"string"},"is_active":{"type":"boolean"}}},"ConversationItem":{"anyOf":[{"$ref":"#/components/schemas/ConversationProduct"},{"$ref":"#/components/schemas/ConversationOrderItem"}]},"ConversationProduct":{"type":"object","description":"Product representation included in conversations","required":["pk","name","sku"],"properties":{"pk":{"type":"integer"},"name":{"type":"string"},"sku":{"type":"string"},"absolute_url":{"type":"string","format":"uri"},"product_images":{"type":"array","items":{"$ref":"#/components/schemas/ConversationProductImage"}}}},"ConversationProductImage":{"type":"object","description":"Product image embedded within a conversation context","required":["pk","product","image"],"properties":{"pk":{"type":"integer"},"product":{"type":"integer"},"image":{"type":"string","format":"uri"},"order":{"type":"integer"},"image_path":{"type":"string"},"height":{"type":"integer"},"width":{"type":"integer"}}},"ConversationOrderItem":{"type":"object","description":"Order item wrapper when item_content is an order","required":["pk","status","order_number","product"],"properties":{"pk":{"type":"integer"},"product":{"$ref":"#/components/schemas/ConversationProduct"},"status":{"type":"string"},"order_number":{"type":"string"}}},"ConversationMessage":{"type":"object","description":"Message belonging to a conversation","required":["id","message_content","user_type","content_object","content_type","created_date"],"properties":{"id":{"type":"integer"},"message_content":{"type":"string"},"user_type":{"type":"string","description":"Enumeration from `omnicore.users.enums.UserType`"},"content_object":{"type":"object","additionalProperties":true},"content_type":{"type":"string"},"created_date":{"type":"string","format":"date-time"}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apidocs.akinon.com/commerce-openapis/users/module-1/community.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
