get product details (public)
Developing
GET
products/<int:product_id>
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'products/<int:product_id>' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
{
"product": {
"average_rating": 0.0,
"category_id": null,
"created_at": "Thu, 01 May 2025 13:01:40 GMT",
"description": "Handmade from me",
"id": 8,
"images": "[{'image_url': 'https://example.com/image.jpg', 'is_primary': False}, {'image_url': 'https://example.com/image2.jpg', 'is_primary': False}, {'image_url': 'https://example.com/primary-image.jpg', 'is_primary': True}]",
"min_order_quantity": 1,
"name": "Cheap item",
"price": 5.0,
"review_count": 0,
"stock_quantity": 100,
"sustainability_attributes": "['organic', 'carbon-neutral']",
"tags": "['cheap', 'handmade']",
"updated_at": "Thu, 01 May 2025 13:01:40 GMT",
"vendor_id": 17
},
"success": true
}
Request
Body Params application/json
Responses
Modified at 2025-05-01 14:07:07