> For the complete documentation index, see [llms.txt](https://magicpay.gitbook.io/magicpay-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://magicpay.gitbook.io/magicpay-documentation/products/get-products-by-id.md).

# Get Products By Id

## 5.11 Get Products By Id

**Request**

| Method | URL                     |
| ------ | ----------------------- |
| GET    | /products/{product\_id} |

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | <p>{</p><p>"status": true,</p><p>"data": {</p><p>"items": \[</p><p>{</p><p>"description": "Bir adet kurabiye ile servis edilen Türk çayı",</p><p>"merchant\_id": 1,</p><p>"id": 1,</p><p>"price": 10.0,</p><p>"category\_id": 52,</p><p>"order": 1,</p><p>"updatedDate": "2023-12-11T20:46:12.995672",</p><p>"name": "Çay",</p><p>"image": null,</p><p>"is\_active": true,</p><p>"createdDate": "2023-12-11T20:38:05.345523",</p><p>"deletedDate": null</p><p>}</p><p>]</p><p>}</p><p>}</p> |
| 403    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| 400    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| 500    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |

<br>
