# 4.2.5-Product Purchase Plugin (Example)

## 1. Overview

* **Interface name**: Product purchase plugin (example)
* **Version number**: v1.0.0

## 2. Information

* **Request URL**:*User Configuration*
* **Request method**: POST

## 3. Request parameters

*Refer to the description in "Introduction to Plugin"*

## 4. Response field description

*Refer to the description in "Introduction to Plugin"*

## 5. Example

Request Example:

```bash
curl '<user configuration URL>' \
-H 'Content-Type: application/json' \
-X POST -d '{
    "product": "Nestle Coffee",
}'
```

Response example:

```json
{
    "raw": [
        "Nestle Coffee",
        null,
        2
    ],
    "markdown": "| Product | Quantity |\n|:------------------:|\n| Nestlé Coffee | 2 |",
    "type": "markdown",
    "desc": "Commodity Nestle Coffee Purchase 2 Successfully."
}
```
