All Number Product Prices
Testing Env
https://www.testecommerce.vodoerp.com
Testing Env
https://www.testecommerce.vodoerp.com
GET
/api/v1/count_ecomm_product_price
Last modified:2025-04-13 22:53:28
Key | Value | Description | Type |
---|---|---|---|
apikey | 5f28583f26a1a | API key for authentication; contact support to obtain. Required | string |
lang | ar | Language preference: ar for Arabic, en for English. Optional | string |
apiconnection | appmobile | Connection type; contact support to obtain. Required | string |
secure-business-key | 140356399db2b2c32f0.25237063 | Business-specific key; contact support for valid values. Required | string |
Key | Value | Description | Type |
---|---|---|---|
keyword | dddfdgfedgesfsc | Search by keyword (e.g., product name or code). Optional | string |
product_id | 1 | Filter by product ID. Optional | string |
page | 1 | Page number for pagination. Optional | string |
per_page | 5 | Number of items per page. Optional | string |
Example Response
{
"status": true,
"message": "",
"data": {
"current_page": 0,
"data": [null],
"first_page_url": "",
"from": 0,
"last_page": 0,
"last_page_url": "",
"links": [
{
"url": null,
"label": "",
"active": true
}
],
"next_page_url": "",
"path": "",
"per_page": 0,
"prev_page_url": null,
"to": 0,
"total": 0
}
}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://www.testecommerce.vodoerp.com/api/v1/count_ecomm_product_price?keyword=dddfdgfedgesfsc&product_id=1&page=1&per_page=5' \
--header 'apikey: 5f28583f26a1a' \
--header 'lang: ar' \
--header 'apiconnection: appmobile' \
--header 'secure-business-key: 140356399db2b2c32f0.25237063' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
{
"status": true,
"message": "Price counts with availability and product details retrieved successfully",
"data": {
"current_page": 1,
"data": [
null,
{
"product_id": 22280,
"product_name": "الإفطار",
"sku": "BreakfastBreakfast",
"main_price": "156.00",
"total_prices": 2,
"available_dates": "2",
"unavailable_dates": "0",
"business_id": 47
},
{
"product_id": 621,
"product_name": "فرشة أسيتول",
"sku": "TR0000002tr",
"main_price": "55500.00",
"total_prices": 1,
"available_dates": "1",
"unavailable_dates": "0",
"business_id": 47
},
null,
null,
{
"product_id": 22281,
"product_name": "كيفن مورفي إيفرلاستنج كولور رينس 1000 مل",
"sku": "kev-mu-000039",
"main_price": "150.00",
"total_prices": 2,
"available_dates": "2",
"unavailable_dates": "0",
"business_id": 47
},
{
"product_id": 21060,
"product_name": "أورلي جل إف إكس التحلية الصناعية 9 مل",
"sku": "ORLY-GEL-000041",
"main_price": "1600.00",
"total_prices": 6,
"available_dates": "6",
"unavailable_dates": "0",
"business_id": 47
},
{
"product_id": 21437,
"product_name": "بيلد جل 13 غطاء وردي مغبر 50 مل",
"sku": "VIC-BG-000002",
"main_price": "7000.00",
"total_prices": 4,
"available_dates": "4",
"unavailable_dates": "0",
"business_id": 47
},
{
"product_id": 21438,
"product_name": "بيلد جل 14 غطاء كاندي روز 50مل",
"sku": "VIC-BG-000001",
"main_price": "3000.00",
"total_prices": 1,
"available_dates": "1",
"unavailable_dates": "0",
"business_id": 47
},
{
"product_id": 20894,
"product_name": "كهرمان سفيير",
"sku": "Kahr-SPA-000005",
"main_price": "1500.00",
"total_prices": 3,
"available_dates": "3",
"unavailable_dates": "0",
"business_id": 47
}
],
"first_page_url": "http://localhost:8000/api/v1/count_ecomm_product_price?page=1",
"from": 1,
"last_page": 4,
"last_page_url": "http://localhost:8000/api/v1/count_ecomm_product_price?page=4",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://localhost:8000/api/v1/count_ecomm_product_price?page=1",
"label": "1",
"active": true
},
{
"url": "http://localhost:8000/api/v1/count_ecomm_product_price?page=2",
"label": "2",
"active": false
},
{
"url": "http://localhost:8000/api/v1/count_ecomm_product_price?page=3",
"label": "3",
"active": false
},
{
"url": "http://localhost:8000/api/v1/count_ecomm_product_price?page=4",
"label": "4",
"active": false
},
{
"url": "http://localhost:8000/api/v1/count_ecomm_product_price?page=2",
"label": "Next »",
"active": false
}
],
"next_page_url": "http://localhost:8000/api/v1/count_ecomm_product_price?page=2",
"path": "http://localhost:8000/api/v1/count_ecomm_product_price",
"per_page": 10,
"prev_page_url": null,
"to": 10,
"total": 35
}
}
Request
Query Params
keyword
string
optional
ORLY-GEL-000041 THAL-GEL-000001 Orly Gel Thalion-Icy Product Name
Example:
dddfdgfedgesfsc
product_id
string
optional
Example:
1
page
string
optional
Example:
1
per_page
string
optional
Example:
5
Header Params
apikey
string
required
Example:
5f28583f26a1a
lang
string
required
Example:
ar
apiconnection
string
required
Example:
appmobile
secure-business-key
string
required
728106399db2b289783.89154521
2680667168f2f8a68f6.12561200
140356399db2b2c32f0.25237063
96701678e330f31f768.22400604
14807664478836358b0.31329842
Example:
140356399db2b2c32f0.25237063
Body Params application/json