Get Product Names By Ids
Testing Env
https://www.testecommerce.vodoerp.com
Testing Env
https://www.testecommerce.vodoerp.com
POST
/{{products}}/names
Last modified:2025-04-14 11:49:51
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 | en | Language preference: ar for Arabic, en for English. | string |
Key | Value | Description | Type |
---|---|---|---|
product_ids[0] | 265 | First product ID. Required (Get from api request {{APP_URL}}/api/v1/ecomm_products ) | string |
product_ids[1] | 500 | Second product ID. (Get from api request {{APP_URL}}/api/v1/ecomm_products ) | string |
product_ids[3] | 250 | Third product ID. (Get from api request {{APP_URL}}/api/v1/ecomm_products ) | string |
product_ids[4] | 150 | Fourth product ID. (Get from api request {{APP_URL}}/api/v1/ecomm_products ) | string |
Response
{
"status": true,
"message": "",
"data": {
"150": "",
"250": "",
"265": "",
"500": ""
}
}
status
field indicates the success of the operation, while the data
field contains the product IDs with their corresponding names.Example Response
{
"status": true,
"message": "",
"data": {
"150": "Product Name 1",
"250": "Product Name 2",
"265": "Product Name 3",
"500": "Product Name 4"
}
}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://www.testecommerce.vodoerp.com/api/v1/ecomm_products/names' \
--header 'apikey: 5f28583f26a1a' \
--header 'secure-business-key: 140356399db2b2c32f0.25237063' \
--header 'apiconnection: appmobile' \
--header 'lang: en' \
--form 'product_ids[0]="265"' \
--form 'product_ids[1]="500"' \
--form 'product_ids[3]="250"' \
--form 'product_ids[4]="150"'
Response Response Example
{
"status": true,
"message": "Product names",
"data": {
"150": "PHENYLEPHRINE HCl 10MG/ML 1ML AMP lOT: AP210087 MNF: 02/2021 EXP: 02/2023",
"250": "خاتم",
"265": "سلسال",
"500": "Berain 200 ml"
}
}
Request
Header Params
apikey
string
required
Example:
5f28583f26a1a
secure-business-key
string
required
140356399db2b2c32f0.25237063
Example:
140356399db2b2c32f0.25237063
apiconnection
string
required
Example:
appmobile
lang
string
required
Example:
en
Body Params multipart/form-data
product_ids[0]
string
required
Example:
265
product_ids[1]
string
required
Example:
500
product_ids[3]
string
required
Example:
250
product_ids[4]
string
required
Example:
150