> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/api-guide/api-guides-en/store-front/goods/product-inquiry.md).

# Product Inquiry

Provides features for retrieving product Q\&A written by members and displaying it on the product detail screen and My Page. It also supports a variety of features for smooth service, including writing, editing, and deleting product Q\&A, and retrieving the answer list.

***

## Key Features

* **Retrieve Product Q\&A**
  * Retrieves product Q\&A using one of: product Q\&A number, member number, or product number.
  * When retrieving product Q\&A, retrieves items between the member information and the search condition's start/end dates.
  * If no separate search condition is set, retrieves the list of product Q\&A written within the most recent week.
  * The product Q\&A date list is displayed in order of most recently modified.
* **Register Product Q\&A**
  * Called when a product Q\&A is written and submitted on the product Q\&A writing screen.
  * Registers the product Q\&A for the corresponding product using the product number as a parameter.
* **Edit/Delete Product Q\&A**
  * To edit a product Q\&A, retrieves the existing product Q\&A information using the product Q\&A number.
  * Verifies member information so that only the member who wrote the product Q\&A can edit or delete it.
* **Retrieve Product Q\&A Answer List**
  * Retrieves the answer list for a single product Q\&A using the product Q\&A question information as a parameter. Displayed at the bottom of the product Q\&A detail content.

## Process Definition

<figure><img src="https://2999922013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXTxKSWMmuxEkop1pvuwe%2Fuploads%2FyxlK1128YmEGzmPtynD4%2F183107758.jpg?alt=media&#x26;token=c913b082-cc7b-4bb7-bfe5-fabea60dd9e4" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}

### Retrieve Q\&A Information per Product

* Retrieves the Q\&A list for a product using the product number, page size, and page number.
* Called to display product Q\&A in the product Q\&A area at the bottom of the product detail page.
  {% endstep %}

{% step %}

### Register Product Q\&A

* Called when a product Q\&A is written and submitted on the product Q\&A writing screen.
* Registers the product Q\&A for the corresponding product using the product number as a parameter.
  {% endstep %}

{% step %}

### Retrieve Product Q\&A Detail Content

* Called to load the existing product Q\&A information when editing a product Q\&A.
* Retrieves the detailed content of a single product Q\&A using the question number as a parameter.
  {% endstep %}

{% step %}

### Edit Product Q\&A

* Called when a product Q\&A is edited on the product Q\&A list screen or the product Q\&A screen on My Page.
* Edits the product Q\&A corresponding to the given question number, using the question number as a parameter.
  {% endstep %}

{% step %}

### Delete Product Q\&A

* Called when a product Q\&A is deleted on the product Q\&A list screen or the product Q\&A screen on My Page.
* Only the member who wrote the product Q\&A can delete it; logically deletes the product Q\&A corresponding to the given question number, using the question number as a parameter.
  {% endstep %}

{% step %}

### Retrieve Product Q\&A Answer List

* Retrieves the answer list for a single product Q\&A using the product Q\&A question information as a parameter.
  {% endstep %}

{% step %}

### Retrieve Product Q\&A Count per Member

* Called to display the number of product Q\&A entries registered by the member in the activity status section of My Page.
* An API provided by the Member module; member information is a required value.
  {% endstep %}
  {% endstepper %}

## API Function List

<table><thead><tr><th width="108.111083984375">API</th><th width="384.5556640625">Description</th><th width="93.5555419921875">Server</th><th width="93.5555419921875">Method</th><th>Notes</th></tr></thead><tbody><tr><td>Retrieve Product Q&#x26;A Detail Content</td><td><ul><li>Called to load the existing product Q&#x26;A information<br>when editing a product Q&#x26;A.</li><li>Retrieves the detailed content of a single product Q&#x26;A using the question number as a parameter.</li></ul></td><td>Goods</td><td>GET</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EB%AC%B8%EC%9D%98&#x26;path=seltQnaDetail">🔗View API ></a></td></tr><tr><td>Retrieve Product Q&#x26;A Answer List</td><td><ul><li>Retrieves the answer list for a single Q&#x26;A using the product Q&#x26;A question information as a parameter.</li><li>The question number in the question information request is a required value.</li></ul></td><td>Goods</td><td>GET</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EB%AC%B8%EC%9D%98&#x26;path=seltQnaAnsCmmtList">🔗View API ></a></td></tr><tr><td>Register Product Q&#x26;A</td><td><ul><li>Called when a product Q&#x26;A is written and<br>submitted on the product Q&#x26;A writing screen.</li><li>Registers it as a product Q&#x26;A for the corresponding product, using the product number as a<br>parameter.</li></ul></td><td>Goods</td><td>POST</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EB%AC%B8%EC%9D%98&#x26;path=insertQna">🔗View API ></a></td></tr><tr><td>Delete Product Q&#x26;A</td><td><ul><li>Called when a product Q&#x26;A is deleted on the product Q&#x26;A list screen or the product Q&#x26;A screen on My Page.</li><li>Deletes the product Q&#x26;A corresponding to the given question number, using the question number as a parameter.</li></ul></td><td>Goods</td><td>DELETE</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EB%AC%B8%EC%9D%98&#x26;path=deleteQna">🔗View API ></a></td></tr><tr><td>Edit Product Q&#x26;A</td><td><ul><li>Called when a product Q&#x26;A is edited on the product Q&#x26;A list screen or the product Q&#x26;A screen on My Page.</li><li>Edits the product Q&#x26;A corresponding to the given question<br>number, using the question number as a parameter.</li></ul></td><td>Goods</td><td>POST</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EB%AC%B8%EC%9D%98&#x26;path=modifyQna_1">🔗View API ></a></td></tr><tr><td>Retrieve Product Q&#x26;A<br>Count per Member</td><td><ul><li>Called to display the number of product Q&#x26;A entries<br>written by the member in the activity status section of My Page.</li><li>An API provided by the Member module; member information is a<br>required value.</li></ul></td><td>Member</td><td>POST</td><td>API Provided by Member Module<br><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EB%AC%B8%EC%9D%98&#x26;path=getUserQnaCount">🔗View API ></a></td></tr></tbody></table>

##
