Display Products By Ids
Testing Env
https://www.testecommerce.vodoerp.com
Testing Env
https://www.testecommerce.vodoerp.com
GET
/api/v1/display_products_by_ids
Last modified:2025-04-14 11:54:28
Key | Value | Description | Type |
---|---|---|---|
apikey | 5f28583f26a1a | API key for authentication; contact support to obtain. Required | string |
secure-business-key | 140356399db2b2c32f0.25237063 | Business-specific key; contact support for valid values. Required | string |
apiconnection | appmobile | Connection type; contact support to obtain. Required | string |
lang | ar | Language preference: ar for Arabic, en for English. | string |
Key | Value | Description | Type |
---|---|---|---|
get_category_id | (empty) | Include category ID in response. | string |
get_image | (empty) | Include image in response. | string |
get_sku | (empty) | Include SKU in response. | string |
show_in_mobile | 1 | Filter by mobile visibility. | string |
status | 1 | Filter by product status. | string |
products_id | 20889 | Product ID to fetch details for. Required (Get from api request {{APP_URL}}/api/products/business_products ) | string |
Expected Response
{
"status": true,
"message": "",
"data": [
{
"id": 0,
"name": "",
"unit": {
"name": "",
"value": 0
}
}
]
}
status
field indicates the success of the request, and the data
field contains an array of products with their details such as ID, name, and unit information.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://www.testecommerce.vodoerp.com/api/v1/display_products_by_ids?get_category_id=&get_image=&get_sku=&show_in_mobile=1&status=1&products_id=20889' \
--header 'apikey: 5f28583f26a1a' \
--header 'secure-business-key: 140356399db2b2c32f0.25237063' \
--header 'apiconnection: appmobile' \
--header 'Accept-Language: ar'
Response Response Example
{
"status": true,
"message": "Products data",
"data": [
{
"id": 20889,
"name": "مافيكس حليب تنظيف - 150 مل",
"unit": {
"name": "سنتيمتر",
"value": 800
}
}
]
}
Request
Query Params
get_category_id
string
optional
get_image
string
optional
get_sku
string
optional
show_in_mobile
string
optional
Example:
1
status
string
optional
Example:
1
products_id
string
required
Example:
20889
Header Params
apikey
string
required
Example:
5f28583f26a1a
secure-business-key
string
required
728106399db2b289783.89154521
4765066450c0bd66325.48403130
Example:
140356399db2b2c32f0.25237063
apiconnection
string
required
Example:
appmobile
Accept-Language
string
required
Example:
ar