v1

latestOpenAPI 3.0.02026-08-04265791.1 MB
Products

Get

Get a product for the given id.

get/public/api/products/{id}

Path parameters

idstring required

The id of the product

Headers

Acceptstring

e.g. application/json

Response

OK

product_idstring
created_datestring
updated_datestring
titlestring
pricenumber
referencestring
imagestring
short_descstring
out_of_stockboolean
descriptionstring
catalog_idstring
catalog_titlestring

Example response

{
  "product_id": "54ab03c6546847ee0d30081d",
  "created_date": "2018-05-23T04:51:40.862Z",
  "updated_date": "2018-05-23T04:51:40.862Z",
  "title": "Rocket ltd product 1",
  "price": 20.4,
  "reference": "Rocket ltd SKU 1",
  "image": "https://res.cloudinary.com/yoobic/image/upload/v1475779283/r4b1ticoyezzkdubkidf.jpg",
  "short_desc": "<p>Rocket</p>",
  "out_of_stock": false,
  "description": "<p>Great rocket example</p>",
  "catalog_id": "54ab03c6546847ee0d30076b",
  "catalog_title": "Rockets Catalog"
}