GET
/products/{productID}
curl \
--request GET 'https://garden-to-yours.herokuapp.com/products/{productID}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"_id": "string",
"publisherId": {
"_id": "string",
"firstName": "string",
"email": "hello@example.com",
"username": "string",
"password": "string",
"lastName": "string",
"dateOfBirth": "2000-08-24T00:00:00.000Z",
"emailVerified": true,
"createDate": "2025-05-04",
"location": "string",
"image": "string"
},
"images": [
"https://example.com"
],
"title": "string",
"size": "string",
"price": 42.0,
"type": "plant",
"description": "string",
"publishedDate": "2025-05-04",
"sold": true,
"category": {
"type": "plant",
"category": "string",
"subcategory": "string"
}
}