Skip to main content

Get Single

GET 

/api/product/69

API Request: Get Product Details

Request Method

GET

Endpoint

https://app.udyogx.in/api/product/{id}

Parameters

  • id (path parameter): The unique identifier of the product you want to retrieve. In this case, the product ID is 69.

Expected Response Format

The response will be in JSON format and will include details about the product associated with the specified ID. The response typically contains the following fields:

  • productName: The name of the product.
  • description: A brief description of the product.
  • price: The price of the product.
  • availability: The stock status of the product.
  • category: The category under which the product is listed.

Example Response

{
"productName": "Sample Product",
"description": "This is a sample product description.",
"price": 29.99,
"availability": "In Stock",
"category": "Electronics"
}

This endpoint allows you to fetch detailed information about a specific product by its ID, enabling users to access product data easily.

Responses