{"id":950,"date":"2025-02-12T10:55:19","date_gmt":"2025-02-12T10:55:19","guid":{"rendered":"https:\/\/api-users.4over.com\/?page_id=950"},"modified":"2025-02-14T07:44:08","modified_gmt":"2025-02-14T07:44:08","slug":"filter-category-products","status":"publish","type":"page","link":"https:\/\/api-users.4over.com\/?page_id=950","title":{"rendered":"Filter Category Products"},"content":{"rendered":"<p>This route returns the products based on category and any or all size, stock, coating.<br \/>\n&#8211; If the filter parameter is set to size, the response will include a list of available sizes and the corresponding products.<br \/>\n&#8211; If a size_uuid, stock_uuid, or coating_uuid is provided, the products will be filtered accordingly based on the selected criteria.<\/p>\n<h3>Resource URI<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\nGET \/printproducts\/categoryproductslist\n<\/pre>\n<h3>Input Parameters<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\n@param category_uuid {uuid} (Required) The UUID of Category.\n@param size_uuid {uuid} (Optional) The UUID of Size.\n@param stock_uuid {uuid} (Optional) The UUID of Stock.\n@param coating_uuid {uuid} (Optional) The UUID of Coating.\n@param filter (Optional): size\/stock\/coating\n<\/pre>\n<h3>Sample Request<\/h3>\n<p>html<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\nhttps:\/\/api.4over.com\/printproducts\/categoryproductslist?category_uuid=08a9625a-4152-40cf-9007-b2bbb349efec\n<\/pre>\n<h3>Sample Response<\/h3>\n<p>JSON<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n{\n    &quot;size_list&quot;: [\n        {\n            &quot;name&quot;: &quot;1.5\\&quot; x 3.5\\&quot;&quot;,\n            &quot;uuid&quot;: &quot;9ab7b563-5e4d-4bc2-a5d6-32de8b9b9e06&quot;\n        },\n        {\n            &quot;name&quot;: &quot;1.75\\&quot; x 3.5\\&quot;&quot;,\n            &quot;uuid&quot;: &quot;1bab342a-cf16-47f9-97b6-8d880f3f096a&quot;\n        },\n        {\n            &quot;name&quot;: &quot;2\\&quot; x 2\\&quot;&quot;,\n            &quot;uuid&quot;: &quot;977ac498-7c23-4b1f-afbd-e33d99cd44b0&quot;\n        },\n        {\n            &quot;name&quot;: &quot;2\\&quot; x 3\\&quot;&quot;,\n            &quot;uuid&quot;: &quot;0d56dc24-f70f-46d9-b58f-b2b03e72a9a5&quot;\n        },\n        {\n            &quot;name&quot;: &quot;2\\&quot; x 3.5\\&quot;&quot;,\n            &quot;uuid&quot;: &quot;cb23ad7e-5e87-41f9-9956-4fe91dc8820b&quot;\n        },\n        {\n            &quot;name&quot;: &quot;2\\&quot; x 7\\&quot;&quot;,\n            &quot;uuid&quot;: &quot;fffabbf1-d425-4a65-a25d-829372471ab0&quot;\n        }\n    ],\n    &quot;stock_list&quot;: [\n        {\n            &quot;name&quot;: &quot;14PT&quot;,\n            &quot;uuid&quot;: &quot;6f4fd47a-f70f-4f3d-84f8-a78ef9a62a5a&quot;\n        },\n        {\n            &quot;name&quot;: &quot;14PTUC&quot;,\n            &quot;uuid&quot;: &quot;c438d655-d2dd-486b-93d5-47b1f3edee19&quot;\n        },\n        {\n            &quot;name&quot;: &quot;16PT&quot;,\n            &quot;uuid&quot;: &quot;cb84e4f5-cf63-4c25-b3c3-d22fc7dcf09d&quot;\n        },\n        {\n            &quot;name&quot;: &quot;18PTC1S&quot;,\n            &quot;uuid&quot;: &quot;8397859c-f981-4575-b40f-daffc42e2347&quot;\n        },\n        {\n            &quot;name&quot;: &quot;100GLC&quot;,\n            &quot;uuid&quot;: &quot;6ef3ac86-0540-4936-8f72-172257b3be60&quot;\n        }\n    ],\n    &quot;coating_list&quot;: [\n        {\n            &quot;name&quot;: &quot;AQ&quot;,\n            &quot;uuid&quot;: &quot;d41dab50-ff65-4f4f-bb17-2afe4d36ae33&quot;\n        },\n        {\n            &quot;name&quot;: &quot;MATT&quot;,\n            &quot;uuid&quot;: &quot;121bb7b5-3b4d-429f-bd8d-bbf80e953313&quot;\n        },\n        {\n            &quot;name&quot;: &quot;SA&quot;,\n            &quot;uuid&quot;: &quot;1753ff32-3d28-4f95-990a-6fda0dbe3d7c&quot;\n        },\n        {\n            &quot;name&quot;: &quot;SPUV&quot;,\n            &quot;uuid&quot;: &quot;88542d07-0352-4839-9e2e-a2c8d1c343ef&quot;\n        },\n        {\n            &quot;name&quot;: &quot;UC&quot;,\n            &quot;uuid&quot;: &quot;3e7618de-abca-4bda-9f97-8b9129e913d8&quot;\n        },\n        {\n            &quot;name&quot;: &quot;UV&quot;,\n            &quot;uuid&quot;: &quot;ae367451-b2b8-45df-a344-0f05b6a12993&quot;\n        }\n    ],\n    &quot;products&quot;: [\n        {\n            &quot;product_uuid&quot;: &quot;1a7e039c-e7ed-4410-8c64-377dbcbee322&quot;,\n            &quot;product_code&quot;: &quot;14PT-BCUV-1.5X3.5&quot;,\n            &quot;product_description&quot;: &quot;1.5\\&quot; X 3.5\\&quot; 14PT Business Cards UV on 4-color side(s)&quot;\n        },\n        {\n            &quot;product_uuid&quot;: &quot;62192f90-f05a-4d67-80dd-078f3f4bb7f8&quot;,\n            &quot;product_code&quot;: &quot;14PT-BCAQ-1.5X3.5&quot;,\n            &quot;product_description&quot;: &quot;1.5\\&quot; X 3.5\\&quot; 14PT Business Cards with AQ&quot;\n        },\n        {\n            &quot;product_uuid&quot;: &quot;aaae2989-9cc0-4057-9dec-bd66e99805b9&quot;,\n            &quot;product_code&quot;: &quot;14PT-BCMATT-1.75X3.5&quot;,\n            &quot;product_description&quot;: &quot;1.75\\&quot; X 3.5\\&quot; 14PT Matte\/Dull Finish Business Cards&quot;\n        },\n        {\n            &quot;product_uuid&quot;: &quot;218fa68e-134a-4dfd-9c7a-1f77f507b2f1&quot;,\n            &quot;product_code&quot;: &quot;14PT-RCBCMATT-1.75X3.5&quot;,\n            &quot;product_description&quot;: &quot;1.75\\&quot; X 3.5\\&quot; 14PT Matte\/Dull Finish Round Corner Business Card&quot;\n        },\n        {\n            &quot;product_uuid&quot;: &quot;e9629ad0-d1c2-43cf-a629-eb90646691cc&quot;,\n            &quot;product_code&quot;: &quot;14PT-RCBCUV-1.75X3.5&quot;,\n            &quot;product_description&quot;: &quot;1.75\\&quot; X 3.5\\&quot; 14PT Round Corner Business Cards UV on 4-color side(s)&quot;\n        },\n        {\n            &quot;product_uuid&quot;: &quot;7efe5077-7d64-44f1-8b67-5a1d0f081225&quot;,\n            &quot;product_code&quot;: &quot;14PTUC-BCUC-1.75X3.5&quot;,\n            &quot;product_description&quot;: &quot;1.75\\&quot; X 3.5\\&quot; 14PT Uncoated Business Cards&quot;\n        },\n        {\n            &quot;product_uuid&quot;: &quot;5fc51e71-9018-4f1e-bb3e-9bbefe96ddac&quot;,\n            &quot;product_code&quot;: &quot;16PT-BCSPUVBK-1.75X3.5&quot;,\n            &quot;product_description&quot;: &quot;1.75\\&quot; X 3.5\\&quot; 16PT Business Cards  with Spot UV on back only, Full UV on the front&quot;\n        },\n        {\n            &quot;product_uuid&quot;: &quot;b542104c-1475-4bc3-b280-923c416d9f7a&quot;,\n            &quot;product_code&quot;: &quot;16PT-BCSPUV-1.75X3.5&quot;,\n            &quot;product_description&quot;: &quot;1.75\\&quot; X 3.5\\&quot; 16PT Business Cards  with Spot UV on both sides&quot;\n        },\n        {\n            &quot;product_uuid&quot;: &quot;2ba4bb0c-9e8b-45df-9439-91cd7de3041d&quot;,\n            &quot;product_code&quot;: &quot;16PT-BCSPUVFR-1.75X3.5&quot;,\n            &quot;product_description&quot;: &quot;1.75\\&quot; X 3.5\\&quot; 16PT Business Cards  with Spot UV on front only, No UV Coating on the Back&quot;\n        },\n\t    ...\n    ]\n}\n<\/pre>\n<hr>\n<h3>Sample Request<\/h3>\n<p>html<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\nhttps:\/\/api.4over.com\/printproducts\/categoryproductslist?category_uuid=08a9625a-4152-40cf-9007-b2bbb349efec&size_uuid=9ab7b563-5e4d-4bc2-a5d6-32de8b9b9e06&stock_uuid=6f4fd47a-f70f-4f3d-84f8-a78ef9a62a5a&coating_uuid=1e8116af-acfc-44b1-83dc-8181aa338834\n<\/pre>\n<h3>Sample Response<\/h3>\n<p>JSON<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n{\n    &quot;size_list&quot;: [\n        {\n            &quot;name&quot;: &quot;1.5\\&quot; x 3.5\\&quot;&quot;,\n            &quot;uuid&quot;: &quot;9ab7b563-5e4d-4bc2-a5d6-32de8b9b9e06&quot;\n        }\n    ],\n    &quot;stock_list&quot;: [\n        {\n            &quot;name&quot;: &quot;14PT&quot;,\n            &quot;uuid&quot;: &quot;6f4fd47a-f70f-4f3d-84f8-a78ef9a62a5a&quot;\n        }\n    ],\n    &quot;coating_list&quot;: [\n        {\n            &quot;name&quot;: &quot;UVFR&quot;,\n            &quot;uuid&quot;: &quot;1e8116af-acfc-44b1-83dc-8181aa338834&quot;\n        }\n    ],\n    &quot;products&quot;: [\n        {\n            &quot;product_uuid&quot;: &quot;817487fd-96e8-4053-82a2-734a6e40693a&quot;,\n            &quot;product_code&quot;: &quot;14PT-BCUVFR-1.5X3.5&quot;,\n            &quot;product_description&quot;: &quot;1.5\\&quot; X 3.5\\&quot; 14PT Business Cards with Full UV on the front only, No UV coating on the back&quot;\n        }\n    ]\n}\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This route returns the products based on category and any or all size, stock, coating. &#8211; If the filter parameter is set to size, the response will include a list of available sizes and the corresponding products. &#8211; If a size_uuid, stock_uuid, or coating_uuid is provided, the products will be filtered accordingly based on the [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-950","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/950","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=950"}],"version-history":[{"count":17,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/950\/revisions"}],"predecessor-version":[{"id":997,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/950\/revisions\/997"}],"wp:attachment":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}