Get Selected Product Info - Venddor API

← Back to API Documentation
GET {{baseUrl}}/Products/{product_id}

This endpoint retrieves detailed information about a specific product by its ID.

Path Parameters

Parameter Type Description
product_id* string ID of the product to retrieve

Request Headers

Header Value Description
Authorization Basic Auth Base64 encoded username:password combination

Example Request

GET {{baseUrl}}/Products/977451

Response

The endpoint returns detailed information about the requested product, including its attributes, features, variations, categories, and more.

Example Response

{
  "product_id": "977451",
  "product": "Athletic Shoes Blue",
  "product_code": "7898953436099",
  "amount": 75,
  "price": "129.90",
  "list_price": "149.90",
  "status": "A",
  "weight": "350",
  "short_description": "Comfortable athletic shoes for everyday use",
  "full_description": "Lightweight athletic shoes made with breathable materials perfect for running, walking or casual wear.",
  "product_features": {
    "16": "94",
    "14": "95",
    "20": "Unisex",
    "18": "SportBrand",
    "7": "Synthetic"
  },
  "main_category": "1384",
  "category_ids": [
    "1384",
    "1459"
  ],
  "category_names": [
    "Footwear",
    "Sports"
  ],
  "images": [
    {
      "image_id": "95198",
      "image_path": "https://example.com/images/products/shoes-blue.png",
      "is_main": true
    },
    {
      "image_id": "95199",
      "image_path": "https://example.com/images/products/shoes-blue-side.png",
      "is_main": false
    }
  ],
  "variation_group_id": "123",
  "variation_group_code": "ATHLETIC_SHOES",
  "variations": [
    {
      "product_id": "977451",
      "variation_features": {
        "573": "Blue",
        "575": "42"
      }
    },
    {
      "product_id": "977452",
      "variation_features": {
        "573": "Red",
        "575": "42"
      }
    }
  ],
  "brand": "SportBrand",
  "company_id": "32",
  "company_name": "Sports Distribution Inc."
}

Response Fields

Field Type Description
product_id string Unique identifier for the product
product string Product name
product_code string Universal product code (barcode)
amount number Available stock quantity
price string Current selling price
list_price string Original price (before discounts)
status string Product status (A - active, D - disabled, H - hidden)
product_features object Key-value pairs of feature IDs and their values
variation_group_id string ID of the variation group this product belongs to
variations array List of product variations (color, size, etc.)
Tip: When working with variations, use the variation_group_id to identify products that belong to the same family (e.g., same product in different colors or sizes).