This returns a list of all categories available to the organization currently logged in.
Resource URI
GET/printproducts/categories
Sample Request
html
https://api.4over.com/printproducts/categories
Sample Response
JSON
{
entities: [
{
id: "a2b13bce-0643-41ce-9a03-e21f9a92d7d4",
name: "Roll Labels",
description: "",
products: "http://api.4over.com/app.php/printproducts/categories/a2b13bce-0643-41ce-9a03-e21f9a92d7d4/products"
},
{
id: "08a9625a-4152-40cf-9007-b2bbb349efec",
name: "Business Cards",
description: "Business Cards",
products: "http://api.4over.com/app.php/printproducts/categories/08a9625a-4152-40cf-9007-b2bbb349efec/products"
},
{
id: "6f4148e7-3842-4d8b-99f8-6d31c2f71883",
name: "Postcards",
description: "Postcards",
products: "http://api.4over.com/app.php/printproducts/categories/6f4148e7-3842-4d8b-99f8-6d31c2f71883/products"
},
{
id: "fd917dc0-a11f-4da5-98f4-e1e3de53e71c",
name: "Linen Uncoated",
description: "Linen Uncoated",
products: "http://api.4over.com/app.php/printproducts/categories/fd917dc0-a11f-4da5-98f4-e1e3de53e71c/products"
},
...
}
This returns details of the category specified by a specific UUID.
Resource URI
GET /printproducts/categories/{category_uuid}
Input Parameters
@param category_uuid {uuid} The UUID of a Category.
Sample Request
html
https://api.4over.com/printproducts/categories/6f4148e7-3842-4d8b-99f8-6d31c2f71883
Sample Response
JSON
{
category_uuid: "6f4148e7-3842-4d8b-99f8-6d31c2f71883",
category_name: "Postcards",
category_description: "Postcards"
products: "http://api.4over.com/app.php/printproducts/categories/6f4148e7-3842-4d8b-99f8-6d31c2f71883/products"
}