- Developer guide
- New to our DevPortal 🤔
- Authentication
- Webhook
- Overview
- Invoice Webhooks
- Orders Webhooks
- Menu Webhooks
- Loyalty Webhooks
- Customer webhook
- Error webhook
- Orders
- Menu
- Branches
- Devices
- Order type
- Price Lists
- Payment Methods
- Order Charges
- Taxes
- Customers
Products
GET
https://{serviceID}.retm.sa/api/v2/products/list
Type | Meaning |
---|---|
1 | Normal Product |
2 | With Modifiers |
3 | UNDER PROGRESS |
4 | With Variations |
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Responses
🟢200Products
application/json
Body
items
array [object {10}]Â
required
id
stringÂ
optional
name
objectÂ
optional
description
objectÂ
optional
image
stringÂ
optional
price
stringÂ
optional
calories
stringÂ
optional
estimated_time
stringÂ
optional
type
integerÂ
optional
over_stock
integerÂ
optional
category
objectÂ
optional
pagination
objectÂ
required
from
integerÂ
required
to
integerÂ
required
per
integerÂ
required
total
integerÂ
required
current
integerÂ
required
path
stringÂ
required
Example
{
"items": [
{
"id": "01GZK6C7J03PQP7KGRAQ3F197Y",
"name": {
"en": "coffee day",
"ar": "قهوة اليوم"
},
"description": {
"en": "coffee day",
"ar": "قهوة اليوم"
},
"image": "https://cdn.retm.sa/items/IN6yn7QGo.jpg",
"price": "7.000",
"calories": "9.00",
"estimated_time": "14.00",
"type": 4,
"over_stock": 1,
"category": {
"id": "01hjnnt6d2hyasgjepb87z8gev",
"title": {
"ar": "المقطرة",
"en": "Drip coffee"
}
}
}
],
"pagination": {
"from": 1,
"to": 1,
"per": 25,
"total": 1,
"current": 1,
"path": "https://sandbox.retm.sa/api/v2/products/list"
}
}
Modified at 2024-11-05 07:17:44