One Product
Testing Env
https://www.testecommerce.vodoerp.com
Testing Env
https://www.testecommerce.vodoerp.com
GET
/{{products}}/771
Last modified:2025-05-27 07:34:57
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. | string |
secure-business-key | 4765066450c0bd66325.48403130 | Business-specific key; contact support for valid values. Required | string |
apiconnection | appmobile | Connection type; contact support to obtain. Required | string |
userToken | 2a1af3773f819bc607077986531c62d5530e7e4a3c2be4e18107c259532ab73f | User token from authentication API. Optional (Get user token from https://testaccounts.vodoerp.com/api/login or https://accounts.vodoerp.com/api/login ) | string |
Key | Value | Description | Type |
---|---|---|---|
without_lang | yes | Display English and Arabic data together. | string |
short_data | yes | Reduce response data size. | string |
Response
status
(boolean): Indicates the success or failure of the request.message
(string): An optional message related to the request.data
(object): Contains detailed information about the product, including its ID, SKU, URL, type, pricing, stock, dimensions, tax details, and more.id
(integer): The unique identifier of the product.sku
(string): Stock Keeping Unit of the product.uuid
(string): Universally Unique Identifier of the product.product_url
(string): URL of the product.type
(string): Type of the product.coupon_qty
(integer): Quantity of coupons available for the product.upc
, ean
, jan
, isbn
, mpn
(strings): Different types of product codes.image
(string): Image URL of the product.price
, cost
, customer_price
(floats): Pricing details of the product.stock
, sold
, minimum
(integers): Stock and sales details.weight
, length
, width
, height
(floats): Dimensions and weight of the product.descriptions
(array): Contains language-specific descriptions of the product.categories
, images
, presents
, promotion_price
, units
, groups
, attributes
, belongs
(arrays): Various related details.brand
(object): Contains information about the brand of the product.ratings
(array): Contains ratings and reviews related to the product.Example Response
{
"status": true,
"message": "",
"data": {
"id": 771,
"sku": "ABC123",
"uuid": "xyz789",
"product_url": "https://example.com/product/771",
"type": "Electronics",
"coupon_qty": 10,
"upc": "123456789",
"ean": "987654321",
"image": "https://example.com/images/771.jpg",
"price": 299.99,
"cost": 199.99,
"customer_price": 249.99,
"stock": 100,
"sold": 20,
"minimum": 5,
"weight": 1.5,
"length": 5.0,
"width": 3.0,
"height": 10.0,
"descriptions": [
{
"product_id": 771,
"lang": "en",
"name": "Smartphone",
"keyword": "mobile, phone, smart",
"description": "A high-quality smartphone with advanced features.",
"content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
}
],
"categories": [...],
"images": [...],
"brand": {
"id": 123,
"name": "ABC Electronics"
},
"ratings": [...]
}
}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://www.testecommerce.vodoerp.com/api/v1/ecomm_products/771?without_lang=yes&short_data=yes' \
--header 'apikey: 5f28583f26a1a' \
--header 'lang: ar' \
--header 'secure-business-key: 4765066450c0bd66325.48403130' \
--header 'apiconnection: appmobile' \
--header 'userToken: '
Response Response Example
{
"status": true,
"message": "Product Data",
"data": {
"id": 771,
"sku": "PsOgsnrPJ",
"uuid": "0fe677ee-6489-11ef-ac81-1051074b77e2",
"product_url": "http://example.com/product",
"type": "purchases",
"coupon_qty": 5,
"upc": null,
"ean": null,
"jan": null,
"isbn": null,
"mpn": null,
"image": "http://example.com/image.jpg",
"barcode": null,
"barcode_text": null,
"promotion_img": "http://example.com/promo.jpg",
"brand_id": 1,
"supplier_id": "ssvgdsv",
"venue_id": null,
"venue_attribute_id": null,
"price": "199.99",
"cost": "150.00",
"customer_price": "200.00",
"stock": 0,
"sold": 0,
"minimum": 0,
"weight_class": null,
"weight": 0,
"length_class": null,
"length": 0,
"width": 0,
"height": 0,
"kind": 0,
"build_type": null,
"meal_start_time": null,
"meal_end_time": null,
"virtual": 1,
"product_kind": "new",
"tax_id": "hsdbjg",
"tax_inclusive": 0,
"tax_rate": null,
"status": 1,
"show_in_mobile": 0,
"supplier_chain": 0,
"sort": 110,
"view": 0,
"alias": "wetnry",
"date_lastview": null,
"date_available": null,
"business_id": null,
"acc_item_id": null,
"created_at": "2024-06-29T21:00:42.000000Z",
"updated_at": "2024-06-29T21:00:42.000000Z",
"branch_id": [],
"store_active": 1,
"store_active_from_date": "2024-08-20",
"store_active_to_date": null,
"parent_type": "Custom",
"standard_product_id": null,
"average_rating": "0.00",
"image_url": "http://example.com/image.jpg",
"promotion_img_url": "http://example.com/promo.jpg",
"new_price": null,
"descriptions": [
{
"product_id": 771,
"lang": "ar",
"name": "Product Name AR",
"keyword": "keyword_ar",
"description": "Product Description AR",
"content": "Product Content AR"
}
],
"categories": [],
"images": [
{
"id": 83,
"image": "http://example.com/image1.jpg",
"product_id": 771,
"image_url": "http://example.com/image1.jpg"
},
{
"id": 84,
"image": "http://example.com/image2.jpg",
"product_id": 771,
"image_url": "http://example.com/image2.jpg"
}
],
"presents": [],
"promotion_price": [],
"units": [],
"groups": [],
"attributes": [],
"belongs": [],
"brand": {
"id": 1,
"name": "واف"
},
"ratings": []
}
}
Request
Query Params
without_lang
string
optional
Example:
yes
short_data
string
optional
Example:
yes
Header Params
apikey
string
required
Example:
5f28583f26a1a
lang
string
required
Example:
ar
secure-business-key
string
required
3717466d81c36d98ac4.30464285
728106399db2b289783.89154521
4765066450c0bd66325.48403130
Example:
{{secure_business_key}}
apiconnection
string
required
Example:
appmobile
userToken
string
optional
https://testaccounts.vodoerp.com/api/login
or
https://accounts.vodoerp.com/api/login
Example:
{{user_token}}