Dummy JSON
  1. Products
Dummy JSON
  • Start your journey
  • Dummy JSON
    • Auth
      • Login user and get tokens
      • Get current auth user
    • Users
      • Get all users
      • Get a single user
      • Add a new user
      • Update a user
      • Delete a user
    • Products
      • Get all products
        GET
      • Get a single product
        GET
      • Search product
        GET
      • Limit and skip product
        GET
      • Sort products
        GET
      • Get all products categories
        GET
      • Get products category list
        GET
      • Get products by a category
        GET
      • Add a new product
        POST
      • Update a product
        PUT
      • Delete a product
        DELETE
    • Posts
      • Get all post
      • Get a single post
      • Search posts
      • Limit and skip posts
      • Sort posts
      • Get all posts tags
      • Get posts tag list
      • Get posts by a tag
      • Get all post by user id
      • Get post's comments
      • Add a new post
      • Update a post
      • Delete a post
  1. Products

Get a single product

GET
/products/1
Last modified:2025-05-19 14:40:09
Maintainer:ekovegeance

Request

None

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://dummyjson.com/products/1'

Responses

🟢200OK
application/json
Body
id
integer 
required
title
string 
required
description
string 
required
category
string 
required
price
number 
required
discountPercentage
number 
required
rating
number 
required
stock
integer 
required
tags
array[string]
required
brand
string 
required
sku
string 
required
weight
integer 
required
dimensions
object 
required
width
number 
required
height
number 
required
depth
number 
required
warrantyInformation
string 
required
shippingInformation
string 
required
availabilityStatus
string 
required
reviews
array [object {5}] 
required
rating
integer 
required
comment
string 
required
date
string 
required
reviewerName
string 
required
reviewerEmail
string 
required
returnPolicy
string 
required
minimumOrderQuantity
integer 
required
meta
object 
required
createdAt
string 
required
updatedAt
string 
required
barcode
string 
required
qrCode
string 
required
images
array[string]
required
thumbnail
string 
required
Example
{
    "id": 0,
    "title": "string",
    "description": "string",
    "category": "string",
    "price": 0,
    "discountPercentage": 0,
    "rating": 0,
    "stock": 0,
    "tags": [
        "string"
    ],
    "brand": "string",
    "sku": "string",
    "weight": 0,
    "dimensions": {
        "width": 0,
        "height": 0,
        "depth": 0
    },
    "warrantyInformation": "string",
    "shippingInformation": "string",
    "availabilityStatus": "string",
    "reviews": [
        {
            "rating": 0,
            "comment": "string",
            "date": "string",
            "reviewerName": "string",
            "reviewerEmail": "string"
        }
    ],
    "returnPolicy": "string",
    "minimumOrderQuantity": 0,
    "meta": {
        "createdAt": "string",
        "updatedAt": "string",
        "barcode": "string",
        "qrCode": "string"
    },
    "images": [
        "string"
    ],
    "thumbnail": "string"
}
Modified at 2025-05-19 14:40:09
Previous
Get all products
Next
Search product
Built with