Get Products
get
https://api.payant.ng/products
Get Products

Request

1
curl https://api.payant.ng/products \
2
-H "Content-Type: application/json" \
3
-H "Authorization: Bearer SECRET_KEY" \
4
-X GET
Copied!

Response

1
{
2
"status": "success",
3
"data": [
4
{
5
"id": 1
6
"company_id": 1,
7
"name": "Website Design",
8
"description": "5 Pages Website plus 1 Year Web Hosting",
9
"unit_cost": "50000.00",
10
"type": "service",
11
"image": "default.png",
12
"status": "1",
13
"created_at": "2016-12-21 18:46:30",
14
"updated_at": "2016-12-21 18:46:30",
15
"deleted_at": null
16
}
17
]
18
}
Copied!
Last modified 2yr ago