{"info":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","description":"<html><head></head><body><h2 id=\"enabling-rest-api-in-restropress-300\">Enabling REST API in Restropress 3.0.0</h2>\n<p>To use the Restropress REST API features, you need to enable the API in Restropress version 3.0.0. Follow the steps below to enable the REST API:</p>\n<ol>\n<li><strong>Navigate to the Restropress Settings:</strong><ul>\n<li>In your WordPress admin dashboard, go to the menu labeled \"Restropress.\"</li>\n</ul>\n</li>\n<li><strong>Access General Settings:</strong><ul>\n<li>Within the Restropress menu, find and click on \"Settings.\"</li>\n</ul>\n</li>\n<li><strong>Navigate to General Settings:</strong><ul>\n<li>Inside the Restropress Settings, click on the \"General\" tab.</li>\n</ul>\n</li>\n<li><strong>Enable REST API:</strong><ul>\n<li>Look for the \"API\" section within General Settings.</li>\n<li>Check the \"Activate API\" box to enable the REST API.</li>\n</ul>\n</li>\n<li><strong>Save Changes:</strong><ul>\n<li>Don't forget to save your changes. Look for a \"Save Changes\" button at the bottom of the page and click on it.</li>\n</ul>\n</li>\n<li><strong>Verify API Status:</strong><ul>\n<li>After enabling the REST API, you can verify the status by accessing the API endpoint. Your API endpoint will be constructed by appending \"wp-json/rp/v1/\" to your base URL.</li>\n</ul>\n</li>\n</ol>\n<p><strong>Example API Endpoint:</strong> <code>http://yourdomain.com/wp-json/rp/v1/</code></p>\n<p>Now, you are ready to make requests to the Restropress REST API.</p>\n<p>Make sure to include this endpoint in the base URL whenever you make requests to the Restropress API.</p>\n<h2 id=\"authentication-in-restropress-api\">Authentication in Restropress API</h2>\n<h2 id=\"generating-api-keys\">Generating API Keys:</h2>\n<ol>\n<li><strong>Install an Authentication Plugin (Optional):</strong><ul>\n<li>If you prefer, you can use authentication plugins like JWT Login for user authentication.</li>\n</ul>\n</li>\n<li><strong>Generate API Keys in Restropress:</strong><ul>\n<li>Go to the WordPress admin dashboard.</li>\n<li>Navigate to the \"Users\" menu.</li>\n<li>Select a user for whom you want to generate API keys.</li>\n<li>Scroll down to find the \"Restropress API keys\" section.</li>\n<li>Check the \"Generate\" option to create new keys.</li>\n</ul>\n</li>\n</ol>\n<h2 id=\"using-api-keys-in-requests\">Using API Keys in Requests:</h2>\n<ol>\n<li><p><strong>Include API Keys in Headers:</strong></p>\n<ul>\n<li><p>For each API request, include the following headers:</p>\n<ul>\n<li><code>Authorization</code>: Set to \"Bearer [User Token]\" (replace [User Token] with the generated user token).</li>\n<li><code>x-api-key</code>: Set to the public key obtained during API key generation.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ol>\n<h2 id=\"revoking-and-refreshing-tokens\">Revoking and Refreshing Tokens:</h2>\n<ol>\n<li><p><strong>Revoking a Token:</strong></p>\n<ul>\n<li>To revoke a token, go to the WordPress admin dashboard.</li>\n<li>Navigate to the \"Users\" menu.</li>\n<li>Select the user whose token you want to revoke.</li>\n<li>In the \"Restropress API keys\" section, locate the token you want to revoke.</li>\n<li>Click on the \"Revoke\" option to invalidate the token.</li>\n</ul>\n</li>\n<li><p><strong>Refreshing a Token:</strong></p>\n<ul>\n<li>To refresh a token, go to the WordPress admin dashboard.</li>\n<li>Navigate to the \"Users\" menu.</li>\n<li>Select the user whose token you want to refresh.</li>\n<li>In the \"Restropress API keys\" section, locate the token you want to refresh.</li>\n<li>Click on the \"Refresh\" option to obtain a new valid token.</li>\n</ul>\n</li>\n</ol>\n<p>Now, you can manage API keys effectively by revoking and refreshing tokens as needed.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14761886","collectionId":"6223fb83-4cd8-4825-998f-c18e1e596648","publishedId":"2s9YsFCYrf","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-01-05T05:13:24.000Z"},"item":[{"name":"Categories","item":[{"name":"Retrieve all categories","id":"f30f9541-70c7-4720-a973-1a61cc78236d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/fooditem/categories","description":"<h4 id=\"available-parameters\">Available Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>post</code></td>\n<td>integer</td>\n<td>Returns a list of all categories that are applied to post ID .</td>\n</tr>\n<tr>\n<td><code>per_page</code></td>\n<td>integer</td>\n<td>Maximum number of items to be returned in result set. Default is 10.</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>integer</td>\n<td>Current page of the collection. Default is 1</td>\n</tr>\n<tr>\n<td><code>parent</code></td>\n<td>integer</td>\n<td>Limit result set to resources assigned to a specific parent.</td>\n</tr>\n<tr>\n<td><code>search</code></td>\n<td>string</td>\n<td>Limit results to those matching a string.</td>\n</tr>\n<tr>\n<td><code>slug</code></td>\n<td>string</td>\n<td>Limit result set to resources with a specific slug.</td>\n</tr>\n<tr>\n<td><code>exclude</code></td>\n<td>array</td>\n<td>Ensure result set excludes specific ids.</td>\n</tr>\n<tr>\n<td><code>include</code></td>\n<td>array</td>\n<td>Limit result set to specific ids.</td>\n</tr>\n<tr>\n<td><code>order</code></td>\n<td>string</td>\n<td>Order sort attribute ascending or descending. Options: asc and desc. Default is asc.</td>\n</tr>\n<tr>\n<td><code>orderby</code></td>\n<td>string</td>\n<td>Sort collection by resource attribute. Options: id, include, name, slug, term_group, description and count. Default is name.</td>\n</tr>\n<tr>\n<td><code>hide_empty</code></td>\n<td>boolean</td>\n<td>Whether to hide resources not assigned to any products. Default is false.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["categories"],"host":["http://example.com/wp-json/rp/v1/fooditem"],"query":[],"variable":[]}},"response":[{"id":"03af0da3-164a-4ff2-9d8f-38c02cdbac03","name":"success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"http://example.com/wp-json/rp/v1/fooditem/categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 129,\n        \"count\": 4,\n        \"description\": \"\",\n        \"link\": \"https://wordpress-953026-3970560.cloudwaysapps.com/food-category/veg-pizza/\",\n        \"name\": \"VEG PIZZA\",\n        \"slug\": \"veg-pizza\",\n        \"taxonomy\": \"food-category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories/129\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/wp/v2/taxonomies/food-category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/food?fooditem/categories=129\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 131,\n        \"count\": 3,\n        \"description\": \"\",\n        \"link\": \"https://wordpress-953026-3970560.cloudwaysapps.com/food-category/non-veg-pizza/\",\n        \"name\": \"NON-VEG PIZZA\",\n        \"slug\": \"non-veg-pizza\",\n        \"taxonomy\": \"food-category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories/131\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/wp/v2/taxonomies/food-category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/food?fooditem/categories=131\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 134,\n        \"count\": 3,\n        \"description\": \"\",\n        \"link\": \"https://wordpress-953026-3970560.cloudwaysapps.com/food-category/speciality-chicken/\",\n        \"name\": \"SPECIALITY CHICKEN\",\n        \"slug\": \"speciality-chicken\",\n        \"taxonomy\": \"food-category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories/134\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/wp/v2/taxonomies/food-category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/food?fooditem/categories=134\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 133,\n        \"count\": 3,\n        \"description\": \"\",\n        \"link\": \"https://wordpress-953026-3970560.cloudwaysapps.com/food-category/pizza-mania/\",\n        \"name\": \"PIZZA MANIA\",\n        \"slug\": \"pizza-mania\",\n        \"taxonomy\": \"food-category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories/133\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/wp/v2/taxonomies/food-category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/food?fooditem/categories=133\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 130,\n        \"count\": 3,\n        \"description\": \"\",\n        \"link\": \"https://wordpress-953026-3970560.cloudwaysapps.com/food-category/paratha-pizza/\",\n        \"name\": \"PARATHA PIZZA\",\n        \"slug\": \"paratha-pizza\",\n        \"taxonomy\": \"food-category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories/130\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/wp/v2/taxonomies/food-category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/food?fooditem/categories=130\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 114,\n        \"count\": 4,\n        \"description\": \"\",\n        \"link\": \"https://wordpress-953026-3970560.cloudwaysapps.com/food-category/chicken-lovers-pizza/\",\n        \"name\": \"CHICKEN LOVERS PIZZA\",\n        \"slug\": \"chicken-lovers-pizza\",\n        \"taxonomy\": \"food-category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories/114\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/wp/v2/taxonomies/food-category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/food?fooditem/categories=114\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 136,\n        \"count\": 2,\n        \"description\": \"\",\n        \"link\": \"https://wordpress-953026-3970560.cloudwaysapps.com/food-category/combos/\",\n        \"name\": \"COMBOS\",\n        \"slug\": \"combos\",\n        \"taxonomy\": \"food-category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories/136\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/wp/v2/taxonomies/food-category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/food?fooditem/categories=136\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 137,\n        \"count\": 1,\n        \"description\": \"\",\n        \"link\": \"https://wordpress-953026-3970560.cloudwaysapps.com/food-category/meals-combos/\",\n        \"name\": \"MEALS AND COMBOS\",\n        \"slug\": \"meals-combos\",\n        \"taxonomy\": \"food-category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories/137\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/wp/v2/taxonomies/food-category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/food?fooditem/categories=137\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 24,\n        \"count\": 4,\n        \"description\": \"\",\n        \"link\": \"https://wordpress-953026-3970560.cloudwaysapps.com/food-category/6-inch-sandwiches/\",\n        \"name\": \"6 Inch Sandwiches\",\n        \"slug\": \"6-inch-sandwiches\",\n        \"taxonomy\": \"food-category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories/24\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/wp/v2/taxonomies/food-category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/food?fooditem/categories=24\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 86,\n        \"count\": 5,\n        \"description\": \"\",\n        \"link\": \"https://wordpress-953026-3970560.cloudwaysapps.com/food-category/chicken-dinners/\",\n        \"name\": \"chicken dinners\",\n        \"slug\": \"chicken-dinners\",\n        \"taxonomy\": \"food-category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories/86\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/wp/v2/taxonomies/food-category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/food?fooditem/categories=86\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    }\n]"}],"_postman_id":"f30f9541-70c7-4720-a973-1a61cc78236d"},{"name":"Add a category","id":"8a323a84-9897-463c-8d75-ace5773303bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"http://example.com/wp-json/rp/v1/fooditem/categories","description":"<h4 id=\"available-parameters\">Available Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Is Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Required</td>\n<td>The name of category</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>The Category description. Default empty string.</td>\n</tr>\n<tr>\n<td><code>slug</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>The term slug to use. Default empty string.</td>\n</tr>\n<tr>\n<td><code>taxonomy</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>Slug of the term to make this term an alias of.  <br />Default empty string. Accepts a term slug.</td>\n</tr>\n<tr>\n<td><code>parent</code></td>\n<td>integer</td>\n<td>Optional</td>\n<td>Assigned to a specific parent, Default is 0.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["categories"],"host":["http://example.com/wp-json/rp/v1/fooditem"],"query":[],"variable":[]}},"response":[{"id":"d6d3c7dd-cec8-42f7-9dc4-af4041500e1e","name":"success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"\",\n    \"name\": \"Beef Dishesd\",\n    \"slug\": \"beef-dishes\",\n    \"taxonomy\": \"food-category\",\n    \"parent\": 0\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/fooditem/categories"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 162,\n    \"count\": 0,\n    \"description\": \"\",\n    \"link\": \"https://wordpress-953026-3970560.cloudwaysapps.com/food-category/chicken-salads/\",\n    \"name\": \"Chicken Salads\",\n    \"slug\": \"chicken-salads\",\n    \"taxonomy\": \"food-category\",\n    \"parent\": 0,\n    \"meta\": [],\n    \"_links\": {\n        \"self\": [\n            {\n                \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories/162\"\n            }\n        ],\n        \"collection\": [\n            {\n                \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/fooditem/categories\"\n            }\n        ],\n        \"about\": [\n            {\n                \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/wp/v2/taxonomies/food-category\"\n            }\n        ],\n        \"wp:post_type\": [\n            {\n                \"href\": \"https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/rp/v1/food?fooditem/categories=162\"\n            }\n        ],\n        \"curies\": [\n            {\n                \"name\": \"wp\",\n                \"href\": \"https://api.w.org/{rel}\",\n                \"templated\": true\n            }\n        ]\n    }\n}"}],"_postman_id":"8a323a84-9897-463c-8d75-ace5773303bc"},{"name":"Retrieve a category","id":"6d9d235b-20f5-44c5-b65d-fec4cf542ad3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/fooditem/categories/{{category_id}}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["categories","{{category_id}}"],"host":["http://example.com/wp-json/rp/v1/fooditem"],"query":[],"variable":[]}},"response":[{"id":"ed21f95a-9655-48d7-9a0e-4f9e4107a909","name":"success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"http://example.com/wp-json/rp/v1/fooditem/categories/93"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 93,\n    \"count\": 4,\n    \"description\": \"\",\n    \"link\": \"http://localhost/restropress3/food-category/beef-dishes/\",\n    \"name\": \"Beef Dishes\",\n    \"slug\": \"beef-dishes\",\n    \"taxonomy\": \"food-category\",\n    \"parent\": 0,\n    \"meta\": [],\n    \"_links\": {\n        \"self\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/categories/93\"\n            }\n        ],\n        \"collection\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/categories\"\n            }\n        ],\n        \"about\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/food-category\"\n            }\n        ],\n        \"wp:post_type\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/categories=93\"\n            }\n        ],\n        \"curies\": [\n            {\n                \"name\": \"wp\",\n                \"href\": \"https://api.w.org/{rel}\",\n                \"templated\": true\n            }\n        ]\n    }\n}"}],"_postman_id":"6d9d235b-20f5-44c5-b65d-fec4cf542ad3"},{"name":"Edit a category","id":"b1b066b1-fd2d-49f3-9a2c-81bf11d29404","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/fooditem/categories/{{category_id}}","description":"<h4 id=\"available-parameters\">Available Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Is Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Required</td>\n<td>The name of category</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>The Category description. Default empty string.</td>\n</tr>\n<tr>\n<td><code>slug</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>The term slug to use. Default empty string.</td>\n</tr>\n<tr>\n<td><code>taxonomy</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>Slug of the term to make this term an alias of.  <br />Default empty string. Accepts a term slug.</td>\n</tr>\n<tr>\n<td><code>parent</code></td>\n<td>integer</td>\n<td>Optional</td>\n<td>Assigned to a specific parent, Default is 0.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["categories","{{category_id}}"],"host":["http://example.com/wp-json/rp/v1/fooditem"],"query":[],"variable":[]}},"response":[{"id":"2765d4ab-acef-4a9d-838c-68f49c1af298","name":"success","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"\",\r\n    \"name\": \"Beef Dishesd\",\r\n    \"slug\": \"beef-dishes\",\r\n    \"taxonomy\": \"food-category\",\r\n    \"parent\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/fooditem/categories/93"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 93,\n    \"count\": 4,\n    \"description\": \"\",\n    \"link\": \"http://localhost/restropress3/food-category/beef-dishes/\",\n    \"name\": \"Beef Dishesd\",\n    \"slug\": \"beef-dishes\",\n    \"taxonomy\": \"food-category\",\n    \"parent\": 0,\n    \"meta\": [],\n    \"_links\": {\n        \"self\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/categories/93\"\n            }\n        ],\n        \"collection\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/categories\"\n            }\n        ],\n        \"about\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/food-category\"\n            }\n        ],\n        \"wp:post_type\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/categories=93\"\n            }\n        ],\n        \"curies\": [\n            {\n                \"name\": \"wp\",\n                \"href\": \"https://api.w.org/{rel}\",\n                \"templated\": true\n            }\n        ]\n    }\n}"}],"_postman_id":"b1b066b1-fd2d-49f3-9a2c-81bf11d29404"},{"name":"Delete a category","id":"6de799be-a263-465d-94a0-0a0faf8754bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/fooditem/categories/{{category_id}}","description":"<h4 id=\"available-parameters\">Available Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>force</code></td>\n<td>bool</td>\n<td>Required to be true, as terms do not support trashing.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["categories","{{category_id}}"],"host":["http://example.com/wp-json/rp/v1/fooditem"],"query":[],"variable":[]}},"response":[{"id":"2efdef1d-f1e6-4a3a-83c7-5522fc49c5ef","name":"success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":{"raw":"http://example.com/wp-json/rp/v1/fooditem/categories/158?force=true","protocol":"http","host":["example","com"],"path":["wp-json","rp","v1","fooditem","categories","158"],"query":[{"key":"force","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": true,\n    \"previous\": {\n        \"id\": 158,\n        \"count\": 0,\n        \"description\": \"\",\n        \"link\": \"https://wordpress-953026-3970560.cloudwaysapps.com/food-category/chicken-soups/\",\n        \"name\": \"Chicken Soups\",\n        \"slug\": \"chicken-soups\",\n        \"taxonomy\": \"food-category\",\n        \"parent\": 0,\n        \"meta\": []\n    }\n}"},{"id":"e8acba67-0bd9-41ae-a0c7-d47c8fc262a0","name":"error","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://example.com/wp-json/rp/v1/fooditem/categories/158?force=true","host":["http://example.com/wp-json/rp/v1/fooditem"],"path":["categories","158"],"query":[{"key":"force","value":"true"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"rest_term_invalid\",\n    \"message\": \"Term does not exist.\",\n    \"data\": {\n        \"status\": 404\n    }\n}"}],"_postman_id":"6de799be-a263-465d-94a0-0a0faf8754bf"}],"id":"201229ae-8c62-49a2-9b71-b679a68da247","description":"<p>All endpoints and parameters related to Food Categories</p>\n","_postman_id":"201229ae-8c62-49a2-9b71-b679a68da247","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}}},{"name":"Addons","item":[{"name":"Retrieve  all Addons","id":"ddb1dc5d-6896-40be-8469-e06ad4cc3293","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/fooditem/addons","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>post</code></td>\n<td>integer</td>\n<td>Returns a list of all addons that are applied to post ID .</td>\n</tr>\n<tr>\n<td><code>per_page</code></td>\n<td>integer</td>\n<td>Maximum number of items to be returned in result set. Default is 10.</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>integer</td>\n<td>Current page of the collection. Default is 1</td>\n</tr>\n<tr>\n<td><code>parent</code></td>\n<td>integer</td>\n<td>Limit result set to resources assigned to a specific parent.</td>\n</tr>\n<tr>\n<td><code>search</code></td>\n<td>string</td>\n<td>Limit results to those matching a string.</td>\n</tr>\n<tr>\n<td><code>slug</code></td>\n<td>string</td>\n<td>Limit result set to resources with a specific slug.</td>\n</tr>\n<tr>\n<td><code>exclude</code></td>\n<td>array</td>\n<td>Ensure result set excludes specific ids.</td>\n</tr>\n<tr>\n<td><code>include</code></td>\n<td>array</td>\n<td>Limit result set to specific ids.</td>\n</tr>\n<tr>\n<td><code>order</code></td>\n<td>string</td>\n<td>Order sort attribute ascending or descending. Options: asc and desc. Default is asc.</td>\n</tr>\n<tr>\n<td><code>orderby</code></td>\n<td>string</td>\n<td>Sort collection by resource attribute. Options: id, include, name, slug, term_group, description and count. Default is name.</td>\n</tr>\n<tr>\n<td><code>hide_empty</code></td>\n<td>boolean</td>\n<td>Whether to hide resources not assigned to any products. Default is false.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["addons"],"host":["http://example.com/wp-json/rp/v1/fooditem"],"query":[],"variable":[]}},"response":[{"id":"49c13bd6-3f28-491f-83af-a6d342577476","name":"success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"http://example.com/wp-json/rp/v1/fooditem/addons"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 3,\n        \"count\": 15,\n        \"description\": \"\",\n        \"link\": \"http://localhost/restropress3/fooditems/category/add-extra-wing/\",\n        \"name\": \"add extra wing?\",\n        \"slug\": \"add-extra-wing\",\n        \"taxonomy\": \"addon_category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/3\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/addon_category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/addons=3\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 4,\n        \"count\": 20,\n        \"description\": \"\",\n        \"link\": \"http://localhost/restropress3/fooditems/category/add-salt-on-the-food/\",\n        \"name\": \"Add salt on the food\",\n        \"slug\": \"add-salt-on-the-food\",\n        \"taxonomy\": \"addon_category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/4\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/addon_category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/addons=4\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 5,\n        \"count\": 27,\n        \"description\": \"\",\n        \"link\": \"http://localhost/restropress3/fooditems/category/add-sauce/\",\n        \"name\": \"Add Sauce?\",\n        \"slug\": \"add-sauce\",\n        \"taxonomy\": \"addon_category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/5\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/addon_category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/addons=5\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 6,\n        \"count\": 23,\n        \"description\": \"\",\n        \"link\": \"http://localhost/restropress3/fooditems/category/add-seasonings/\",\n        \"name\": \"Add Seasonings?\",\n        \"slug\": \"add-seasonings\",\n        \"taxonomy\": \"addon_category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/6\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/addon_category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/addons=6\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 7,\n        \"count\": 9,\n        \"description\": \"\",\n        \"link\": \"http://localhost/restropress3/fooditems/category/extra-bread-slices/\",\n        \"name\": \"Extra bread slices?\",\n        \"slug\": \"extra-bread-slices\",\n        \"taxonomy\": \"addon_category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/7\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/addon_category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/addons=7\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 8,\n        \"count\": 12,\n        \"description\": \"\",\n        \"link\": \"http://localhost/restropress3/fooditems/category/extra-ketchup-on-the-side/\",\n        \"name\": \"Extra ketchup on the side\",\n        \"slug\": \"extra-ketchup-on-the-side\",\n        \"taxonomy\": \"addon_category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/8\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/addon_category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/addons=8\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 9,\n        \"count\": 25,\n        \"description\": \"\",\n        \"link\": \"http://localhost/restropress3/fooditems/category/hot-sauce-on-food/\",\n        \"name\": \"Hot Sauce on food\",\n        \"slug\": \"hot-sauce-on-food\",\n        \"taxonomy\": \"addon_category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/9\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/addon_category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/addons=9\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 10,\n        \"count\": 26,\n        \"description\": \"\",\n        \"link\": \"http://localhost/restropress3/fooditems/category/ketchup-on-food/\",\n        \"name\": \"Ketchup on food\",\n        \"slug\": \"ketchup-on-food\",\n        \"taxonomy\": \"addon_category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/10\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/addon_category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/addons=10\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 11,\n        \"count\": 24,\n        \"description\": \"\",\n        \"link\": \"http://localhost/restropress3/fooditems/category/mild-sauce-on-food/\",\n        \"name\": \"Mild Sauce on food\",\n        \"slug\": \"mild-sauce-on-food\",\n        \"taxonomy\": \"addon_category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/11\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/addon_category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/addons=11\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 12,\n        \"count\": 16,\n        \"description\": \"\",\n        \"link\": \"http://localhost/restropress3/fooditems/category/sauce-on-the-side/\",\n        \"name\": \"Sauce on the side?\",\n        \"slug\": \"sauce-on-the-side\",\n        \"taxonomy\": \"addon_category\",\n        \"parent\": 0,\n        \"meta\": [],\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/12\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/addon_category\"\n                }\n            ],\n            \"wp:post_type\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/addons=12\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    }\n]"}],"_postman_id":"ddb1dc5d-6896-40be-8469-e06ad4cc3293"},{"name":"Add an addon","id":"f8f353d0-18db-40a8-b2c9-2263ff5f5b91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/fooditem/addons","description":"<h4 id=\"available-parameters\">Available Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Is Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Required</td>\n<td>The name of addon</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>The addon description. Default empty string.</td>\n</tr>\n<tr>\n<td><code>slug</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>The term slug to use. Default empty string.</td>\n</tr>\n<tr>\n<td><code>taxonomy</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>Slug of the term to make this term an alias of.  <br />Default empty string. Accepts a term slug.</td>\n</tr>\n<tr>\n<td><code>parent</code></td>\n<td>integer</td>\n<td>Optional</td>\n<td>Assigned to a specific parent, Default is 0.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["addons"],"host":["http://example.com/wp-json/rp/v1/fooditem"],"query":[],"variable":[]}},"response":[{"id":"8f36f55a-d404-43b9-ac6a-74d0a3bb6b0a","name":"success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Hot chilly Sauce2\"\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/fooditem/addons"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 99,\n    \"count\": 0,\n    \"description\": \"\",\n    \"link\": \"http://localhost/restropress3/fooditems/category/hot-chilly-sauce2/\",\n    \"name\": \"Hot chilly Sauce2\",\n    \"slug\": \"hot-chilly-sauce2\",\n    \"taxonomy\": \"addon_category\",\n    \"parent\": 0,\n    \"meta\": [],\n    \"_links\": {\n        \"self\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/99\"\n            }\n        ],\n        \"collection\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons\"\n            }\n        ],\n        \"about\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/addon_category\"\n            }\n        ],\n        \"wp:post_type\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/addons=99\"\n            }\n        ],\n        \"curies\": [\n            {\n                \"name\": \"wp\",\n                \"href\": \"https://api.w.org/{rel}\",\n                \"templated\": true\n            }\n        ]\n    }\n}"},{"id":"20ae715e-021d-44c5-8972-fde78ada0ae0","name":"error","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Hot chilly Sauce\"\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/fooditem/addons"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"term_exists\",\n    \"message\": \"A term with the name provided already exists with this parent.\",\n    \"data\": {\n        \"status\": 400,\n        \"term_id\": 98\n    },\n    \"additional_data\": [\n        98,\n        98\n    ]\n}"}],"_postman_id":"f8f353d0-18db-40a8-b2c9-2263ff5f5b91"},{"name":"Retrieve an addon","id":"a35d50c0-8f66-4f9c-a27f-94bcc39c83b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/fooditem/addons/{{addon_id}}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["addons","{{addon_id}}"],"host":["http://example.com/wp-json/rp/v1/fooditem"],"query":[],"variable":[]}},"response":[{"id":"149c4333-1dbc-46b4-b21b-9453c9611168","name":"success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"http://example.com/wp-json/rp/v1/fooditem/addons/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"count\": 15,\n    \"description\": \"\",\n    \"link\": \"http://localhost/restropress3/fooditems/category/add-extra-wing/\",\n    \"name\": \"add extra wing?\",\n    \"slug\": \"add-extra-wing\",\n    \"taxonomy\": \"addon_category\",\n    \"parent\": 0,\n    \"meta\": [],\n    \"_links\": {\n        \"self\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/3\"\n            }\n        ],\n        \"collection\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons\"\n            }\n        ],\n        \"about\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/addon_category\"\n            }\n        ],\n        \"wp:post_type\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/addons=3\"\n            }\n        ],\n        \"curies\": [\n            {\n                \"name\": \"wp\",\n                \"href\": \"https://api.w.org/{rel}\",\n                \"templated\": true\n            }\n        ]\n    }\n}"},{"id":"83419bae-5955-4d52-83ec-006698558edd","name":"error","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"http://example.com/wp-json/rp/v1/fooditem/addons/228"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"rest_term_invalid\",\n    \"message\": \"Term does not exist.\",\n    \"data\": {\n        \"status\": 404\n    }\n}"}],"_postman_id":"a35d50c0-8f66-4f9c-a27f-94bcc39c83b6"},{"name":"Edit an addon","id":"ae218f58-f302-4a1a-9590-20384a829f92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/fooditem/addons/{{addon_id}}","description":"<h4 id=\"available-parameters\">Available Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Is Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Required</td>\n<td>The name of addon</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>The addon description. Default empty string.</td>\n</tr>\n<tr>\n<td><code>slug</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>The term slug to use. Default empty string.</td>\n</tr>\n<tr>\n<td><code>taxonomy</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>Slug of the term to make this term an alias of.  <br />Default empty string. Accepts a term slug.</td>\n</tr>\n<tr>\n<td><code>parent</code></td>\n<td>integer</td>\n<td>Optional</td>\n<td>Assigned to a specific parent, Default is 0.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["addons","{{addon_id}}"],"host":["http://example.com/wp-json/rp/v1/fooditem"],"query":[],"variable":[]}},"response":[{"id":"9ff161ce-aca6-448d-80ac-bf46bcff4e18","name":"success","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Hot chilly Sauce2\"\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/fooditem/addons/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"count\": 15,\n    \"description\": \"\",\n    \"link\": \"http://localhost/restropress3/fooditems/category/add-extra-wing/\",\n    \"name\": \"Hot chilly Sauce2\",\n    \"slug\": \"add-extra-wing\",\n    \"taxonomy\": \"addon_category\",\n    \"parent\": 0,\n    \"meta\": [],\n    \"_links\": {\n        \"self\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/3\"\n            }\n        ],\n        \"collection\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons\"\n            }\n        ],\n        \"about\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/taxonomies/addon_category\"\n            }\n        ],\n        \"wp:post_type\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food?fooditem/addons=3\"\n            }\n        ],\n        \"curies\": [\n            {\n                \"name\": \"wp\",\n                \"href\": \"https://api.w.org/{rel}\",\n                \"templated\": true\n            }\n        ]\n    }\n}"},{"id":"66aa423a-b0b0-4586-adfa-139f47500539","name":"error","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Hot chilly Sauce2\"\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/fooditem/addons/163"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"rest_term_invalid\",\n    \"message\": \"Term does not exist.\",\n    \"data\": {\n        \"status\": 404\n    }\n}"}],"_postman_id":"ae218f58-f302-4a1a-9590-20384a829f92"},{"name":"Delete an addon","id":"8797a145-fbf6-4abe-a140-da84a199f40b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"http://example.com/wp-json/rp/v1/fooditem/addons/{{addon_id}}","description":"<h4 id=\"available-parameters\">Available Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>force</code></td>\n<td>bool</td>\n<td>Required to be true, as terms do not support trashing.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["addons","{{addon_id}}"],"host":["http://example.com/wp-json/rp/v1/fooditem"],"query":[],"variable":[]}},"response":[{"id":"d67c51b3-3de4-48cf-bf57-4ec950ebb2b0","name":"success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://example.com/wp-json/rp/v1/fooditem/addons/2?force=true","protocol":"http","host":["example","com"],"path":["wp-json","rp","v1","fooditem","addons","2"],"query":[{"key":"force","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": true,\n    \"previous\": {\n        \"id\": 2,\n        \"count\": 8,\n        \"description\": \"\",\n        \"link\": \"http://localhost/restropress3/fooditems/category/add-extra-bread/\",\n        \"name\": \"Add extra bread\",\n        \"slug\": \"add-extra-bread\",\n        \"taxonomy\": \"addon_category\",\n        \"parent\": 0,\n        \"meta\": []\n    }\n}"},{"id":"971154b4-5e0f-442c-a404-8a25c13eabaf","name":"error","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons/163"},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"rest_trash_not_supported\",\n    \"message\": \"Terms do not support trashing. Set 'force=true' to delete.\",\n    \"data\": {\n        \"status\": 501\n    }\n}"}],"_postman_id":"8797a145-fbf6-4abe-a140-da84a199f40b"}],"id":"95565d6e-b3e2-4bf2-ad98-f399ad36c9fb","description":"<p>All endpoints and parameters related to Food Addons</p>\n","_postman_id":"95565d6e-b3e2-4bf2-ad98-f399ad36c9fb","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}}},{"name":"Foods","item":[{"name":"Retrieve all foods","id":"ea6f42f1-6f9b-4d5b-bfad-08766a33df07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/food","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>context</td>\n<td>string</td>\n<td>Scope under which the request is made; determines fields present in response. Enum: view, embed, edit. Default: view</td>\n</tr>\n<tr>\n<td>page</td>\n<td>integer</td>\n<td>Current page of the collection. Minimum: 1</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>integer</td>\n<td>Maximum number of items to be returned in result set. Minimum: 1, Maximum: 100</td>\n</tr>\n<tr>\n<td>search</td>\n<td>string</td>\n<td>Limit results to those matching a string.</td>\n</tr>\n<tr>\n<td>after</td>\n<td>string</td>\n<td>Limit response to posts published after a given ISO8601 compliant date. Format: date-time</td>\n</tr>\n<tr>\n<td>modified_after</td>\n<td>string</td>\n<td>Limit response to posts modified after a given ISO8601 compliant date. Format: date-time</td>\n</tr>\n<tr>\n<td>author</td>\n<td>array</td>\n<td>Limit result set to posts assigned to specific authors.</td>\n</tr>\n<tr>\n<td>author_exclude</td>\n<td>array</td>\n<td>Ensure result set excludes posts assigned to specific authors.</td>\n</tr>\n<tr>\n<td>before</td>\n<td>string</td>\n<td>Limit response to posts published before a given ISO8601 compliant date. Format: date-time</td>\n</tr>\n<tr>\n<td>modified_before</td>\n<td>string</td>\n<td>Limit response to posts modified before a given ISO8601 compliant date. Format: date-time</td>\n</tr>\n<tr>\n<td>exclude</td>\n<td>array</td>\n<td>Ensure result set excludes specific IDs.</td>\n</tr>\n<tr>\n<td>include</td>\n<td>array</td>\n<td>Limit result set to specific IDs.</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>integer</td>\n<td>Offset the result set by a specific number of items.</td>\n</tr>\n<tr>\n<td>order</td>\n<td>string</td>\n<td>Order sort attribute ascending or descending. Default: desc. Enum: asc, desc</td>\n</tr>\n<tr>\n<td>orderby</td>\n<td>string</td>\n<td>Sort collection by post attribute. Default: date. Enum: author, date, id, include, modified, parent, relevance, slug, include_slugs, title</td>\n</tr>\n<tr>\n<td>search_columns</td>\n<td>array</td>\n<td>Array of column names to be searched. Enum: post_title, post_content, post_excerpt</td>\n</tr>\n<tr>\n<td>slug</td>\n<td>array</td>\n<td>Limit result set to posts with one or more specific slugs.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>array</td>\n<td>Limit result set to posts assigned one or more statuses. Default: publish. Enum: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, refunded, paid, failed, revoked, abandoned, processing, active, inactive, any</td>\n</tr>\n<tr>\n<td>food_type</td>\n<td>string</td>\n<td>Filter Food Item with Its type. Enum: veg, non_veg</td>\n</tr>\n<tr>\n<td>with_addons</td>\n<td>string</td>\n<td>Item response will have selected addons of food. Enum: true, false</td>\n</tr>\n<tr>\n<td>orderby_sales</td>\n<td>string</td>\n<td>This will enable order by sales for food items. Enum: true, false</td>\n</tr>\n<tr>\n<td>tax_relation</td>\n<td>string</td>\n<td>Limit result set based on the relationship between multiple taxonomies. Enum: \"AND\", \"OR\". Required: false.</td>\n</tr>\n<tr>\n<td>food-category</td>\n<td>object, array</td>\n<td>Limit result set to items with specific terms assigned in the food-category taxonomy. One of: Term ID List, Term ID Taxonomy Query. Required: false.</td>\n</tr>\n<tr>\n<td></td>\n<td>- Term ID List</td>\n<td>Match terms with the listed IDs.</td>\n</tr>\n<tr>\n<td></td>\n<td>- Term ID Taxonomy Query</td>\n<td>Perform an advanced term query.</td>\n</tr>\n<tr>\n<td></td>\n<td>- terms</td>\n<td>Term IDs. Default: [].</td>\n</tr>\n<tr>\n<td></td>\n<td>- include_children</td>\n<td>Whether to include child terms in the terms limiting the result set. Default: false.</td>\n</tr>\n<tr>\n<td></td>\n<td>- operator</td>\n<td>Whether items must be assigned all or any of the specified terms. Enum: \"AND\", \"OR\". Default: \"OR\".</td>\n</tr>\n<tr>\n<td>food-category_exclude</td>\n<td>object, array</td>\n<td>Limit result set to items except those with specific terms assigned in the food-category taxonomy. One of: Term ID List, Term ID Taxonomy Query. Required: false.</td>\n</tr>\n<tr>\n<td></td>\n<td>- Term ID List</td>\n<td>Match terms with the listed IDs.</td>\n</tr>\n<tr>\n<td></td>\n<td>- Term ID Taxonomy Query</td>\n<td>Perform an advanced term query.</td>\n</tr>\n<tr>\n<td></td>\n<td>- terms</td>\n<td>Term IDs. Default: [].</td>\n</tr>\n<tr>\n<td></td>\n<td>- include_children</td>\n<td>Whether to include child terms in the terms limiting the result set. Default: false.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"host":["http://example.com/wp-json/rp/v1/food"],"query":[],"variable":[]}},"response":[{"id":"7cd8797b-270e-4a6c-9347-b666e46b5415","name":"success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":"http://example.com/wp-json/rp/v1/food"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 152,\n        \"date\": \"2023-12-14T11:41:39\",\n        \"date_gmt\": \"2023-12-14T06:11:39\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?post_type=fooditem&#038;p=152\"\n        },\n        \"modified\": \"2023-12-14T18:30:11\",\n        \"modified_gmt\": \"2023-12-14T13:00:11\",\n        \"slug\": \"bvcfbh\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=bvcfbh\",\n        \"title\": {\n            \"rendered\": \"bvcfbh\"\n        },\n        \"content\": {\n            \"rendered\": \"\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 0,\n        \"food_type\": \"veg\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": true,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"60.00\",\n        \"variable_prices\": [\n            {\n                \"name\": \"one\",\n                \"amount\": \"78.00\"\n            },\n            {\n                \"name\": \"two\",\n                \"amount\": \"60.00\"\n            }\n        ],\n        \"sku\": null,\n        \"sales\": \"0\",\n        \"earnings\": \"0.00\",\n        \"food_categories\": [\n            85\n        ],\n        \"featured_media_url\": false,\n        \"thumbnail\": false,\n        \"have_addons\": true\n    },\n    {\n        \"id\": 125,\n        \"date\": \"2023-12-13T17:12:46\",\n        \"date_gmt\": \"2023-12-13T11:42:46\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=chicken-4\"\n        },\n        \"modified\": \"2023-12-14T11:04:10\",\n        \"modified_gmt\": \"2023-12-14T05:34:10\",\n        \"slug\": \"chicken-4\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=chicken-4\",\n        \"title\": {\n            \"rendered\": \"Chicken\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>This is awesome.</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>This is awesome</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 0,\n        \"food_type\": \"veg\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": true,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"0.00\",\n        \"variable_prices\": [\n            {\n                \"name\": \"Chicken\",\n                \"amount\": \"10.45\"\n            },\n            {\n                \"name\": \"Lamb\",\n                \"amount\": \"10.95\"\n            },\n            {\n                \"name\": \"Mottun\",\n                \"amount\": \"20.00\"\n            }\n        ],\n        \"sku\": null,\n        \"sales\": \"0\",\n        \"earnings\": \"0.00\",\n        \"food_categories\": [\n            95\n        ],\n        \"featured_media_url\": false,\n        \"thumbnail\": false,\n        \"have_addons\": true\n    },\n    {\n        \"id\": 99,\n        \"date\": \"2023-12-13T15:09:36\",\n        \"date_gmt\": \"2023-12-13T09:39:36\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=using-api-3\"\n        },\n        \"modified\": \"2023-12-13T15:09:36\",\n        \"modified_gmt\": \"2023-12-13T09:39:36\",\n        \"slug\": \"using-api-3\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=using-api-3\",\n        \"title\": {\n            \"rendered\": \"Using API-3\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Test API content</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Test API Excerpt</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 0,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": true,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": 0,\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"0\",\n        \"earnings\": \"0.00\",\n        \"food_categories\": [],\n        \"featured_media_url\": false,\n        \"thumbnail\": false,\n        \"have_addons\": false\n    },\n    {\n        \"id\": 82,\n        \"date\": \"2018-12-27T11:09:10\",\n        \"date_gmt\": \"2018-12-27T11:09:10\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=healthy-chicken-wings-recipe-for-dinner\"\n        },\n        \"modified\": \"2018-12-27T11:09:10\",\n        \"modified_gmt\": \"2018-12-27T11:09:10\",\n        \"slug\": \"healthy-chicken-wings-recipe-for-dinner\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=healthy-chicken-wings-recipe-for-dinner\",\n        \"title\": {\n            \"rendered\": \"Healthy Chicken Wings Recipe for Dinner\"\n        },\n        \"content\": {\n            \"rendered\": \"\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 83,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"35.00\",\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"8\",\n        \"earnings\": \"307.02\",\n        \"food_categories\": [\n            18\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/2-wings.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/2-wings-150x150.jpg\",\n        \"have_addons\": true\n    },\n    {\n        \"id\": 80,\n        \"date\": \"2018-12-27T11:07:51\",\n        \"date_gmt\": \"2018-12-27T11:07:51\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=chicken-wings-friday-night-baseball\"\n        },\n        \"modified\": \"2018-12-27T11:07:51\",\n        \"modified_gmt\": \"2018-12-27T11:07:51\",\n        \"slug\": \"chicken-wings-friday-night-baseball\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=chicken-wings-friday-night-baseball\",\n        \"title\": {\n            \"rendered\": \"Chicken Wings &#038; Friday Night Baseball\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Delicious Friday Night Baseball</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Delicious Friday Night Baseball</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 81,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"54.40\",\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"22\",\n        \"earnings\": \"1260.07\",\n        \"food_categories\": [\n            18\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/Friday-Night.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/Friday-Night-150x150.jpg\",\n        \"have_addons\": true\n    },\n    {\n        \"id\": 78,\n        \"date\": \"2018-12-27T11:00:53\",\n        \"date_gmt\": \"2018-12-27T11:00:53\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=sizzling-beef-tenderloin-with-black-pepper-sauce\"\n        },\n        \"modified\": \"2018-12-27T11:00:53\",\n        \"modified_gmt\": \"2018-12-27T11:00:53\",\n        \"slug\": \"sizzling-beef-tenderloin-with-black-pepper-sauce\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=sizzling-beef-tenderloin-with-black-pepper-sauce\",\n        \"title\": {\n            \"rendered\": \"Sizzling Beef Tenderloin with Black pepper Sauce\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Tasty Sizzling Beef Tenderloin</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Tasty Sizzling Beef Tenderloin</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 79,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"65.10\",\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"63\",\n        \"earnings\": \"4189.53\",\n        \"food_categories\": [\n            93\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/beef-sizzling.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/beef-sizzling-150x150.jpg\",\n        \"have_addons\": true\n    },\n    {\n        \"id\": 76,\n        \"date\": \"2018-12-27T10:58:05\",\n        \"date_gmt\": \"2018-12-27T10:58:05\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=beef-with-chinese-broccoli\"\n        },\n        \"modified\": \"2018-12-27T10:58:05\",\n        \"modified_gmt\": \"2018-12-27T10:58:05\",\n        \"slug\": \"beef-with-chinese-broccoli\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=beef-with-chinese-broccoli\",\n        \"title\": {\n            \"rendered\": \"Beef with Chinese Broccoli\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Delicious chinese Broccoli with Beef</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Delicious chinese Broccoli with Beef</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 77,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"40.00\",\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"96\",\n        \"earnings\": \"3906.45\",\n        \"food_categories\": [\n            93\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/chinese-brocoli.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/chinese-brocoli.jpg\",\n        \"have_addons\": true\n    },\n    {\n        \"id\": 74,\n        \"date\": \"2018-12-27T10:53:26\",\n        \"date_gmt\": \"2018-12-27T10:53:26\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=beef-with-king-mushroom\"\n        },\n        \"modified\": \"2018-12-27T10:53:26\",\n        \"modified_gmt\": \"2018-12-27T10:53:26\",\n        \"slug\": \"beef-with-king-mushroom\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=beef-with-king-mushroom\",\n        \"title\": {\n            \"rendered\": \"Beef with King Mushroom\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Tasty Beef with King Mushroom</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Tasty Beef with King Mushroom</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 75,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"34.00\",\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"42\",\n        \"earnings\": \"1446.190000\",\n        \"food_categories\": [\n            93\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/mushroom-beef.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/mushroom-beef-150x150.jpg\",\n        \"have_addons\": true\n    },\n    {\n        \"id\": 72,\n        \"date\": \"2018-12-27T10:51:22\",\n        \"date_gmt\": \"2018-12-27T10:51:22\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=sizzling-beef-tenderloin\"\n        },\n        \"modified\": \"2018-12-27T10:51:22\",\n        \"modified_gmt\": \"2018-12-27T10:51:22\",\n        \"slug\": \"sizzling-beef-tenderloin\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=sizzling-beef-tenderloin\",\n        \"title\": {\n            \"rendered\": \"Sizzling Beef Tenderloin\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Delicious Sizzling Beef  Tenderloin</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Delicious Sizzling Beef  Tenderloin</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 73,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"23.00\",\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"26\",\n        \"earnings\": \"616.55\",\n        \"food_categories\": [\n            93\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/Beef-Tenderloin.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/Beef-Tenderloin-150x150.jpg\",\n        \"have_addons\": true\n    },\n    {\n        \"id\": 70,\n        \"date\": \"2018-12-27T10:42:13\",\n        \"date_gmt\": \"2018-12-27T10:42:13\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=chicken-nuggets\"\n        },\n        \"modified\": \"2018-12-27T10:42:13\",\n        \"modified_gmt\": \"2018-12-27T10:42:13\",\n        \"slug\": \"chicken-nuggets\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=chicken-nuggets\",\n        \"title\": {\n            \"rendered\": \"Chicken Nuggets\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Tasty Chicken Nuggets</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Tasty Chicken Nuggets</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 71,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": true,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": 0,\n        \"variable_prices\": {\n            \"1\": {\n                \"name\": \"full\",\n                \"amount\": \"13.00\"\n            },\n            \"2\": {\n                \"name\": \"half\",\n                \"amount\": \"13.00\"\n            }\n        },\n        \"sku\": null,\n        \"sales\": \"52\",\n        \"earnings\": \"139.53\",\n        \"food_categories\": [\n            85\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/nuggets.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/nuggets-150x150.jpg\",\n        \"have_addons\": true\n    }\n]"},{"id":"efc39a87-559e-4633-bbb9-de0bc6c1194d","name":"success with addons","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"url":{"raw":"http://example.com/wp-json/rp/v1/food?with_addons=true","protocol":"http","host":["example","com"],"path":["wp-json","rp","v1","food"],"query":[{"key":"with_addons","value":"true","description":"Pass True If want addon list with food item."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 215,\n        \"date\": \"2023-12-15T11:28:52\",\n        \"date_gmt\": \"2023-12-15T05:58:52\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=chicken-2\"\n        },\n        \"modified\": \"2023-12-15T12:03:06\",\n        \"modified_gmt\": \"2023-12-15T06:33:06\",\n        \"slug\": \"chicken-2\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=chicken-2\",\n        \"title\": {\n            \"rendered\": \"Chicken\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>This is awesome.</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>This is awesome</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 0,\n        \"food_type\": \"veg\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": true,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"0.00\",\n        \"variable_prices\": [\n            {\n                \"name\": \"Chicken\",\n                \"amount\": \"10.45\"\n            },\n            {\n                \"name\": \"Lamb\",\n                \"amount\": \"10.95\"\n            },\n            {\n                \"name\": \"Mottun\",\n                \"amount\": \"20.00\"\n            }\n        ],\n        \"sku\": \"chicken9087\",\n        \"sales\": \"0\",\n        \"earnings\": \"0.00\",\n        \"food_categories\": [\n            95\n        ],\n        \"featured_media_url\": false,\n        \"thumbnail\": false,\n        \"have_addons\": true,\n        \"food_addons\": {\n            \"14\": {\n                \"category\": \"14\",\n                \"max_addons\": \"\",\n                \"items\": [\n                    \"15\"\n                ],\n                \"prices\": {\n                    \"15\": {\n                        \"chicken\": \"4.00\",\n                        \"lamb\": \"30.00\",\n                        \"mottun\": \"40.00\"\n                    }\n                },\n                \"default\": [\n                    \"15|Chicken\",\n                    \"15|Lamb\"\n                ]\n            }\n        },\n        \"addons\": [\n            {\n                \"term_id\": 14,\n                \"name\": \"Add pepper on the food\",\n                \"slug\": \"add-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 14,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 15,\n                \"name\": \"Extra hot sauce on the side\",\n                \"slug\": \"extra-hot-sauce-on-the-side\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 15,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 14,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            }\n        ]\n    },\n    {\n        \"id\": 214,\n        \"date\": \"2023-12-15T11:28:43\",\n        \"date_gmt\": \"2023-12-15T05:58:43\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=chicken\"\n        },\n        \"modified\": \"2023-12-15T11:28:43\",\n        \"modified_gmt\": \"2023-12-15T05:58:43\",\n        \"slug\": \"chicken\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=chicken\",\n        \"title\": {\n            \"rendered\": \"Chicken\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>This is awesome.</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>This is awesome</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 0,\n        \"food_type\": \"veg\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": true,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": 0,\n        \"variable_prices\": [\n            {\n                \"name\": \"Chicken\",\n                \"amount\": \"10.45\"\n            },\n            {\n                \"name\": \"Lamb\",\n                \"amount\": \"10.95\"\n            },\n            {\n                \"name\": \"Mottun\",\n                \"amount\": \"20.00\"\n            }\n        ],\n        \"sku\": \"chicken9087\",\n        \"sales\": \"0\",\n        \"earnings\": \"0.00\",\n        \"food_categories\": [\n            95\n        ],\n        \"featured_media_url\": false,\n        \"thumbnail\": false,\n        \"have_addons\": true,\n        \"food_addons\": {\n            \"14\": {\n                \"category\": \"14\",\n                \"max_addons\": \"\",\n                \"is_required\": \"yes\",\n                \"items\": [\n                    \"15\"\n                ],\n                \"prices\": {\n                    \"15\": {\n                        \"chicken\": \"4.00\",\n                        \"lamb\": \"30.00\",\n                        \"mottun\": \"40.00\"\n                    }\n                }\n            }\n        },\n        \"addons\": [\n            {\n                \"term_id\": 14,\n                \"name\": \"Add pepper on the food\",\n                \"slug\": \"add-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 14,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 15,\n                \"name\": \"Extra hot sauce on the side\",\n                \"slug\": \"extra-hot-sauce-on-the-side\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 15,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 14,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            }\n        ]\n    },\n    {\n        \"id\": 99,\n        \"date\": \"2023-12-13T15:09:36\",\n        \"date_gmt\": \"2023-12-13T09:39:36\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=using-api-3\"\n        },\n        \"modified\": \"2023-12-13T15:09:36\",\n        \"modified_gmt\": \"2023-12-13T09:39:36\",\n        \"slug\": \"using-api-3\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=using-api-3\",\n        \"title\": {\n            \"rendered\": \"Using API-3\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Test API content</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Test API Excerpt</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 0,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": true,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": 0,\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"0\",\n        \"earnings\": \"0.00\",\n        \"food_categories\": [],\n        \"featured_media_url\": false,\n        \"thumbnail\": false,\n        \"have_addons\": false\n    },\n    {\n        \"id\": 82,\n        \"date\": \"2018-12-27T11:09:10\",\n        \"date_gmt\": \"2018-12-27T11:09:10\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=healthy-chicken-wings-recipe-for-dinner\"\n        },\n        \"modified\": \"2018-12-27T11:09:10\",\n        \"modified_gmt\": \"2018-12-27T11:09:10\",\n        \"slug\": \"healthy-chicken-wings-recipe-for-dinner\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=healthy-chicken-wings-recipe-for-dinner\",\n        \"title\": {\n            \"rendered\": \"Healthy Chicken Wings Recipe for Dinner\"\n        },\n        \"content\": {\n            \"rendered\": \"\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 83,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"35.00\",\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"8\",\n        \"earnings\": \"307.02\",\n        \"food_categories\": [\n            18\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/2-wings.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/2-wings-150x150.jpg\",\n        \"have_addons\": true,\n        \"food_addons\": {\n            \"2\": {\n                \"items\": [\n                    3,\n                    4,\n                    5,\n                    6,\n                    9,\n                    10,\n                    11,\n                    13\n                ]\n            },\n            \"14\": {\n                \"category\": 14,\n                \"items\": []\n            },\n            \"20\": {\n                \"category\": 20,\n                \"items\": [\n                    86\n                ]\n            },\n            \"24\": {\n                \"items\": [\n                    25,\n                    26,\n                    27,\n                    46,\n                    48,\n                    49,\n                    51,\n                    52,\n                    53,\n                    55,\n                    32,\n                    33,\n                    34,\n                    59,\n                    62,\n                    63,\n                    64,\n                    67,\n                    68,\n                    70,\n                    40,\n                    74,\n                    75,\n                    76,\n                    41,\n                    79,\n                    80\n                ]\n            }\n        },\n        \"addons\": [\n            {\n                \"term_id\": 3,\n                \"name\": \"Hot chilly Sauce2\",\n                \"slug\": \"add-extra-wing\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 3,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 15,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 4,\n                \"name\": \"Add salt on the food\",\n                \"slug\": \"add-salt-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 4,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 5,\n                \"name\": \"Add Sauce?\",\n                \"slug\": \"add-sauce\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 5,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 27,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 6,\n                \"name\": \"Add Seasonings?\",\n                \"slug\": \"add-seasonings\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 6,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 9,\n                \"name\": \"Hot Sauce on food\",\n                \"slug\": \"hot-sauce-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 9,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 25,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 10,\n                \"name\": \"Ketchup on food\",\n                \"slug\": \"ketchup-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 10,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 26,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 11,\n                \"name\": \"Mild Sauce on food\",\n                \"slug\": \"mild-sauce-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 11,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 24,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 13,\n                \"name\": \"Small extra wing\",\n                \"slug\": \"small-extra-wing\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 13,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 14,\n                \"name\": \"Add pepper on the food\",\n                \"slug\": \"add-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 14,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 20,\n                \"name\": \"Add a hot pepper\",\n                \"slug\": \"add-a-hot-pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 20,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 22,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 24,\n                \"name\": \"Add a Cookie\",\n                \"slug\": \"add-a-cookie\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 24,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 12,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 25,\n                \"name\": \"Add a Side\",\n                \"slug\": \"add-a-side\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 25,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 26,\n                \"name\": \"Add lemon pepper on the food\",\n                \"slug\": \"add-lemon-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 26,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 21,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 27,\n                \"name\": \"Add Ons\",\n                \"slug\": \"add-ons\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 27,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 32,\n                \"name\": \"Double Meat\",\n                \"slug\": \"double-meat\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 32,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 33,\n                \"name\": \"Extra Bacon\",\n                \"slug\": \"extra-bacon\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 33,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 34,\n                \"name\": \"Extra Cheese\",\n                \"slug\": \"extra-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 34,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 40,\n                \"name\": \"Pepperoni\",\n                \"slug\": \"pepperoni\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 40,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 41,\n                \"name\": \"Soup\",\n                \"slug\": \"soup\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 41,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 13,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 46,\n                \"name\": \"BBQ\",\n                \"slug\": \"bbq\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 46,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 48,\n                \"name\": \"Brown Mustard\",\n                \"slug\": \"brown-mustard\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 48,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 49,\n                \"name\": \"Buffalo\",\n                \"slug\": \"buffalo\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 49,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 51,\n                \"name\": \"Chipotle\",\n                \"slug\": \"chipotle\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 51,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 52,\n                \"name\": \"Choice of Sauce\",\n                \"slug\": \"choice-of-sauce\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 52,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 53,\n                \"name\": \"Choice of Seasoning\",\n                \"slug\": \"choice-of-seasoning\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 53,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 55,\n                \"name\": \"Creamy Sriracha\",\n                \"slug\": \"creamy-sriracha\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 55,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 59,\n                \"name\": \"Honey Mustard\",\n                \"slug\": \"honey-mustard\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 59,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 62,\n                \"name\": \"Lite Mayo\",\n                \"slug\": \"lite-mayo\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 62,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 63,\n                \"name\": \"Mustard\",\n                \"slug\": \"mustard\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 63,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 64,\n                \"name\": \"Oil and Vinegar\",\n                \"slug\": \"oil-and-vinegar\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 64,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 67,\n                \"name\": \"Oregano\",\n                \"slug\": \"oregano\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 67,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 68,\n                \"name\": \"Parmesan Cheese\",\n                \"slug\": \"parmesan-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 68,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 70,\n                \"name\": \"Pepper\",\n                \"slug\": \"pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 70,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 74,\n                \"name\": \"Ranch\",\n                \"slug\": \"ranch\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 74,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 75,\n                \"name\": \"Regular Mayo\",\n                \"slug\": \"regular-mayo\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 75,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 76,\n                \"name\": \"Salt\",\n                \"slug\": \"salt\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 76,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 79,\n                \"name\": \"Subway\",\n                \"slug\": \"subway\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 79,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 80,\n                \"name\": \"Sweet Onion\",\n                \"slug\": \"sweet-onion\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 80,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 86,\n                \"name\": \"Salt and Pepper\",\n                \"slug\": \"salt-and-pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 86,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 20,\n                \"count\": 12,\n                \"filter\": \"raw\"\n            }\n        ]\n    },\n    {\n        \"id\": 80,\n        \"date\": \"2018-12-27T11:07:51\",\n        \"date_gmt\": \"2018-12-27T11:07:51\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=chicken-wings-friday-night-baseball\"\n        },\n        \"modified\": \"2018-12-27T11:07:51\",\n        \"modified_gmt\": \"2018-12-27T11:07:51\",\n        \"slug\": \"chicken-wings-friday-night-baseball\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=chicken-wings-friday-night-baseball\",\n        \"title\": {\n            \"rendered\": \"Chicken Wings &#038; Friday Night Baseball\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Delicious Friday Night Baseball</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Delicious Friday Night Baseball</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 81,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"54.40\",\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"22\",\n        \"earnings\": \"1260.07\",\n        \"food_categories\": [\n            18\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/Friday-Night.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/Friday-Night-150x150.jpg\",\n        \"have_addons\": true,\n        \"food_addons\": {\n            \"2\": {\n                \"items\": [\n                    4,\n                    5,\n                    6,\n                    9,\n                    10,\n                    11\n                ]\n            },\n            \"14\": {\n                \"category\": 14,\n                \"items\": []\n            },\n            \"20\": {\n                \"category\": 20,\n                \"items\": [\n                    86\n                ]\n            },\n            \"24\": {\n                \"items\": [\n                    26,\n                    27,\n                    46,\n                    48,\n                    49,\n                    51,\n                    30,\n                    52,\n                    53,\n                    55,\n                    32,\n                    33,\n                    34,\n                    59,\n                    62,\n                    39,\n                    63,\n                    64,\n                    67,\n                    68,\n                    70,\n                    71,\n                    40,\n                    73,\n                    74,\n                    75,\n                    76,\n                    79,\n                    80,\n                    82\n                ]\n            }\n        },\n        \"addons\": [\n            {\n                \"term_id\": 4,\n                \"name\": \"Add salt on the food\",\n                \"slug\": \"add-salt-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 4,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 5,\n                \"name\": \"Add Sauce?\",\n                \"slug\": \"add-sauce\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 5,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 27,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 6,\n                \"name\": \"Add Seasonings?\",\n                \"slug\": \"add-seasonings\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 6,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 9,\n                \"name\": \"Hot Sauce on food\",\n                \"slug\": \"hot-sauce-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 9,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 25,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 10,\n                \"name\": \"Ketchup on food\",\n                \"slug\": \"ketchup-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 10,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 26,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 11,\n                \"name\": \"Mild Sauce on food\",\n                \"slug\": \"mild-sauce-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 11,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 24,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 14,\n                \"name\": \"Add pepper on the food\",\n                \"slug\": \"add-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 14,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 20,\n                \"name\": \"Add a hot pepper\",\n                \"slug\": \"add-a-hot-pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 20,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 22,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 24,\n                \"name\": \"Add a Cookie\",\n                \"slug\": \"add-a-cookie\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 24,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 12,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 26,\n                \"name\": \"Add lemon pepper on the food\",\n                \"slug\": \"add-lemon-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 26,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 21,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 27,\n                \"name\": \"Add Ons\",\n                \"slug\": \"add-ons\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 27,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 30,\n                \"name\": \"Choice of Cheese\",\n                \"slug\": \"choice-of-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 30,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 16,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 32,\n                \"name\": \"Double Meat\",\n                \"slug\": \"double-meat\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 32,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 33,\n                \"name\": \"Extra Bacon\",\n                \"slug\": \"extra-bacon\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 33,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 34,\n                \"name\": \"Extra Cheese\",\n                \"slug\": \"extra-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 34,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 39,\n                \"name\": \"Monterey Jack Shredded\",\n                \"slug\": \"monterey-jack-shredded\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 39,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 13,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 40,\n                \"name\": \"Pepperoni\",\n                \"slug\": \"pepperoni\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 40,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 46,\n                \"name\": \"BBQ\",\n                \"slug\": \"bbq\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 46,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 48,\n                \"name\": \"Brown Mustard\",\n                \"slug\": \"brown-mustard\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 48,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 49,\n                \"name\": \"Buffalo\",\n                \"slug\": \"buffalo\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 49,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 51,\n                \"name\": \"Chipotle\",\n                \"slug\": \"chipotle\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 51,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 52,\n                \"name\": \"Choice of Sauce\",\n                \"slug\": \"choice-of-sauce\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 52,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 53,\n                \"name\": \"Choice of Seasoning\",\n                \"slug\": \"choice-of-seasoning\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 53,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 55,\n                \"name\": \"Creamy Sriracha\",\n                \"slug\": \"creamy-sriracha\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 55,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 59,\n                \"name\": \"Honey Mustard\",\n                \"slug\": \"honey-mustard\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 59,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 62,\n                \"name\": \"Lite Mayo\",\n                \"slug\": \"lite-mayo\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 62,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 63,\n                \"name\": \"Mustard\",\n                \"slug\": \"mustard\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 63,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 64,\n                \"name\": \"Oil and Vinegar\",\n                \"slug\": \"oil-and-vinegar\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 64,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 67,\n                \"name\": \"Oregano\",\n                \"slug\": \"oregano\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 67,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 68,\n                \"name\": \"Parmesan Cheese\",\n                \"slug\": \"parmesan-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 68,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 70,\n                \"name\": \"Pepper\",\n                \"slug\": \"pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 70,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 71,\n                \"name\": \"Pepper Jack\",\n                \"slug\": \"pepper-jack\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 71,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 15,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 73,\n                \"name\": \"Provolone\",\n                \"slug\": \"provolone\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 73,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 74,\n                \"name\": \"Ranch\",\n                \"slug\": \"ranch\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 74,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 75,\n                \"name\": \"Regular Mayo\",\n                \"slug\": \"regular-mayo\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 75,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 76,\n                \"name\": \"Salt\",\n                \"slug\": \"salt\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 76,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 79,\n                \"name\": \"Subway\",\n                \"slug\": \"subway\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 79,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 80,\n                \"name\": \"Sweet Onion\",\n                \"slug\": \"sweet-onion\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 80,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 82,\n                \"name\": \"White American\",\n                \"slug\": \"white-american\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 82,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 13,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 86,\n                \"name\": \"Salt and Pepper\",\n                \"slug\": \"salt-and-pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 86,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 20,\n                \"count\": 12,\n                \"filter\": \"raw\"\n            }\n        ]\n    },\n    {\n        \"id\": 78,\n        \"date\": \"2018-12-27T11:00:53\",\n        \"date_gmt\": \"2018-12-27T11:00:53\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=sizzling-beef-tenderloin-with-black-pepper-sauce\"\n        },\n        \"modified\": \"2018-12-27T11:00:53\",\n        \"modified_gmt\": \"2018-12-27T11:00:53\",\n        \"slug\": \"sizzling-beef-tenderloin-with-black-pepper-sauce\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=sizzling-beef-tenderloin-with-black-pepper-sauce\",\n        \"title\": {\n            \"rendered\": \"Sizzling Beef Tenderloin with Black pepper Sauce\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Tasty Sizzling Beef Tenderloin</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Tasty Sizzling Beef Tenderloin</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 79,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"65.10\",\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"63\",\n        \"earnings\": \"4189.53\",\n        \"food_categories\": [\n            93\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/beef-sizzling.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/beef-sizzling-150x150.jpg\",\n        \"have_addons\": true,\n        \"food_addons\": {\n            \"2\": {\n                \"items\": [\n                    3,\n                    4,\n                    5,\n                    6,\n                    9,\n                    10,\n                    11,\n                    13\n                ]\n            },\n            \"14\": {\n                \"category\": 14,\n                \"items\": []\n            },\n            \"20\": {\n                \"category\": 20,\n                \"items\": []\n            },\n            \"24\": {\n                \"items\": [\n                    25,\n                    26,\n                    27,\n                    46,\n                    48,\n                    49,\n                    51,\n                    52,\n                    53,\n                    55,\n                    32,\n                    33,\n                    34,\n                    59,\n                    62,\n                    63,\n                    64,\n                    67,\n                    68,\n                    70,\n                    40,\n                    74,\n                    75,\n                    76,\n                    41,\n                    79,\n                    80\n                ]\n            }\n        },\n        \"addons\": [\n            {\n                \"term_id\": 3,\n                \"name\": \"Hot chilly Sauce2\",\n                \"slug\": \"add-extra-wing\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 3,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 15,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 4,\n                \"name\": \"Add salt on the food\",\n                \"slug\": \"add-salt-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 4,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 5,\n                \"name\": \"Add Sauce?\",\n                \"slug\": \"add-sauce\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 5,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 27,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 6,\n                \"name\": \"Add Seasonings?\",\n                \"slug\": \"add-seasonings\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 6,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 9,\n                \"name\": \"Hot Sauce on food\",\n                \"slug\": \"hot-sauce-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 9,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 25,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 10,\n                \"name\": \"Ketchup on food\",\n                \"slug\": \"ketchup-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 10,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 26,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 11,\n                \"name\": \"Mild Sauce on food\",\n                \"slug\": \"mild-sauce-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 11,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 24,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 13,\n                \"name\": \"Small extra wing\",\n                \"slug\": \"small-extra-wing\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 13,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 14,\n                \"name\": \"Add pepper on the food\",\n                \"slug\": \"add-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 14,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 20,\n                \"name\": \"Add a hot pepper\",\n                \"slug\": \"add-a-hot-pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 20,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 22,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 24,\n                \"name\": \"Add a Cookie\",\n                \"slug\": \"add-a-cookie\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 24,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 12,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 25,\n                \"name\": \"Add a Side\",\n                \"slug\": \"add-a-side\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 25,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 26,\n                \"name\": \"Add lemon pepper on the food\",\n                \"slug\": \"add-lemon-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 26,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 21,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 27,\n                \"name\": \"Add Ons\",\n                \"slug\": \"add-ons\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 27,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 32,\n                \"name\": \"Double Meat\",\n                \"slug\": \"double-meat\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 32,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 33,\n                \"name\": \"Extra Bacon\",\n                \"slug\": \"extra-bacon\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 33,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 34,\n                \"name\": \"Extra Cheese\",\n                \"slug\": \"extra-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 34,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 40,\n                \"name\": \"Pepperoni\",\n                \"slug\": \"pepperoni\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 40,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 41,\n                \"name\": \"Soup\",\n                \"slug\": \"soup\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 41,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 13,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 46,\n                \"name\": \"BBQ\",\n                \"slug\": \"bbq\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 46,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 48,\n                \"name\": \"Brown Mustard\",\n                \"slug\": \"brown-mustard\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 48,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 49,\n                \"name\": \"Buffalo\",\n                \"slug\": \"buffalo\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 49,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 51,\n                \"name\": \"Chipotle\",\n                \"slug\": \"chipotle\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 51,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 52,\n                \"name\": \"Choice of Sauce\",\n                \"slug\": \"choice-of-sauce\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 52,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 53,\n                \"name\": \"Choice of Seasoning\",\n                \"slug\": \"choice-of-seasoning\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 53,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 55,\n                \"name\": \"Creamy Sriracha\",\n                \"slug\": \"creamy-sriracha\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 55,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 59,\n                \"name\": \"Honey Mustard\",\n                \"slug\": \"honey-mustard\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 59,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 62,\n                \"name\": \"Lite Mayo\",\n                \"slug\": \"lite-mayo\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 62,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 63,\n                \"name\": \"Mustard\",\n                \"slug\": \"mustard\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 63,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 64,\n                \"name\": \"Oil and Vinegar\",\n                \"slug\": \"oil-and-vinegar\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 64,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 67,\n                \"name\": \"Oregano\",\n                \"slug\": \"oregano\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 67,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 68,\n                \"name\": \"Parmesan Cheese\",\n                \"slug\": \"parmesan-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 68,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 70,\n                \"name\": \"Pepper\",\n                \"slug\": \"pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 70,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 74,\n                \"name\": \"Ranch\",\n                \"slug\": \"ranch\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 74,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 75,\n                \"name\": \"Regular Mayo\",\n                \"slug\": \"regular-mayo\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 75,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 76,\n                \"name\": \"Salt\",\n                \"slug\": \"salt\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 76,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 79,\n                \"name\": \"Subway\",\n                \"slug\": \"subway\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 79,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 80,\n                \"name\": \"Sweet Onion\",\n                \"slug\": \"sweet-onion\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 80,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            }\n        ]\n    },\n    {\n        \"id\": 76,\n        \"date\": \"2018-12-27T10:58:05\",\n        \"date_gmt\": \"2018-12-27T10:58:05\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=beef-with-chinese-broccoli\"\n        },\n        \"modified\": \"2018-12-27T10:58:05\",\n        \"modified_gmt\": \"2018-12-27T10:58:05\",\n        \"slug\": \"beef-with-chinese-broccoli\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=beef-with-chinese-broccoli\",\n        \"title\": {\n            \"rendered\": \"Beef with Chinese Broccoli\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Delicious chinese Broccoli with Beef</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Delicious chinese Broccoli with Beef</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 77,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"40.00\",\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"96\",\n        \"earnings\": \"3906.45\",\n        \"food_categories\": [\n            93\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/chinese-brocoli.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/chinese-brocoli.jpg\",\n        \"have_addons\": true,\n        \"food_addons\": {\n            \"2\": {\n                \"items\": [\n                    4,\n                    5,\n                    6,\n                    9,\n                    10,\n                    11\n                ]\n            },\n            \"14\": {\n                \"category\": 14,\n                \"items\": []\n            },\n            \"20\": {\n                \"category\": 20,\n                \"items\": []\n            },\n            \"24\": {\n                \"items\": [\n                    26,\n                    27,\n                    29,\n                    32,\n                    33,\n                    34,\n                    35,\n                    36,\n                    37,\n                    40\n                ]\n            }\n        },\n        \"addons\": [\n            {\n                \"term_id\": 4,\n                \"name\": \"Add salt on the food\",\n                \"slug\": \"add-salt-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 4,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 5,\n                \"name\": \"Add Sauce?\",\n                \"slug\": \"add-sauce\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 5,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 27,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 6,\n                \"name\": \"Add Seasonings?\",\n                \"slug\": \"add-seasonings\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 6,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 9,\n                \"name\": \"Hot Sauce on food\",\n                \"slug\": \"hot-sauce-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 9,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 25,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 10,\n                \"name\": \"Ketchup on food\",\n                \"slug\": \"ketchup-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 10,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 26,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 11,\n                \"name\": \"Mild Sauce on food\",\n                \"slug\": \"mild-sauce-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 11,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 24,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 14,\n                \"name\": \"Add pepper on the food\",\n                \"slug\": \"add-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 14,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 20,\n                \"name\": \"Add a hot pepper\",\n                \"slug\": \"add-a-hot-pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 20,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 22,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 24,\n                \"name\": \"Add a Cookie\",\n                \"slug\": \"add-a-cookie\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 24,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 12,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 26,\n                \"name\": \"Add lemon pepper on the food\",\n                \"slug\": \"add-lemon-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 26,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 21,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 27,\n                \"name\": \"Add Ons\",\n                \"slug\": \"add-ons\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 27,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 29,\n                \"name\": \"Choice of Bread\",\n                \"slug\": \"choice-of-bread\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 29,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 32,\n                \"name\": \"Double Meat\",\n                \"slug\": \"double-meat\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 32,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 33,\n                \"name\": \"Extra Bacon\",\n                \"slug\": \"extra-bacon\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 33,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 34,\n                \"name\": \"Extra Cheese\",\n                \"slug\": \"extra-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 34,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 35,\n                \"name\": \"Flatbread Multigrain\",\n                \"slug\": \"flatbread-multigrain\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 35,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 36,\n                \"name\": \"Flatbread White\",\n                \"slug\": \"flatbread-white\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 36,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 37,\n                \"name\": \"Italian Herb and Cheese Bread\",\n                \"slug\": \"italian-herb-and-cheese-bread\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 37,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 13,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 40,\n                \"name\": \"Pepperoni\",\n                \"slug\": \"pepperoni\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 40,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            }\n        ]\n    },\n    {\n        \"id\": 74,\n        \"date\": \"2018-12-27T10:53:26\",\n        \"date_gmt\": \"2018-12-27T10:53:26\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=beef-with-king-mushroom\"\n        },\n        \"modified\": \"2018-12-27T10:53:26\",\n        \"modified_gmt\": \"2018-12-27T10:53:26\",\n        \"slug\": \"beef-with-king-mushroom\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=beef-with-king-mushroom\",\n        \"title\": {\n            \"rendered\": \"Beef with King Mushroom\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Tasty Beef with King Mushroom</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Tasty Beef with King Mushroom</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 75,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"34.00\",\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"42\",\n        \"earnings\": \"1446.190000\",\n        \"food_categories\": [\n            93\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/mushroom-beef.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/mushroom-beef-150x150.jpg\",\n        \"have_addons\": true,\n        \"food_addons\": {\n            \"2\": {\n                \"items\": [\n                    4,\n                    5,\n                    6,\n                    9,\n                    10,\n                    11\n                ]\n            },\n            \"14\": {\n                \"category\": 14,\n                \"items\": []\n            },\n            \"20\": {\n                \"category\": 20,\n                \"items\": []\n            },\n            \"24\": {\n                \"items\": [\n                    26,\n                    27,\n                    32,\n                    33,\n                    34,\n                    40\n                ]\n            }\n        },\n        \"addons\": [\n            {\n                \"term_id\": 4,\n                \"name\": \"Add salt on the food\",\n                \"slug\": \"add-salt-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 4,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 5,\n                \"name\": \"Add Sauce?\",\n                \"slug\": \"add-sauce\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 5,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 27,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 6,\n                \"name\": \"Add Seasonings?\",\n                \"slug\": \"add-seasonings\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 6,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 9,\n                \"name\": \"Hot Sauce on food\",\n                \"slug\": \"hot-sauce-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 9,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 25,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 10,\n                \"name\": \"Ketchup on food\",\n                \"slug\": \"ketchup-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 10,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 26,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 11,\n                \"name\": \"Mild Sauce on food\",\n                \"slug\": \"mild-sauce-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 11,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 24,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 14,\n                \"name\": \"Add pepper on the food\",\n                \"slug\": \"add-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 14,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 20,\n                \"name\": \"Add a hot pepper\",\n                \"slug\": \"add-a-hot-pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 20,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 22,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 24,\n                \"name\": \"Add a Cookie\",\n                \"slug\": \"add-a-cookie\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 24,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 12,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 26,\n                \"name\": \"Add lemon pepper on the food\",\n                \"slug\": \"add-lemon-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 26,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 21,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 27,\n                \"name\": \"Add Ons\",\n                \"slug\": \"add-ons\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 27,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 32,\n                \"name\": \"Double Meat\",\n                \"slug\": \"double-meat\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 32,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 33,\n                \"name\": \"Extra Bacon\",\n                \"slug\": \"extra-bacon\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 33,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 34,\n                \"name\": \"Extra Cheese\",\n                \"slug\": \"extra-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 34,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 40,\n                \"name\": \"Pepperoni\",\n                \"slug\": \"pepperoni\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 40,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            }\n        ]\n    },\n    {\n        \"id\": 72,\n        \"date\": \"2018-12-27T10:51:22\",\n        \"date_gmt\": \"2018-12-27T10:51:22\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=sizzling-beef-tenderloin\"\n        },\n        \"modified\": \"2018-12-27T10:51:22\",\n        \"modified_gmt\": \"2018-12-27T10:51:22\",\n        \"slug\": \"sizzling-beef-tenderloin\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=sizzling-beef-tenderloin\",\n        \"title\": {\n            \"rendered\": \"Sizzling Beef Tenderloin\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Delicious Sizzling Beef  Tenderloin</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Delicious Sizzling Beef  Tenderloin</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 73,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": false,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": \"23.00\",\n        \"variable_prices\": [],\n        \"sku\": null,\n        \"sales\": \"26\",\n        \"earnings\": \"616.55\",\n        \"food_categories\": [\n            93\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/Beef-Tenderloin.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/Beef-Tenderloin-150x150.jpg\",\n        \"have_addons\": true,\n        \"food_addons\": {\n            \"2\": {\n                \"items\": [\n                    4,\n                    5,\n                    6,\n                    9,\n                    10,\n                    11\n                ]\n            },\n            \"14\": {\n                \"category\": 14,\n                \"items\": []\n            },\n            \"20\": {\n                \"category\": 20,\n                \"items\": []\n            },\n            \"24\": {\n                \"items\": [\n                    26,\n                    27,\n                    30,\n                    32,\n                    33,\n                    34,\n                    39,\n                    71,\n                    40,\n                    73,\n                    82\n                ]\n            }\n        },\n        \"addons\": [\n            {\n                \"term_id\": 4,\n                \"name\": \"Add salt on the food\",\n                \"slug\": \"add-salt-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 4,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 5,\n                \"name\": \"Add Sauce?\",\n                \"slug\": \"add-sauce\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 5,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 27,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 6,\n                \"name\": \"Add Seasonings?\",\n                \"slug\": \"add-seasonings\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 6,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 9,\n                \"name\": \"Hot Sauce on food\",\n                \"slug\": \"hot-sauce-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 9,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 25,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 10,\n                \"name\": \"Ketchup on food\",\n                \"slug\": \"ketchup-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 10,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 26,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 11,\n                \"name\": \"Mild Sauce on food\",\n                \"slug\": \"mild-sauce-on-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 11,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 24,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 14,\n                \"name\": \"Add pepper on the food\",\n                \"slug\": \"add-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 14,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 20,\n                \"name\": \"Add a hot pepper\",\n                \"slug\": \"add-a-hot-pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 20,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 22,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 24,\n                \"name\": \"Add a Cookie\",\n                \"slug\": \"add-a-cookie\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 24,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 12,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 26,\n                \"name\": \"Add lemon pepper on the food\",\n                \"slug\": \"add-lemon-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 26,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 21,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 27,\n                \"name\": \"Add Ons\",\n                \"slug\": \"add-ons\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 27,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 30,\n                \"name\": \"Choice of Cheese\",\n                \"slug\": \"choice-of-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 30,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 16,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 32,\n                \"name\": \"Double Meat\",\n                \"slug\": \"double-meat\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 32,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 33,\n                \"name\": \"Extra Bacon\",\n                \"slug\": \"extra-bacon\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 33,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 34,\n                \"name\": \"Extra Cheese\",\n                \"slug\": \"extra-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 34,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 39,\n                \"name\": \"Monterey Jack Shredded\",\n                \"slug\": \"monterey-jack-shredded\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 39,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 13,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 40,\n                \"name\": \"Pepperoni\",\n                \"slug\": \"pepperoni\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 40,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 71,\n                \"name\": \"Pepper Jack\",\n                \"slug\": \"pepper-jack\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 71,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 15,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 73,\n                \"name\": \"Provolone\",\n                \"slug\": \"provolone\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 73,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 82,\n                \"name\": \"White American\",\n                \"slug\": \"white-american\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 82,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 13,\n                \"filter\": \"raw\"\n            }\n        ]\n    },\n    {\n        \"id\": 70,\n        \"date\": \"2018-12-27T10:42:13\",\n        \"date_gmt\": \"2018-12-27T10:42:13\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?fooditem=chicken-nuggets\"\n        },\n        \"modified\": \"2018-12-27T10:42:13\",\n        \"modified_gmt\": \"2018-12-27T10:42:13\",\n        \"slug\": \"chicken-nuggets\",\n        \"status\": \"publish\",\n        \"type\": \"fooditem\",\n        \"link\": \"http://localhost/restropress3/?fooditem=chicken-nuggets\",\n        \"title\": {\n            \"rendered\": \"Chicken Nuggets\"\n        },\n        \"content\": {\n            \"rendered\": \"<p>Tasty Chicken Nuggets</p>\\n\",\n            \"protected\": false\n        },\n        \"excerpt\": {\n            \"rendered\": \"<p>Tasty Chicken Nuggets</p>\\n\",\n            \"protected\": false\n        },\n        \"author\": 1,\n        \"featured_media\": 71,\n        \"food_type\": \"\",\n        \"is_single_price_mode\": false,\n        \"has_variable_prices\": true,\n        \"is_free\": false,\n        \"can_purchase\": true,\n        \"is_quantities_disabled\": false,\n        \"price\": 0,\n        \"variable_prices\": {\n            \"1\": {\n                \"name\": \"full\",\n                \"amount\": \"13.00\"\n            },\n            \"2\": {\n                \"name\": \"half\",\n                \"amount\": \"13.00\"\n            }\n        },\n        \"sku\": null,\n        \"sales\": \"52\",\n        \"earnings\": \"139.53\",\n        \"food_categories\": [\n            85\n        ],\n        \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/nuggets.jpg\",\n        \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/nuggets-150x150.jpg\",\n        \"have_addons\": true,\n        \"food_addons\": {\n            \"2\": {\n                \"items\": [\n                    4,\n                    6\n                ]\n            },\n            \"14\": {\n                \"category\": 14,\n                \"items\": []\n            },\n            \"20\": {\n                \"category\": 20,\n                \"items\": [\n                    86\n                ]\n            },\n            \"24\": {\n                \"category\": 24,\n                \"items\": [\n                    26,\n                    27,\n                    46,\n                    48,\n                    49,\n                    51,\n                    28,\n                    29,\n                    30,\n                    52,\n                    53,\n                    55,\n                    31,\n                    32,\n                    33,\n                    34,\n                    35,\n                    36,\n                    59,\n                    37,\n                    38,\n                    62,\n                    39,\n                    63,\n                    83,\n                    64,\n                    67,\n                    68,\n                    69,\n                    70,\n                    71,\n                    40,\n                    73,\n                    74,\n                    75,\n                    76,\n                    79,\n                    80,\n                    43,\n                    82\n                ]\n            }\n        },\n        \"addons\": [\n            {\n                \"term_id\": 24,\n                \"name\": \"Add a Cookie\",\n                \"slug\": \"add-a-cookie\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 24,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 12,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 20,\n                \"name\": \"Add a hot pepper\",\n                \"slug\": \"add-a-hot-pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 20,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 22,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 26,\n                \"name\": \"Add lemon pepper on the food\",\n                \"slug\": \"add-lemon-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 26,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 21,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 27,\n                \"name\": \"Add Ons\",\n                \"slug\": \"add-ons\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 27,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 14,\n                \"name\": \"Add pepper on the food\",\n                \"slug\": \"add-pepper-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 14,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 4,\n                \"name\": \"Add salt on the food\",\n                \"slug\": \"add-salt-on-the-food\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 4,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 6,\n                \"name\": \"Add Seasonings?\",\n                \"slug\": \"add-seasonings\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 6,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 0,\n                \"count\": 23,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 46,\n                \"name\": \"BBQ\",\n                \"slug\": \"bbq\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 46,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 48,\n                \"name\": \"Brown Mustard\",\n                \"slug\": \"brown-mustard\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 48,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 49,\n                \"name\": \"Buffalo\",\n                \"slug\": \"buffalo\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 49,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 51,\n                \"name\": \"Chipotle\",\n                \"slug\": \"chipotle\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 51,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 28,\n                \"name\": \"Chocolate Chip\",\n                \"slug\": \"chocolate-chip\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 28,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 12,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 29,\n                \"name\": \"Choice of Bread\",\n                \"slug\": \"choice-of-bread\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 29,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 30,\n                \"name\": \"Choice of Cheese\",\n                \"slug\": \"choice-of-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 30,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 16,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 52,\n                \"name\": \"Choice of Sauce\",\n                \"slug\": \"choice-of-sauce\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 52,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 53,\n                \"name\": \"Choice of Seasoning\",\n                \"slug\": \"choice-of-seasoning\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 53,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 55,\n                \"name\": \"Creamy Sriracha\",\n                \"slug\": \"creamy-sriracha\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 55,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 31,\n                \"name\": \"Double Chocolate Chip\",\n                \"slug\": \"double-chocolate-chip\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 31,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 10,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 32,\n                \"name\": \"Double Meat\",\n                \"slug\": \"double-meat\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 32,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 33,\n                \"name\": \"Extra Bacon\",\n                \"slug\": \"extra-bacon\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 33,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 34,\n                \"name\": \"Extra Cheese\",\n                \"slug\": \"extra-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 34,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 35,\n                \"name\": \"Flatbread Multigrain\",\n                \"slug\": \"flatbread-multigrain\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 35,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 36,\n                \"name\": \"Flatbread White\",\n                \"slug\": \"flatbread-white\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 36,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 59,\n                \"name\": \"Honey Mustard\",\n                \"slug\": \"honey-mustard\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 59,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 37,\n                \"name\": \"Italian Herb and Cheese Bread\",\n                \"slug\": \"italian-herb-and-cheese-bread\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 37,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 13,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 38,\n                \"name\": \"Italian White Bread\",\n                \"slug\": \"italian-white-bread\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 38,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 10,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 62,\n                \"name\": \"Lite Mayo\",\n                \"slug\": \"lite-mayo\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 62,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 39,\n                \"name\": \"Monterey Jack Shredded\",\n                \"slug\": \"monterey-jack-shredded\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 39,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 13,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 63,\n                \"name\": \"Mustard\",\n                \"slug\": \"mustard\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 63,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 83,\n                \"name\": \"Oatmeal Raisin\",\n                \"slug\": \"oatmeal-raisin\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 83,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 4,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 64,\n                \"name\": \"Oil and Vinegar\",\n                \"slug\": \"oil-and-vinegar\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 64,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 67,\n                \"name\": \"Oregano\",\n                \"slug\": \"oregano\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 67,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 68,\n                \"name\": \"Parmesan Cheese\",\n                \"slug\": \"parmesan-cheese\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 68,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 18,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 69,\n                \"name\": \"Peanut Butter\",\n                \"slug\": \"peanut-butter\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 69,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 8,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 70,\n                \"name\": \"Pepper\",\n                \"slug\": \"pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 70,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 20,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 71,\n                \"name\": \"Pepper Jack\",\n                \"slug\": \"pepper-jack\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 71,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 15,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 40,\n                \"name\": \"Pepperoni\",\n                \"slug\": \"pepperoni\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 40,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 73,\n                \"name\": \"Provolone\",\n                \"slug\": \"provolone\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 73,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 74,\n                \"name\": \"Ranch\",\n                \"slug\": \"ranch\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 74,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 17,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 75,\n                \"name\": \"Regular Mayo\",\n                \"slug\": \"regular-mayo\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 75,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 76,\n                \"name\": \"Salt\",\n                \"slug\": \"salt\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 76,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 19,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 86,\n                \"name\": \"Salt and Pepper\",\n                \"slug\": \"salt-and-pepper\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 86,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 20,\n                \"count\": 12,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 79,\n                \"name\": \"Subway\",\n                \"slug\": \"subway\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 79,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 80,\n                \"name\": \"Sweet Onion\",\n                \"slug\": \"sweet-onion\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 80,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 14,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 43,\n                \"name\": \"Wheat Bread\",\n                \"slug\": \"wheat-bread\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 43,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 10,\n                \"filter\": \"raw\"\n            },\n            {\n                \"term_id\": 82,\n                \"name\": \"White American\",\n                \"slug\": \"white-american\",\n                \"term_group\": 0,\n                \"term_taxonomy_id\": 82,\n                \"taxonomy\": \"addon_category\",\n                \"description\": \"\",\n                \"parent\": 24,\n                \"count\": 13,\n                \"filter\": \"raw\"\n            }\n        ]\n    }\n]"}],"_postman_id":"ea6f42f1-6f9b-4d5b-bfad-08766a33df07"},{"name":"Retrieve a food","id":"2b5f9249-2270-4762-ac35-18ee02026f04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/food/{{food_id}}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["{{food_id}}"],"host":["http://example.com/wp-json/rp/v1/food"],"query":[],"variable":[]}},"response":[{"id":"74ffa51a-586e-4d68-87bd-bb0ed104e237","name":"success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/food/70"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 70,\n    \"date\": \"2018-12-27T10:42:13\",\n    \"date_gmt\": \"2018-12-27T10:42:13\",\n    \"guid\": {\n        \"rendered\": \"http://localhost/restropress3/?fooditem=chicken-nuggets\"\n    },\n    \"modified\": \"2018-12-27T10:42:13\",\n    \"modified_gmt\": \"2018-12-27T10:42:13\",\n    \"slug\": \"chicken-nuggets\",\n    \"status\": \"publish\",\n    \"type\": \"fooditem\",\n    \"link\": \"http://localhost/restropress3/?fooditem=chicken-nuggets\",\n    \"title\": {\n        \"rendered\": \"Chicken Nuggets\"\n    },\n    \"content\": {\n        \"rendered\": \"<p>Tasty Chicken Nuggets</p>\\n\",\n        \"protected\": false\n    },\n    \"excerpt\": {\n        \"rendered\": \"<p>Tasty Chicken Nuggets</p>\\n\",\n        \"protected\": false\n    },\n    \"author\": 1,\n    \"featured_media\": 71,\n    \"template\": \"\",\n    \"food_type\": \"\",\n    \"is_single_price_mode\": false,\n    \"has_variable_prices\": true,\n    \"is_free\": false,\n    \"can_purchase\": true,\n    \"is_quantities_disabled\": false,\n    \"price\": 0,\n    \"variable_prices\": {\n        \"1\": {\n            \"name\": \"full\",\n            \"amount\": \"13.00\"\n        },\n        \"2\": {\n            \"name\": \"half\",\n            \"amount\": \"13.00\"\n        }\n    },\n    \"fodditem_type\": \"default\",\n    \"sales\": \"52\",\n    \"earnings\": \"139.53\",\n    \"button_behavior\": \"add_to_cart\",\n    \"sku\": null,\n    \"notes\": \"\",\n    \"is_bundled_fooditem\": false,\n    \"bundled_fooditems\": [],\n    \"food_categories\": [\n        85\n    ],\n    \"_links\": {\n        \"self\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food/70\"\n            }\n        ],\n        \"collection\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food\"\n            }\n        ],\n        \"about\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/types/fooditem\"\n            }\n        ],\n        \"author\": [\n            {\n                \"embeddable\": true,\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/users/1\"\n            }\n        ],\n        \"version-history\": [\n            {\n                \"count\": 0,\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food/70/revisions\"\n            }\n        ],\n        \"wp:featuredmedia\": [\n            {\n                \"embeddable\": true,\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/media/71\"\n            }\n        ],\n        \"wp:attachment\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/media?parent=70\"\n            }\n        ],\n        \"wp:term\": [\n            {\n                \"taxonomy\": \"food-category\",\n                \"embeddable\": true,\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/categories?post=70\"\n            },\n            {\n                \"taxonomy\": \"addon_category\",\n                \"embeddable\": true,\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons?post=70\"\n            }\n        ],\n        \"curies\": [\n            {\n                \"name\": \"wp\",\n                \"href\": \"https://api.w.org/{rel}\",\n                \"templated\": true\n            }\n        ]\n    }\n}"},{"id":"7f735154-98b8-4555-8106-d95eab156a87","name":"error","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/food/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"rest_post_invalid_id\",\n    \"message\": \"Invalid post ID.\",\n    \"data\": {\n        \"status\": 404\n    }\n}"}],"_postman_id":"2b5f9249-2270-4762-ac35-18ee02026f04"},{"name":"Add a food","id":"ff6235a4-9f24-4133-ae86-d1170fe8bfb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Chicken\",\r\n    \"sku\": \"chicken9087\",\r\n    \"status\": \"publish\",\r\n    \"author\": 1,\r\n    \"content\": \"<p>This is awesome.</p>\",\r\n    \"excerpt\": \"This is awesome\",\r\n    \"featured_media\": 215,\r\n    \"food_categories\": [\r\n        95\r\n    ],\r\n    \"price\": 0.00,\r\n    \"food_type\": \"veg\",\r\n    \"has_variable_prices\": true,\r\n    \"variable_price_label\": \"Meat\",\r\n    \"variable_prices\": [\r\n        {\r\n            \"name\": \"Chicken\",\r\n            \"amount\": \"10.45\"\r\n        },\r\n        {\r\n            \"name\": \"Lamb\",\r\n            \"amount\": \"10.95\"\r\n        },\r\n        {\r\n            \"name\": \"Mottun\",\r\n            \"amount\": \"20.00\"\r\n        }\r\n    ],\r\n    \"food_addons\": {\r\n        \"14\": {\r\n            \"category\": \"14\",\r\n            \"max_addons\": \"\",\r\n            \"is_required\": \"\",\r\n            \"items\": [\r\n                \"15\"\r\n            ],\r\n            \"prices\": {\r\n                \"15\": {\r\n                    \"chicken\": \"4.00\",\r\n                    \"lamb\": \"30.00\",\r\n                    \"mottun\": \"40.00\"\r\n                }\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/food/","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>slug</td>\n<td>string</td>\n<td>An alphanumeric identifier for the post unique to its type.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>A named status for the post. Enum: publish, future, draft, pending, private, refunded, paid, failed, revoked, abandoned, processing, active, inactive</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n<td>Food Title</td>\n</tr>\n<tr>\n<td>content</td>\n<td>object</td>\n<td>The content for the post.</td>\n</tr>\n<tr>\n<td>author</td>\n<td>integer</td>\n<td>The ID for the author of the post.</td>\n</tr>\n<tr>\n<td>excerpt</td>\n<td>object</td>\n<td>The excerpt for the post.</td>\n</tr>\n<tr>\n<td>featured_media</td>\n<td>integer</td>\n<td>The ID of the featured media for the post.</td>\n</tr>\n<tr>\n<td>sku</td>\n<td>string</td>\n<td>Food SKU</td>\n</tr>\n<tr>\n<td>food_type</td>\n<td>string</td>\n<td>Food Type</td>\n</tr>\n<tr>\n<td>price</td>\n<td>number</td>\n<td>Food Price</td>\n</tr>\n<tr>\n<td>variable_prices</td>\n<td>array</td>\n<td>Food Variable Price. Each item in the array has the following structure:</td>\n</tr>\n<tr>\n<td>variable_prices[].name</td>\n<td>string</td>\n<td>Veriable Price Name</td>\n</tr>\n<tr>\n<td>variable_prices[].amount</td>\n<td>string</td>\n<td>Veriable Amount</td>\n</tr>\n<tr>\n<td>is_single_price_mode</td>\n<td>boolean</td>\n<td>Is Single Price Mode</td>\n</tr>\n<tr>\n<td>has_variable_prices</td>\n<td>boolean</td>\n<td>Has Variable Prices</td>\n</tr>\n<tr>\n<td>variable_price_label</td>\n<td>string</td>\n<td>Variable Price Label</td>\n</tr>\n<tr>\n<td>food_categories</td>\n<td>array</td>\n<td>Food Categories</td>\n</tr>\n<tr>\n<td>fodditem_type</td>\n<td>string</td>\n<td>Food Item Type</td>\n</tr>\n<tr>\n<td>is_free</td>\n<td>boolean</td>\n<td>True when the food item is free</td>\n</tr>\n<tr>\n<td>is_quantities_disabled</td>\n<td>boolean</td>\n<td>Is quantity input disabled on this food</td>\n</tr>\n<tr>\n<td>can_purchase</td>\n<td>boolean</td>\n<td>If the current food item ID can be purchased</td>\n</tr>\n<tr>\n<td>food_addons</td>\n<td>object</td>\n<td>Food Addons</td>\n</tr>\n<tr>\n<td>food_addons.category_id</td>\n<td>object</td>\n<td>Food Addons</td>\n</tr>\n<tr>\n<td>food_addons.category_id.category</td>\n<td>string</td>\n<td>Category ID</td>\n</tr>\n<tr>\n<td>food_addons.category_id.max_addons</td>\n<td>integer</td>\n<td>Max Addons</td>\n</tr>\n<tr>\n<td>food_addons.category_id.is_required</td>\n<td>string</td>\n<td>Is Required</td>\n</tr>\n<tr>\n<td>food_addons.category_id.items</td>\n<td>array</td>\n<td>Food Addons</td>\n</tr>\n<tr>\n<td>food_addons.category_id.items.category_id</td>\n<td>integer</td>\n<td>Category ID</td>\n</tr>\n<tr>\n<td>food_addons.category_id.prices</td>\n<td>object</td>\n<td>array</td>\n</tr>\n<tr>\n<td>food_addons.category_id.prices.child_category_id</td>\n<td>object</td>\n<td>Child Category ID</td>\n</tr>\n<tr>\n<td>food_addons.category_id.prices.child_category_id.addon_name</td>\n<td>string</td>\n<td>Addon Name</td>\n</tr>\n<tr>\n<td>food_addons.category_id.default</td>\n<td>array</td>\n<td>Default Values</td>\n</tr>\n<tr>\n<td>food_addons.category_id.default</td>\n<td>string</td>\n<td>Default Values</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":[""],"host":["http://example.com/wp-json/rp/v1/food"],"query":[],"variable":[]}},"response":[{"id":"b811d21a-5913-4f3b-8433-fa84b534f440","name":"success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Chicken\",\r\n    \"status\": \"publish\",\r\n    \"author\": 1,\r\n    \"content\": \"<p>This is awesome.</p>\",\r\n    \"excerpt\": \"This is awesome\",\r\n    \"featured_media\": 215,\r\n    \"food_categories\": [\r\n        42,\r\n        45\r\n    ],\r\n    \"price\": 0.00,\r\n    \"food_type\": \"veg\",\r\n    \"notes\": \"API notes\",\r\n    \"has_variable_prices\": true,\r\n    \"variable_price_label\": \"Meat\",\r\n    \"variable_prices\": [\r\n        {\r\n            \"name\": \"Chicken\",\r\n            \"amount\": \"10.45\"\r\n        },\r\n        {\r\n            \"name\": \"Lamb\",\r\n            \"amount\": \"10.95\"\r\n        },\r\n        {\r\n            \"name\": \"Mottun\",\r\n            \"amount\": \"20.00\"\r\n        }\r\n    ],\r\n    \"food_addons\": {\r\n        \"25\": {\r\n            \"category\": 25,\r\n            \"max_addons\": 3,\r\n            \"is_required\": \"yes\",\r\n            \"items\": [\r\n                26,\r\n                27\r\n            ],\r\n            \"prices\": {\r\n                \"26\": {\r\n                    \"chicken\": 10.00,\r\n                    \"lamb\": 20.00,\r\n                    \"mottun\": 30.00\r\n                },\r\n                \"27\": {\r\n                    \"chicken\": 23.00,\r\n                    \"lamb\": 30.00,\r\n                    \"mottun\": 40.00\r\n                }\r\n            },\r\n            \"default\": [\r\n                \"26|Chicken\",\r\n                \"26|Mottun\",\r\n                \"27|Chicken\",\r\n                \"27|Lamb\",\r\n                \"27|Mottun\"\r\n            ]\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/food"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 100,\n    \"date\": \"2023-12-13T15:10:38\",\n    \"date_gmt\": \"2023-12-13T09:40:38\",\n    \"guid\": {\n        \"rendered\": \"http://localhost/restropress3/?fooditem=chicken\",\n        \"raw\": \"http://localhost/restropress3/?fooditem=chicken\"\n    },\n    \"modified\": \"2023-12-13T15:10:38\",\n    \"modified_gmt\": \"2023-12-13T09:40:38\",\n    \"password\": \"\",\n    \"slug\": \"chicken\",\n    \"status\": \"publish\",\n    \"type\": \"fooditem\",\n    \"link\": \"http://localhost/restropress3/?fooditem=chicken\",\n    \"title\": {\n        \"raw\": \"Chicken\",\n        \"rendered\": \"Chicken\"\n    },\n    \"content\": {\n        \"raw\": \"<p>This is awesome.</p>\",\n        \"rendered\": \"<p>This is awesome.</p>\\n\",\n        \"protected\": false,\n        \"block_version\": 0\n    },\n    \"excerpt\": {\n        \"raw\": \"This is awesome\",\n        \"rendered\": \"<p>This is awesome</p>\\n\",\n        \"protected\": false\n    },\n    \"author\": 1,\n    \"featured_media\": 0,\n    \"template\": \"\",\n    \"food_type\": \"\",\n    \"is_single_price_mode\": false,\n    \"has_variable_prices\": false,\n    \"is_free\": true,\n    \"can_purchase\": true,\n    \"is_quantities_disabled\": false,\n    \"price\": 0,\n    \"variable_prices\": [],\n    \"fodditem_type\": \"default\",\n    \"sales\": \"0\",\n    \"earnings\": \"0.00\",\n    \"button_behavior\": \"add_to_cart\",\n    \"sku\": null,\n    \"notes\": \"\",\n    \"is_bundled_fooditem\": false,\n    \"bundled_fooditems\": [],\n    \"food_categories\": [],\n    \"_links\": {\n        \"self\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food/100\"\n            }\n        ],\n        \"collection\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food\"\n            }\n        ],\n        \"about\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/types/fooditem\"\n            }\n        ],\n        \"author\": [\n            {\n                \"embeddable\": true,\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/users/1\"\n            }\n        ],\n        \"version-history\": [\n            {\n                \"count\": 0,\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food/100/revisions\"\n            }\n        ],\n        \"wp:attachment\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/media?parent=100\"\n            }\n        ],\n        \"wp:term\": [\n            {\n                \"taxonomy\": \"food-category\",\n                \"embeddable\": true,\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/categories?post=100\"\n            },\n            {\n                \"taxonomy\": \"addon_category\",\n                \"embeddable\": true,\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/fooditem/addons?post=100\"\n            }\n        ],\n        \"wp:action-publish\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food/100\"\n            }\n        ],\n        \"wp:action-unfiltered-html\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food/100\"\n            }\n        ],\n        \"wp:action-assign-author\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food/100\"\n            }\n        ],\n        \"wp:action-create-fooditem/categories\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food/100\"\n            }\n        ],\n        \"wp:action-assign-fooditem/categories\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food/100\"\n            }\n        ],\n        \"wp:action-create-fooditem/addons\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food/100\"\n            }\n        ],\n        \"wp:action-assign-fooditem/addons\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/rp/v1/food/100\"\n            }\n        ],\n        \"curies\": [\n            {\n                \"name\": \"wp\",\n                \"href\": \"https://api.w.org/{rel}\",\n                \"templated\": true\n            }\n        ]\n    }\n}"},{"id":"ba910374-16a4-4eab-8e36-96af224761c3","name":"success simple product","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Chicken2\",\r\n    \"sku\": \"chicken908d7\",\r\n    \"status\": \"publish\",\r\n    \"author\": 1,\r\n    \"content\": \"<p>This is awesome.</p>\",\r\n    \"excerpt\": \"This is awesome\",\r\n    \"featured_media\": 215,\r\n    \"food_categories\": [\r\n        95\r\n    ],\r\n    \"price\": 20.00,\r\n    \"food_type\": \"veg\",\r\n    \"has_variable_prices\": false,\r\n     \"food_addons\": {\r\n        \"20\": {\r\n            \"category\": \"20\",\r\n            \"max_addons\": \"\",\r\n            \"items\": [\r\n                \"21\",\r\n                \"87\"\r\n            ],\r\n            \"prices\": {\r\n                \"21\": \"40.00\",\r\n                \"87\": \"60.00\",\r\n                \"86\": \"0.00\",\r\n                \"88\": \"0.00\"\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/food"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 240,\n    \"date\": \"2023-12-15T13:29:17\",\n    \"date_gmt\": \"2023-12-15T07:59:17\",\n    \"guid\": {\n        \"rendered\": \"http://localhost/restropress3/?fooditem=chicken2\",\n        \"raw\": \"http://localhost/restropress3/?fooditem=chicken2\"\n    },\n    \"modified\": \"2023-12-15T13:29:17\",\n    \"modified_gmt\": \"2023-12-15T07:59:17\",\n    \"password\": \"\",\n    \"slug\": \"chicken2\",\n    \"status\": \"publish\",\n    \"type\": \"fooditem\",\n    \"link\": \"http://localhost/restropress3/?fooditem=chicken2\",\n    \"title\": {\n        \"raw\": \"Chicken2\",\n        \"rendered\": \"Chicken2\"\n    },\n    \"content\": {\n        \"raw\": \"<p>This is awesome.</p>\",\n        \"rendered\": \"<p>This is awesome.</p>\\n\",\n        \"protected\": false,\n        \"block_version\": 0\n    },\n    \"excerpt\": {\n        \"raw\": \"This is awesome\",\n        \"rendered\": \"<p>This is awesome</p>\\n\",\n        \"protected\": false\n    },\n    \"author\": 1,\n    \"featured_media\": 0,\n    \"food_type\": \"veg\",\n    \"is_single_price_mode\": false,\n    \"has_variable_prices\": false,\n    \"is_free\": false,\n    \"can_purchase\": true,\n    \"is_quantities_disabled\": false,\n    \"price\": \"20.00\",\n    \"variable_prices\": [],\n    \"sku\": \"chicken908d7\",\n    \"sales\": \"0\",\n    \"earnings\": \"0.00\",\n    \"food_categories\": [\n        95\n    ],\n    \"featured_media_url\": false,\n    \"thumbnail\": false,\n    \"have_addons\": true\n}"},{"id":"d5c8f2da-4137-4951-9ceb-8c99cbfa3e85","name":"error","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 141,\r\n    \"title\": \"Chickend\",\r\n    \"sku\": \"chicken9087\",\r\n    \"status\": \"publish\",\r\n    \"author\": 1,\r\n    \"content\": \"<p>This is awesome.</p>\",\r\n    \"excerpt\": \"This is awesome\",\r\n    \"featured_media\": 77,\r\n    \"food_categories\": [\r\n        95\r\n    ],\r\n    \"price\": 0.00,\r\n    \"food_type\": \"veg\",\r\n    \"has_variable_prices\": true,\r\n    \"variable_price_label\": \"Meat\",\r\n    \"variable_prices\": [\r\n        {\r\n            \"name\": \"Chicken\",\r\n            \"amount\": \"10.45\"\r\n        },\r\n        {\r\n            \"name\": \"Lamb\",\r\n            \"amount\": \"10.95\"\r\n        },\r\n        {\r\n            \"name\": \"Mottun\",\r\n            \"amount\": \"20.00\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/food"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"rest_post_exists\",\n    \"message\": \"Cannot create existing post.\",\n    \"data\": {\n        \"status\": 400\n    }\n}"}],"_postman_id":"ff6235a4-9f24-4133-ae86-d1170fe8bfb6"},{"name":"Update a food","id":"a0680555-3d98-4c0f-b627-f7318a41b2f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Chicken\",\r\n    \"sku\": \"chicken9087\",\r\n    \"status\": \"publish\",\r\n    \"author\": 1,\r\n    \"content\": \"<p>This is awesome.</p>\",\r\n    \"excerpt\": \"This is awesome\",\r\n    \"featured_media\": 215,\r\n    \"food_categories\": [\r\n        95\r\n    ],\r\n    \"price\": 0.00,\r\n    \"food_type\": \"veg\",\r\n    \"has_variable_prices\": true,\r\n    \"variable_price_label\": \"Meat\",\r\n    \"variable_prices\": [\r\n        {\r\n            \"name\": \"Chicken\",\r\n            \"amount\": \"10.45\"\r\n        },\r\n        {\r\n            \"name\": \"Lamb\",\r\n            \"amount\": \"10.95\"\r\n        },\r\n        {\r\n            \"name\": \"Mottun\",\r\n            \"amount\": \"20.00\"\r\n        }\r\n    ],\r\n    \"food_addons\": {\r\n        \"14\": {\r\n            \"category\": \"14\",\r\n            \"max_addons\": \"\",\r\n            \"is_required\": \"\",\r\n            \"items\": [\r\n                \"15\"\r\n            ],\r\n            \"prices\": {\r\n                \"15\": {\r\n                    \"chicken\": \"4.00\",\r\n                    \"lamb\": \"30.00\",\r\n                    \"mottun\": \"40.00\"\r\n                }\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/food/{{food_id}}","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>slug</td>\n<td>string</td>\n<td>An alphanumeric identifier for the post unique to its type.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>A named status for the post. Enum: publish, future, draft, pending, private, refunded, paid, failed, revoked, abandoned, processing, active, inactive</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n<td>Food Title</td>\n</tr>\n<tr>\n<td>content</td>\n<td>object</td>\n<td>The content for the post.</td>\n</tr>\n<tr>\n<td>author</td>\n<td>integer</td>\n<td>The ID for the author of the post.</td>\n</tr>\n<tr>\n<td>excerpt</td>\n<td>object</td>\n<td>The excerpt for the post.</td>\n</tr>\n<tr>\n<td>featured_media</td>\n<td>integer</td>\n<td>The ID of the featured media for the post.</td>\n</tr>\n<tr>\n<td>sku</td>\n<td>string</td>\n<td>Food SKU</td>\n</tr>\n<tr>\n<td>food_type</td>\n<td>string</td>\n<td>Food Type</td>\n</tr>\n<tr>\n<td>price</td>\n<td>number</td>\n<td>Food Price</td>\n</tr>\n<tr>\n<td>variable_prices</td>\n<td>array</td>\n<td>Food Variable Price. Each item in the array has the following structure:</td>\n</tr>\n<tr>\n<td>variable_prices[].name</td>\n<td>string</td>\n<td>Veriable Price Name</td>\n</tr>\n<tr>\n<td>variable_prices[].amount</td>\n<td>string</td>\n<td>Veriable Amount</td>\n</tr>\n<tr>\n<td>is_single_price_mode</td>\n<td>boolean</td>\n<td>Is Single Price Mode</td>\n</tr>\n<tr>\n<td>has_variable_prices</td>\n<td>boolean</td>\n<td>Has Variable Prices</td>\n</tr>\n<tr>\n<td>variable_price_label</td>\n<td>string</td>\n<td>Variable Price Label</td>\n</tr>\n<tr>\n<td>food_categories</td>\n<td>array</td>\n<td>Food Categories</td>\n</tr>\n<tr>\n<td>fodditem_type</td>\n<td>string</td>\n<td>Food Item Type</td>\n</tr>\n<tr>\n<td>is_free</td>\n<td>boolean</td>\n<td>True when the food item is free</td>\n</tr>\n<tr>\n<td>is_quantities_disabled</td>\n<td>boolean</td>\n<td>Is quantity input disabled on this food</td>\n</tr>\n<tr>\n<td>can_purchase</td>\n<td>boolean</td>\n<td>If the current food item ID can be purchased</td>\n</tr>\n<tr>\n<td>food_addons</td>\n<td>object</td>\n<td>Food Addons</td>\n</tr>\n<tr>\n<td>food_addons.category_id</td>\n<td>object</td>\n<td>Food Addons</td>\n</tr>\n<tr>\n<td>food_addons.category_id.category</td>\n<td>string</td>\n<td>Category ID</td>\n</tr>\n<tr>\n<td>food_addons.category_id.max_addons</td>\n<td>integer</td>\n<td>Max Addons</td>\n</tr>\n<tr>\n<td>food_addons.category_id.is_required</td>\n<td>string</td>\n<td>Is Required</td>\n</tr>\n<tr>\n<td>food_addons.category_id.items</td>\n<td>array</td>\n<td>Food Addons</td>\n</tr>\n<tr>\n<td>food_addons.category_id.items.category_id</td>\n<td>integer</td>\n<td>Category ID</td>\n</tr>\n<tr>\n<td>food_addons.category_id.prices</td>\n<td>object</td>\n<td>array</td>\n</tr>\n<tr>\n<td>food_addons.category_id.prices.child_category_id</td>\n<td>object</td>\n<td>Child Category ID</td>\n</tr>\n<tr>\n<td>food_addons.category_id.prices.child_category_id.addon_name</td>\n<td>string</td>\n<td>Addon Name</td>\n</tr>\n<tr>\n<td>food_addons.category_id.default</td>\n<td>array</td>\n<td>Default Values</td>\n</tr>\n<tr>\n<td>food_addons.category_id.default</td>\n<td>string</td>\n<td>Default Values</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["{{food_id}}"],"host":["http://example.com/wp-json/rp/v1/food"],"query":[],"variable":[]}},"response":[{"id":"939a4e7b-40ce-41c9-8f02-db5aea45f6c7","name":"succcess","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Chickend\",\r\n    \"sku\": \"chicken9087\",\r\n    \"status\": \"publish\",\r\n    \"author\": 1,\r\n    \"content\": \"<p>This is awesome.</p>\",\r\n    \"excerpt\": \"This is awesome\",\r\n    \"featured_media\": 77,\r\n    \"food_categories\": [\r\n        95\r\n    ],\r\n    \"price\": 0.00,\r\n    \"food_type\": \"veg\",\r\n    \"has_variable_prices\": true,\r\n    \"variable_price_label\": \"Meat\",\r\n    \"variable_prices\": [\r\n        {\r\n            \"name\": \"Chicken\",\r\n            \"amount\": \"10.45\"\r\n        },\r\n        {\r\n            \"name\": \"Lamb\",\r\n            \"amount\": \"10.95\"\r\n        },\r\n        {\r\n            \"name\": \"Mottun\",\r\n            \"amount\": \"20.00\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/food/141"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 141,\n    \"date\": \"2023-12-13T18:18:40\",\n    \"date_gmt\": \"2023-12-13T12:48:40\",\n    \"guid\": {\n        \"rendered\": \"http://localhost/restropress3/?fooditem=chicken\",\n        \"raw\": \"http://localhost/restropress3/?fooditem=chicken\"\n    },\n    \"modified\": \"2023-12-13T18:21:21\",\n    \"modified_gmt\": \"2023-12-13T12:51:21\",\n    \"password\": \"\",\n    \"slug\": \"chicken\",\n    \"status\": \"publish\",\n    \"type\": \"fooditem\",\n    \"link\": \"http://localhost/restropress3/?fooditem=chicken\",\n    \"title\": {\n        \"raw\": \"Chickend\",\n        \"rendered\": \"Chickend\"\n    },\n    \"content\": {\n        \"raw\": \"<p>This is awesome.</p>\",\n        \"rendered\": \"<p>This is awesome.</p>\\n\",\n        \"protected\": false,\n        \"block_version\": 0\n    },\n    \"excerpt\": {\n        \"raw\": \"This is awesome\",\n        \"rendered\": \"<p>This is awesome</p>\\n\",\n        \"protected\": false\n    },\n    \"author\": 1,\n    \"featured_media\": 77,\n    \"template\": \"\",\n    \"food_type\": \"veg\",\n    \"is_single_price_mode\": false,\n    \"has_variable_prices\": true,\n    \"is_free\": false,\n    \"can_purchase\": true,\n    \"is_quantities_disabled\": false,\n    \"price\": 0,\n    \"variable_prices\": [\n        {\n            \"name\": \"Chicken\",\n            \"amount\": \"10.45\"\n        },\n        {\n            \"name\": \"Lamb\",\n            \"amount\": \"10.95\"\n        },\n        {\n            \"name\": \"Mottun\",\n            \"amount\": \"20.00\"\n        }\n    ],\n    \"fodditem_type\": \"default\",\n    \"sku\": \"chicken9087\",\n    \"sales\": \"0\",\n    \"earnings\": \"0.00\",\n    \"button_behavior\": \"add_to_cart\",\n    \"notes\": \"\",\n    \"is_bundled_fooditem\": false,\n    \"bundled_fooditems\": [],\n    \"food_categories\": [\n        95\n    ],\n    \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/chinese-brocoli.jpg\",\n    \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/chinese-brocoli.jpg\",\n    \"have_addons\": false\n}"}],"_postman_id":"a0680555-3d98-4c0f-b627-f7318a41b2f4"},{"name":"Delete a food","id":"76308465-fe07-47df-95fb-277e0a0a8074","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Chickend\",\r\n    \"sku\": \"chicken9087\",\r\n    \"status\": \"publish\",\r\n    \"author\": 1,\r\n    \"content\": \"<p>This is awesome.</p>\",\r\n    \"excerpt\": \"This is awesome\",\r\n    \"featured_media\": 77,\r\n    \"food_categories\": [\r\n        95\r\n    ],\r\n    \"price\": 0.00,\r\n    \"food_type\": \"veg\",\r\n    \"has_variable_prices\": true,\r\n    \"variable_price_label\": \"Meat\",\r\n    \"variable_prices\": [\r\n        {\r\n            \"name\": \"Chicken\",\r\n            \"amount\": \"10.45\"\r\n        },\r\n        {\r\n            \"name\": \"Lamb\",\r\n            \"amount\": \"10.95\"\r\n        },\r\n        {\r\n            \"name\": \"Mottun\",\r\n            \"amount\": \"20.00\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/food/{{food_id}}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["{{food_id}}"],"host":["http://example.com/wp-json/rp/v1/food"],"query":[],"variable":[]}},"response":[{"id":"5309960c-99f7-4bd9-8657-2352f5219759","name":"succcess","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/food/141"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Dec 2023 12:51:20 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) OpenSSL/1.1.1l PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0, no-store, private"},{"key":"Pragma","value":"no-cache"},{"key":"X-WP-DoingItWrong","value":"WP_REST_Posts_Controller::get_item_schema (since 5.4.0; Please use register_rest_field to add new schema properties.)"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Link","value":"<http://localhost/restropress3/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1702644681%7C1jMSCspK4gsFgjVowZkdg12zRZzZF6FWOYabd7JDMIw%7C456a92a3086eb97e5ec274b596413ae6235ba44aecb0c5ff147fc21978a5ce52; path=/restropress3/wp-content/plugins; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1702644681%7C1jMSCspK4gsFgjVowZkdg12zRZzZF6FWOYabd7JDMIw%7C456a92a3086eb97e5ec274b596413ae6235ba44aecb0c5ff147fc21978a5ce52; path=/restropress3/wp-admin; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_logged_in_dfe9815a550da31cf9383b1009b375a4=admin%7C1702644681%7C1jMSCspK4gsFgjVowZkdg12zRZzZF6FWOYabd7JDMIw%7Cd65d9dfc8fa0a3e46770bdae243a96d500214336dd73780062eb1700c7853b44; path=/restropress3/; HttpOnly"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE"},{"key":"Content-Length","value":"1408"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 141,\n    \"date\": \"2023-12-13T18:18:40\",\n    \"date_gmt\": \"2023-12-13T12:48:40\",\n    \"guid\": {\n        \"rendered\": \"http://localhost/restropress3/?fooditem=chicken\",\n        \"raw\": \"http://localhost/restropress3/?fooditem=chicken\"\n    },\n    \"modified\": \"2023-12-13T18:21:21\",\n    \"modified_gmt\": \"2023-12-13T12:51:21\",\n    \"password\": \"\",\n    \"slug\": \"chicken\",\n    \"status\": \"publish\",\n    \"type\": \"fooditem\",\n    \"link\": \"http://localhost/restropress3/?fooditem=chicken\",\n    \"title\": {\n        \"raw\": \"Chickend\",\n        \"rendered\": \"Chickend\"\n    },\n    \"content\": {\n        \"raw\": \"<p>This is awesome.</p>\",\n        \"rendered\": \"<p>This is awesome.</p>\\n\",\n        \"protected\": false,\n        \"block_version\": 0\n    },\n    \"excerpt\": {\n        \"raw\": \"This is awesome\",\n        \"rendered\": \"<p>This is awesome</p>\\n\",\n        \"protected\": false\n    },\n    \"author\": 1,\n    \"featured_media\": 77,\n    \"template\": \"\",\n    \"food_type\": \"veg\",\n    \"is_single_price_mode\": false,\n    \"has_variable_prices\": true,\n    \"is_free\": false,\n    \"can_purchase\": true,\n    \"is_quantities_disabled\": false,\n    \"price\": 0,\n    \"variable_prices\": [\n        {\n            \"name\": \"Chicken\",\n            \"amount\": \"10.45\"\n        },\n        {\n            \"name\": \"Lamb\",\n            \"amount\": \"10.95\"\n        },\n        {\n            \"name\": \"Mottun\",\n            \"amount\": \"20.00\"\n        }\n    ],\n    \"fodditem_type\": \"default\",\n    \"sku\": \"chicken9087\",\n    \"sales\": \"0\",\n    \"earnings\": \"0.00\",\n    \"button_behavior\": \"add_to_cart\",\n    \"notes\": \"\",\n    \"is_bundled_fooditem\": false,\n    \"bundled_fooditems\": [],\n    \"food_categories\": [\n        95\n    ],\n    \"featured_media_url\": \"http://localhost/restropress3/wp-content/uploads/2018/12/chinese-brocoli.jpg\",\n    \"thumbnail\": \"http://localhost/restropress3/wp-content/uploads/2018/12/chinese-brocoli.jpg\",\n    \"have_addons\": false\n}"},{"id":"a0f32d2f-32af-450b-a869-bf7b12548d7d","name":"error","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"x-api-key","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/food/1864"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 03 Jan 2024 06:36:54 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) OpenSSL/1.1.1l PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0, no-store, private"},{"key":"Pragma","value":"no-cache"},{"key":"X-WP-DoingItWrong","value":"WP_REST_Posts_Controller::get_item_schema (since 5.4.0; Please use register_rest_field to add new schema properties.)"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Link","value":"<http://localhost/restropress3/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1704436615%7CkZwwKfNpsNN06Ff1J1qHFztw0rX9thXEYvmUz5JplYZ%7C9bb53bc8c78b4a09375e8ec7d22f0e7bded4af8007ce0bfd0f292350bcc004d7; path=/restropress3/wp-content/plugins; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1704436615%7CkZwwKfNpsNN06Ff1J1qHFztw0rX9thXEYvmUz5JplYZ%7C9bb53bc8c78b4a09375e8ec7d22f0e7bded4af8007ce0bfd0f292350bcc004d7; path=/restropress3/wp-admin; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_logged_in_dfe9815a550da31cf9383b1009b375a4=admin%7C1704436615%7CkZwwKfNpsNN06Ff1J1qHFztw0rX9thXEYvmUz5JplYZ%7Ca79c81ff1833cc70825e49a5a68c364be8edb5dfa6aea9cd09b1c673b8a0fe64; path=/restropress3/; HttpOnly"},{"key":"Content-Length","value":"82"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"rest_post_invalid_id\",\n    \"message\": \"Invalid post ID.\",\n    \"data\": {\n        \"status\": 404\n    }\n}"}],"_postman_id":"76308465-fe07-47df-95fb-277e0a0a8074"}],"id":"003b5cd0-d586-4949-8fdd-daffee8b02ae","description":"<p>All endpoints and parameters related to Foods</p>\n","_postman_id":"003b5cd0-d586-4949-8fdd-daffee8b02ae","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}}},{"name":"Cart","item":[{"name":"Add cart items","id":"086c0fd2-ff32-4d7d-ab74-2db7918ce2d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cart_details\": [\n        {\n            \"price\": 6.99,\n            \"id\": 48,\n            \"quantity\": 1,\n            \"instruction\": \"\",\n            \"addon_items\": [\n                {\n                    \"addon_item_name\": \"Buffalo\",\n                    \"addon_id\": 49,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Chipotle\",\n                    \"addon_id\": 51,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Chocolate Chip\",\n                    \"addon_id\": 28,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Choice of Bread\",\n                    \"addon_id\": 29,\n                    \"price\": null,\n                    \"quantity\": 1\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/cart","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cart_details</td>\n<td>array</td>\n<td>Cart Item</td>\n</tr>\n<tr>\n<td>cart_details[]</td>\n<td>object</td>\n<td>Cart</td>\n</tr>\n<tr>\n<td>cart_details[].id</td>\n<td>integer</td>\n<td>ID of food</td>\n</tr>\n<tr>\n<td>cart_details[].price_id</td>\n<td>integer</td>\n<td>ID of Variation Item</td>\n</tr>\n<tr>\n<td>cart_details[].price</td>\n<td>number</td>\n<td>Price of food</td>\n</tr>\n<tr>\n<td>cart_details[].quantity</td>\n<td>integer</td>\n<td>Quantity of food</td>\n</tr>\n<tr>\n<td>cart_details[].instruction</td>\n<td>string</td>\n<td>Instruction of food</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items</td>\n<td>array</td>\n<td>Addon Items</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[]</td>\n<td>object</td>\n<td>Addon Item</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].addon_item_name</td>\n<td>string</td>\n<td>Addon Item Name</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].addon_id</td>\n<td>integer</td>\n<td>Addon Item ID</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].price</td>\n<td>number</td>\n<td>Price of Addon Item</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].quantity</td>\n<td>integer</td>\n<td>Quantity of Addon Item</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"host":["http://example.com/wp-json/rp/v1/cart"],"query":[],"variable":[]}},"response":[{"id":"298ecb70-5c56-4d7a-a7f5-2559b6563670","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cart_details\": [\n        {\n            \"price\": 6.99,\n            \"id\": 48,\n            \"quantity\": 2,\n            \"instruction\": \"\",\n            \"addon_items\": [\n                {\n                    \"addon_item_name\": \"Buffalo\",\n                    \"addon_id\": 49,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Chipotle\",\n                    \"addon_id\": 51,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Chocolate Chip\",\n                    \"addon_id\": 28,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Choice of Bread\",\n                    \"addon_id\": 29,\n                    \"price\": null,\n                    \"quantity\": 1\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/cart"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"fees\": [],\n    \"subtotal\": 41.94,\n    \"discount\": 0,\n    \"tax\": \"4.20\",\n    \"price\": 46.14,\n    \"cart_details\": {\n        \"name\": \"Spicy Chicken Pizza Roll Up Recipe\",\n        \"id\": 48,\n        \"item_price\": 6.99,\n        \"quantity\": 2,\n        \"discount\": 0,\n        \"subtotal\": 13.98,\n        \"tax\": 1.4,\n        \"fees\": [],\n        \"price\": 15.38,\n        \"instruction\": \"\",\n        \"addon_items\": [\n            {\n                \"addon_item_name\": \"Buffalo\",\n                \"addon_id\": 49,\n                \"price\": null,\n                \"quantity\": 1\n            },\n            {\n                \"addon_item_name\": \"Chipotle\",\n                \"addon_id\": 51,\n                \"price\": null,\n                \"quantity\": 1\n            },\n            {\n                \"addon_item_name\": \"Chocolate Chip\",\n                \"addon_id\": 28,\n                \"price\": null,\n                \"quantity\": 1\n            },\n            {\n                \"addon_item_name\": \"Choice of Bread\",\n                \"addon_id\": 29,\n                \"price\": null,\n                \"quantity\": 1\n            }\n        ]\n    }\n}"},{"id":"d9e7ece6-151a-4e8c-92f4-3019b8896acf","name":"error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cart_details\": [\n        {\n            \"price\": 6.99,\n            \"id\": 48,\n            \"quantity\": 1,\n            \"instruction\": null,\n            \"addon_items\": [\n                {\n                    \"addon_item_name\": \"Buffalo\",\n                    \"addon_id\": 49,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Chipotle\",\n                    \"addon_id\": 51,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Chocolate Chip\",\n                    \"addon_id\": 28,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Choice of Bread\",\n                    \"addon_id\": 29,\n                    \"price\": null,\n                    \"quantity\": 1\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/cart"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"rest_invalid_param\",\n    \"message\": \"Invalid parameter(s): cart_details\",\n    \"data\": {\n        \"status\": 400,\n        \"params\": {\n            \"cart_details\": \"cart_details[0][instruction] is not of type string.\"\n        },\n        \"details\": {\n            \"cart_details\": {\n                \"code\": \"rest_invalid_type\",\n                \"message\": \"cart_details[0][instruction] is not of type string.\",\n                \"data\": {\n                    \"param\": \"cart_details[0][instruction]\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"086c0fd2-ff32-4d7d-ab74-2db7918ce2d8"},{"name":"Update cart items","id":"d9fab451-4279-4ce4-99f0-6ca9fc1f39bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"cart_details\": [\n        {\n            \"price\": 6.99,\n            \"id\": 48,\n            \"quantity\": 3,\n            \"instruction\": \"\",\n            \"addon_items\": [\n                {\n                    \"addon_item_name\": \"Buffalo\",\n                    \"addon_id\": 49,\n                    \"price\": null,\n                    \"quantity\": 2\n                },\n                {\n                    \"addon_item_name\": \"Chipotle\",\n                    \"addon_id\": 51,\n                    \"price\": null,\n                    \"quantity\": 2\n                },\n                {\n                    \"addon_item_name\": \"Chocolate Chip\",\n                    \"addon_id\": 28,\n                    \"price\": null,\n                    \"quantity\": 2\n                },\n                {\n                    \"addon_item_name\": \"Choice of Bread\",\n                    \"addon_id\": 29,\n                    \"price\": null,\n                    \"quantity\": 2\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/cart","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cart_details</td>\n<td>array</td>\n<td>Cart Item</td>\n</tr>\n<tr>\n<td>cart_details[]</td>\n<td>object</td>\n<td>Cart</td>\n</tr>\n<tr>\n<td>cart_details[].id</td>\n<td>integer</td>\n<td>ID of food</td>\n</tr>\n<tr>\n<td>cart_details[].price_id</td>\n<td>integer</td>\n<td>ID of Variation Item</td>\n</tr>\n<tr>\n<td>cart_details[].price</td>\n<td>number</td>\n<td>Price of food</td>\n</tr>\n<tr>\n<td>cart_details[].quantity</td>\n<td>integer</td>\n<td>Quantity of food</td>\n</tr>\n<tr>\n<td>cart_details[].instruction</td>\n<td>string</td>\n<td>Instruction of food</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items</td>\n<td>array</td>\n<td>Addon Items</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[]</td>\n<td>object</td>\n<td>Addon Item</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].addon_item_name</td>\n<td>string</td>\n<td>Addon Item Name</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].addon_id</td>\n<td>integer</td>\n<td>Addon Item ID</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].price</td>\n<td>number</td>\n<td>Price of Addon Item</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].quantity</td>\n<td>integer</td>\n<td>Quantity of Addon Item</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"host":["http://example.com/wp-json/rp/v1/cart"],"query":[],"variable":[]}},"response":[{"id":"fd703f7b-b2eb-4d9a-a1fc-674150a6573c","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cart_details\": [\n        {\n            \"price\": 6.99,\n            \"id\": 48,\n            \"quantity\": 2,\n            \"instruction\": \"\",\n            \"addon_items\": [\n                {\n                    \"addon_item_name\": \"Buffalo\",\n                    \"addon_id\": 49,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Chipotle\",\n                    \"addon_id\": 51,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Chocolate Chip\",\n                    \"addon_id\": 28,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Choice of Bread\",\n                    \"addon_id\": 29,\n                    \"price\": null,\n                    \"quantity\": 1\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/cart"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Dec 2023 13:37:05 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) OpenSSL/1.1.1l PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0, no-store, private"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"rpress_items_in_cart=1; expires=Tue, 12-Dec-2023 14:07:05 GMT; Max-Age=1800; path=/restropress3/"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1702561025%7CTPIhgncUhqjulUDNKhzblpvaE19uZQBRC6V38auLHuD%7C688d32c23d063d18bed659ad9729d23d388303a3bf2630e728159762ecf874a4; path=/restropress3/wp-content/plugins; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1702561025%7CTPIhgncUhqjulUDNKhzblpvaE19uZQBRC6V38auLHuD%7C688d32c23d063d18bed659ad9729d23d388303a3bf2630e728159762ecf874a4; path=/restropress3/wp-admin; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_logged_in_dfe9815a550da31cf9383b1009b375a4=admin%7C1702561025%7CTPIhgncUhqjulUDNKhzblpvaE19uZQBRC6V38auLHuD%7C96826d6910cb74fb99b75dd071dcdee942b6f2b022c7a8f686cb7cb9acf3c648; path=/restropress3/; HttpOnly"},{"key":"X-WP-DoingItWrong","value":"rest_sanitize_value_from_schema (since 5.5.0; The \"type\" schema keyword for cart_details[0][addon_items][3][price] can only be one of the built-in types: array, object, string, number, integer, boolean, and null.)"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Link","value":"<http://localhost/restropress3/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Content-Length","value":"561"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"fees\": [],\n    \"subtotal\": 41.94,\n    \"discount\": 0,\n    \"tax\": \"4.20\",\n    \"price\": 46.14,\n    \"cart_details\": {\n        \"name\": \"Spicy Chicken Pizza Roll Up Recipe\",\n        \"id\": 48,\n        \"item_price\": 6.99,\n        \"quantity\": 2,\n        \"discount\": 0,\n        \"subtotal\": 13.98,\n        \"tax\": 1.4,\n        \"fees\": [],\n        \"price\": 15.38,\n        \"instruction\": \"\",\n        \"addon_items\": [\n            {\n                \"addon_item_name\": \"Buffalo\",\n                \"addon_id\": 49,\n                \"price\": null,\n                \"quantity\": 1\n            },\n            {\n                \"addon_item_name\": \"Chipotle\",\n                \"addon_id\": 51,\n                \"price\": null,\n                \"quantity\": 1\n            },\n            {\n                \"addon_item_name\": \"Chocolate Chip\",\n                \"addon_id\": 28,\n                \"price\": null,\n                \"quantity\": 1\n            },\n            {\n                \"addon_item_name\": \"Choice of Bread\",\n                \"addon_id\": 29,\n                \"price\": null,\n                \"quantity\": 1\n            }\n        ]\n    }\n}"},{"id":"9a99b765-12ca-4e24-b6ae-9b1c55c97192","name":"error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"cart_details\": [\n        {\n            \"price\": 6.99,\n            \"id\": 48,\n            \"quantity\": 1,\n            \"instruction\": null,\n            \"addon_items\": [\n                {\n                    \"addon_item_name\": \"Buffalo\",\n                    \"addon_id\": 49,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Chipotle\",\n                    \"addon_id\": 51,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Chocolate Chip\",\n                    \"addon_id\": 28,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                {\n                    \"addon_item_name\": \"Choice of Bread\",\n                    \"addon_id\": 29,\n                    \"price\": null,\n                    \"quantity\": 1\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/cart"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Dec 2023 13:38:04 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) OpenSSL/1.1.1l PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0, no-store, private"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"rpress_items_in_cart=1; expires=Tue, 12-Dec-2023 14:08:04 GMT; Max-Age=1800; path=/restropress3/"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1702561084%7CfeXUcxqV0iBvMWCnnlXPnWhLQKb4SFhtZiJJ1PRh7h1%7Ca7c1e8e38c6af9b2263ac2a5e2312aada70fef700e1415bc97570b60bd97aad7; path=/restropress3/wp-content/plugins; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1702561084%7CfeXUcxqV0iBvMWCnnlXPnWhLQKb4SFhtZiJJ1PRh7h1%7Ca7c1e8e38c6af9b2263ac2a5e2312aada70fef700e1415bc97570b60bd97aad7; path=/restropress3/wp-admin; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_logged_in_dfe9815a550da31cf9383b1009b375a4=admin%7C1702561084%7CfeXUcxqV0iBvMWCnnlXPnWhLQKb4SFhtZiJJ1PRh7h1%7Cd1e3de0dad8a4bead36ef70845aa05e44bc19fdd357f3f86b7b1ab49a71f4385; path=/restropress3/; HttpOnly"},{"key":"X-WP-DoingItWrong","value":"WP_REST_Posts_Controller::get_item_schema (since 5.4.0; Please use register_rest_field to add new schema properties.)"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Link","value":"<http://localhost/restropress3/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Content-Length","value":"346"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"rest_invalid_param\",\n    \"message\": \"Invalid parameter(s): cart_details\",\n    \"data\": {\n        \"status\": 400,\n        \"params\": {\n            \"cart_details\": \"cart_details[0][instruction] is not of type string.\"\n        },\n        \"details\": {\n            \"cart_details\": {\n                \"code\": \"rest_invalid_type\",\n                \"message\": \"cart_details[0][instruction] is not of type string.\",\n                \"data\": {\n                    \"param\": \"cart_details[0][instruction]\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"d9fab451-4279-4ce4-99f0-6ca9fc1f39bd"},{"name":"Retrieve cart items","id":"b7511c3e-f5a3-4284-919a-1c2910ac8739","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/cart","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"host":["http://example.com/wp-json/rp/v1/cart"],"query":[],"variable":[]}},"response":[{"id":"29f70f90-ecfd-4242-8251-633658335393","name":"success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/cart"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Dec 2023 13:36:16 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) OpenSSL/1.1.1l PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0, no-store, private"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"rpress_items_in_cart=1; expires=Tue, 12-Dec-2023 14:06:16 GMT; Max-Age=1800; path=/restropress3/"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1702560976%7C9dEmskgEZ2HpXyaxSfCSZtvTqN7MpgJ6iom3x2Rknk3%7C2695195d9536ca68c7103fe19e9ce015003c6ab271e7f3f19884bed0bf5bed34; path=/restropress3/wp-content/plugins; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1702560976%7C9dEmskgEZ2HpXyaxSfCSZtvTqN7MpgJ6iom3x2Rknk3%7C2695195d9536ca68c7103fe19e9ce015003c6ab271e7f3f19884bed0bf5bed34; path=/restropress3/wp-admin; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_logged_in_dfe9815a550da31cf9383b1009b375a4=admin%7C1702560976%7C9dEmskgEZ2HpXyaxSfCSZtvTqN7MpgJ6iom3x2Rknk3%7C67f2360259ef7279c54cfb4fe6bf8f6f09178b4ea886a5a3356e4bbed4a87d8b; path=/restropress3/; HttpOnly"},{"key":"X-WP-DoingItWrong","value":"WP_REST_Posts_Controller::get_item_schema (since 5.4.0; Please use register_rest_field to add new schema properties.)"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Link","value":"<http://localhost/restropress3/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Content-Length","value":"561"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"fees\": [],\n    \"subtotal\": 27.96,\n    \"discount\": 0,\n    \"tax\": \"2.80\",\n    \"price\": 30.76,\n    \"cart_details\": {\n        \"name\": \"Spicy Chicken Pizza Roll Up Recipe\",\n        \"id\": 48,\n        \"item_price\": 6.99,\n        \"quantity\": 2,\n        \"discount\": 0,\n        \"subtotal\": 13.98,\n        \"tax\": 1.4,\n        \"fees\": [],\n        \"price\": 15.38,\n        \"instruction\": \"\",\n        \"addon_items\": [\n            {\n                \"addon_item_name\": \"Buffalo\",\n                \"addon_id\": 49,\n                \"price\": null,\n                \"quantity\": 1\n            },\n            {\n                \"addon_item_name\": \"Chipotle\",\n                \"addon_id\": 51,\n                \"price\": null,\n                \"quantity\": 1\n            },\n            {\n                \"addon_item_name\": \"Chocolate Chip\",\n                \"addon_id\": 28,\n                \"price\": null,\n                \"quantity\": 1\n            },\n            {\n                \"addon_item_name\": \"Choice of Bread\",\n                \"addon_id\": 29,\n                \"price\": null,\n                \"quantity\": 1\n            }\n        ]\n    }\n}"},{"id":"5aaaac1d-cd08-4968-b765-eaa702c38bcc","name":"empty","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/cart"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 11 Dec 2023 10:09:08 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Pragma","value":"no-cache"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Robots-Tag","value":"noindex, nofollow"},{"key":"Link","value":"<https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0, no-store, private"},{"key":"Set-Cookie","value":"wordpress_sec_98b8f38564132c0dbacf2921612b472a=AYESHA%7C1702462147%7CyEVhKmEwO0uxTuV1Tb4srtCownhb7F9gOCP9NASUqBn%7Ca1d63c822da685474255ba1b2e48facc1a6a4fed56907daec9ed6111a50c469b; path=/wp-content/plugins; secure; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_sec_98b8f38564132c0dbacf2921612b472a=AYESHA%7C1702462147%7CyEVhKmEwO0uxTuV1Tb4srtCownhb7F9gOCP9NASUqBn%7Ca1d63c822da685474255ba1b2e48facc1a6a4fed56907daec9ed6111a50c469b; path=/wp-admin; secure; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_logged_in_98b8f38564132c0dbacf2921612b472a=AYESHA%7C1702462147%7CyEVhKmEwO0uxTuV1Tb4srtCownhb7F9gOCP9NASUqBn%7C59fcc64507a1da1ffbe997397d4c1f066657e386e8ec33b491ff7e9a276666fb; path=/; secure; HttpOnly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Cart is empty\"\n}"}],"_postman_id":"b7511c3e-f5a3-4284-919a-1c2910ac8739"},{"name":"Empty cart","id":"d907aebc-0ebe-4605-b271-ddac46ae38cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://example.com/wp-json/rp/v1/cart","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"host":["http://example.com/wp-json/rp/v1/cart"],"query":[],"variable":[]}},"response":[{"id":"e3291966-9064-4c3e-9055-23c72e161b88","name":"Cart empty","originalRequest":{"method":"DELETE","header":[],"url":"http://example.com/wp-json/rp/v1/cart"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 11 Dec 2023 10:13:53 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Pragma","value":"no-cache"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"X-Robots-Tag","value":"noindex, nofollow"},{"key":"Link","value":"<https://wordpress-953026-3970560.cloudwaysapps.com/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0, no-store, private"},{"key":"Set-Cookie","value":"wordpress_sec_98b8f38564132c0dbacf2921612b472a=AYESHA%7C1702462433%7CRy00SFedFnAoXZ742JfwwsllMUa7yflOlNU5q7KY53t%7Cb4a6ff8df164dbe9c1e8f7e706b77048ffe278ec3d663495f20dd4d1f588143c; path=/wp-content/plugins; secure; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_sec_98b8f38564132c0dbacf2921612b472a=AYESHA%7C1702462433%7CRy00SFedFnAoXZ742JfwwsllMUa7yflOlNU5q7KY53t%7Cb4a6ff8df164dbe9c1e8f7e706b77048ffe278ec3d663495f20dd4d1f588143c; path=/wp-admin; secure; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_logged_in_98b8f38564132c0dbacf2921612b472a=AYESHA%7C1702462433%7CRy00SFedFnAoXZ742JfwwsllMUa7yflOlNU5q7KY53t%7Ce72ffe0d6a280ad677044c2252578dca2507e4fa0188992a38ac4b17ebff40f9; path=/; secure; HttpOnly"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully cart emptied\"\n}"}],"_postman_id":"d907aebc-0ebe-4605-b271-ddac46ae38cf"}],"id":"e34733df-b501-4c57-bc43-c53c349c7087","description":"<p>All endpoints and parameters related to Cart</p>\n","_postman_id":"e34733df-b501-4c57-bc43-c53c349c7087","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}}},{"name":"Orders","item":[{"name":"Retrieve all orders","id":"0887dd05-bfe7-43cc-b659-293156a71514","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://example.com/wp-json/rp/v1/order","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>context</td>\n<td>string</td>\n<td>Scope under which the request is made; determines fields present in response.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>integer</td>\n<td>Current page of the collection.</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>integer</td>\n<td>Maximum number of items to be returned in result set.</td>\n</tr>\n<tr>\n<td>search</td>\n<td>string</td>\n<td>Limit results to those matching a string.</td>\n</tr>\n<tr>\n<td>after</td>\n<td>string</td>\n<td>Limit response to posts published after a given ISO8601 compliant date.</td>\n</tr>\n<tr>\n<td>before</td>\n<td>string</td>\n<td>Limit response to posts published before a given ISO8601 compliant date.</td>\n</tr>\n<tr>\n<td>modified_after</td>\n<td>string</td>\n<td>Limit response to posts modified after a given ISO8601 compliant date.</td>\n</tr>\n<tr>\n<td>modified_before</td>\n<td>string</td>\n<td>Limit response to posts modified before a given ISO8601 compliant date.</td>\n</tr>\n<tr>\n<td>exclude</td>\n<td>array</td>\n<td>Ensure result set excludes specific IDs.</td>\n</tr>\n<tr>\n<td>include</td>\n<td>array</td>\n<td>Limit result set to specific IDs.</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>integer</td>\n<td>Offset the result set by a specific number of items.</td>\n</tr>\n<tr>\n<td>order</td>\n<td>string</td>\n<td>Order sort attribute ascending or descending.</td>\n</tr>\n<tr>\n<td>orderby</td>\n<td>string</td>\n<td>Sort collection by post attribute.</td>\n</tr>\n<tr>\n<td>search_columns</td>\n<td>array</td>\n<td>Array of column names to be searched.</td>\n</tr>\n<tr>\n<td>slug</td>\n<td>array</td>\n<td>Limit result set to posts with one or more specific slugs.</td>\n</tr>\n<tr>\n<td>order_status</td>\n<td>array</td>\n<td>Limits results to order with the given order status.</td>\n</tr>\n<tr>\n<td>payment_status</td>\n<td>array</td>\n<td>Limits results to order with the given payment status.</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>integer</td>\n<td>Search Order by customer id.</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>string</td>\n<td>Filter Order with Start Date.</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>string</td>\n<td>Filter order with End Date.</td>\n</tr>\n<tr>\n<td>gateway</td>\n<td>string</td>\n<td>Filter order with gateway.</td>\n</tr>\n<tr>\n<td>search_in_notes</td>\n<td>string</td>\n<td>Search in notes of Orders.</td>\n</tr>\n<tr>\n<td>fooditem</td>\n<td>array</td>\n<td>Limits results to order with the given food items Id.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"host":["http://example.com/wp-json/rp/v1/order"],"query":[],"variable":[]}},"response":[{"id":"36837648-398e-488a-b710-9d0f7038f7fa","name":"success","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://example.com/wp-json/rp/v1/order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 246,\n        \"date\": \"2023-12-22 17:13:55\",\n        \"date_gmt\": \"2023-12-22T11:43:55\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?post_type=rpress_payment&#038;p=246\"\n        },\n        \"modified\": \"2023-12-22T17:13:55\",\n        \"modified_gmt\": \"2023-12-22T11:43:55\",\n        \"slug\": \"renee-flowers-7\",\n        \"status\": \"processing\",\n        \"type\": \"rpress_payment\",\n        \"link\": \"http://localhost/restropress3/?post_type=rpress_payment&p=246\",\n        \"title\": {\n            \"rendered\": \"Renee Flowers\"\n        },\n        \"template\": \"\",\n        \"delivery_adrress_meta\": {\n            \"address\": \"\",\n            \"flat\": \"\",\n            \"city\": \"\",\n            \"postcode\": \"\"\n        },\n        \"order_note\": \"\",\n        \"address\": {\n            \"line1\": \"\",\n            \"line2\": \"\",\n            \"city\": \"\",\n            \"country\": \"\",\n            \"state\": \"\",\n            \"zip\": \"\"\n        },\n        \"total\": \"7.69\",\n        \"subtotal\": 6.99,\n        \"tax\": \"0.70\",\n        \"discounted_amount\": 6.99,\n        \"tax_rate\": \"0.1\",\n        \"fees\": [],\n        \"fees_total\": 0,\n        \"discounts\": \"\",\n        \"completed_date\": false,\n        \"status_nicename\": \"Processing\",\n        \"post_status\": \"processing\",\n        \"old_status\": \"\",\n        \"user_id\": \"1\",\n        \"customer_id\": \"1\",\n        \"user_info\": {\n            \"first_name\": \"Renee\",\n            \"last_name\": \"Flowers\",\n            \"discount\": \"\",\n            \"id\": 1,\n            \"email\": \"kokyjatoky@d.com\",\n            \"address\": []\n        },\n        \"ip\": \"127.0.0.1\",\n        \"gateway\": \"\",\n        \"currency\": \"USD\",\n        \"has_unlimited_fooditems\": false,\n        \"pending\": [],\n        \"parent_payment\": 0,\n        \"service_type\": \"\",\n        \"service_date\": \"\",\n        \"service_time\": \"\",\n        \"payment_meta\": {\n            \"key\": \"1be3d2afa26988294f42589ee6977e3d\",\n            \"email\": \"kokyjatoky@d.com\",\n            \"date\": \"2023-12-22 17:13:55\",\n            \"user_info\": {\n                \"id\": 1,\n                \"email\": \"kokyjatoky@d.com\",\n                \"first_name\": \"Renee\",\n                \"last_name\": \"Flowers\",\n                \"discount\": \"\",\n                \"address\": []\n            },\n            \"fooditems\": [\n                {\n                    \"id\": 48,\n                    \"quantity\": 1,\n                    \"options\": {\n                        \"0\": {\n                            \"addon_item_name\": \"Buffalo\",\n                            \"addon_id\": 49,\n                            \"price\": null,\n                            \"quantity\": 1\n                        },\n                        \"1\": {\n                            \"addon_item_name\": \"Chipotle\",\n                            \"addon_id\": 51,\n                            \"price\": null,\n                            \"quantity\": 1\n                        },\n                        \"2\": {\n                            \"addon_item_name\": \"Chocolate Chip\",\n                            \"addon_id\": 28,\n                            \"price\": null,\n                            \"quantity\": 1\n                        },\n                        \"3\": {\n                            \"addon_item_name\": \"Choice of Bread\",\n                            \"addon_id\": 29,\n                            \"price\": null,\n                            \"quantity\": 1\n                        },\n                        \"quantity\": 1,\n                        \"price_id\": 0\n                    }\n                }\n            ],\n            \"cart_details\": [\n                {\n                    \"name\": \"Spicy Chicken Pizza Roll Up Recipe\",\n                    \"id\": 48,\n                    \"instruction\": \"\",\n                    \"item_number\": {\n                        \"id\": 48,\n                        \"quantity\": 1,\n                        \"options\": {\n                            \"0\": {\n                                \"addon_item_name\": \"Buffalo\",\n                                \"addon_id\": 49,\n                                \"price\": null,\n                                \"quantity\": 1\n                            },\n                            \"1\": {\n                                \"addon_item_name\": \"Chipotle\",\n                                \"addon_id\": 51,\n                                \"price\": null,\n                                \"quantity\": 1\n                            },\n                            \"2\": {\n                                \"addon_item_name\": \"Chocolate Chip\",\n                                \"addon_id\": 28,\n                                \"price\": null,\n                                \"quantity\": 1\n                            },\n                            \"3\": {\n                                \"addon_item_name\": \"Choice of Bread\",\n                                \"addon_id\": 29,\n                                \"price\": null,\n                                \"quantity\": 1\n                            },\n                            \"quantity\": 1,\n                            \"price_id\": 0\n                        }\n                    },\n                    \"item_price\": 6.99,\n                    \"quantity\": 1,\n                    \"discount\": 0,\n                    \"subtotal\": 6.99,\n                    \"tax\": 0.7,\n                    \"fees\": [],\n                    \"price\": 7.69,\n                    \"addon_items\": {\n                        \"0\": {\n                            \"addon_item_name\": \"Buffalo\",\n                            \"addon_id\": 49,\n                            \"price\": null,\n                            \"quantity\": 1\n                        },\n                        \"1\": {\n                            \"addon_item_name\": \"Chipotle\",\n                            \"addon_id\": 51,\n                            \"price\": null,\n                            \"quantity\": 1\n                        },\n                        \"2\": {\n                            \"addon_item_name\": \"Chocolate Chip\",\n                            \"addon_id\": 28,\n                            \"price\": null,\n                            \"quantity\": 1\n                        },\n                        \"3\": {\n                            \"addon_item_name\": \"Choice of Bread\",\n                            \"addon_id\": 29,\n                            \"price\": null,\n                            \"quantity\": 1\n                        },\n                        \"quantity\": 1,\n                        \"price_id\": 0\n                    }\n                }\n            ],\n            \"fees\": [],\n            \"currency\": \"USD\"\n        },\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment/246\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/types/rpress_payment\"\n                }\n            ],\n            \"wp:attachment\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/media?parent=246\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 243,\n        \"date\": \"2023-12-22 13:30:38\",\n        \"date_gmt\": \"2023-12-22T08:00:38\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?post_type=rpress_payment&#038;p=243\"\n        },\n        \"modified\": \"2023-12-22T14:36:45\",\n        \"modified_gmt\": \"2023-12-22T09:06:45\",\n        \"slug\": \"renee-flowers-6\",\n        \"status\": \"publish\",\n        \"type\": \"rpress_payment\",\n        \"link\": \"http://localhost/restropress3/?post_type=rpress_payment&p=243\",\n        \"title\": {\n            \"rendered\": \"Renee Flowers\"\n        },\n        \"template\": \"\",\n        \"delivery_adrress_meta\": {\n            \"address\": \"Tempore cupiditate\",\n            \"flat\": \"Consectetur et conse\",\n            \"city\": \"Non autem Nam odit i\",\n            \"postcode\": \"45928\"\n        },\n        \"order_note\": \"\",\n        \"address\": {\n            \"line1\": \"\",\n            \"line2\": \"\",\n            \"city\": \"\",\n            \"country\": \"US\",\n            \"state\": \"\",\n            \"zip\": \"\"\n        },\n        \"total\": \"33.00\",\n        \"subtotal\": 30,\n        \"tax\": \"3.00\",\n        \"discounted_amount\": 30,\n        \"tax_rate\": \"0.1\",\n        \"fees\": [],\n        \"fees_total\": 0,\n        \"discounts\": \"none\",\n        \"completed_date\": \"\",\n        \"status_nicename\": \"Paid\",\n        \"post_status\": \"publish\",\n        \"old_status\": \"\",\n        \"user_id\": \"1\",\n        \"customer_id\": \"1\",\n        \"user_info\": {\n            \"first_name\": \"Renee\",\n            \"last_name\": \"Flowers\",\n            \"discount\": \"none\",\n            \"id\": 1,\n            \"email\": \"kokyjatoky@d.com\",\n            \"address\": {\n                \"line1\": \"\",\n                \"line2\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"country\": \"US\",\n                \"zip\": \"\"\n            }\n        },\n        \"ip\": \"127.0.0.1\",\n        \"gateway\": \"paypal\",\n        \"currency\": \"USD\",\n        \"has_unlimited_fooditems\": false,\n        \"pending\": [],\n        \"parent_payment\": 0,\n        \"service_type\": \"delivery\",\n        \"service_date\": \"2023-12-15\",\n        \"service_time\": \"06:30pm\",\n        \"payment_meta\": {\n            \"phone\": \"36454646646\",\n            \"key\": \"c3c7f2b8f1b38775b5ab934b3025f4e2\",\n            \"email\": \"kokyjatoky@d.com\",\n            \"date\": \"2023-12-22 13:30:38\",\n            \"user_info\": {\n                \"id\": 1,\n                \"email\": \"kokyjatoky@d.com\",\n                \"first_name\": \"Renee\",\n                \"last_name\": \"Flowers\",\n                \"discount\": \"none\",\n                \"address\": {\n                    \"line1\": \"\",\n                    \"line2\": \"\",\n                    \"city\": \"\",\n                    \"state\": \"\",\n                    \"country\": \"US\",\n                    \"zip\": \"\"\n                }\n            },\n            \"fooditems\": [\n                {\n                    \"id\": 227,\n                    \"quantity\": 1,\n                    \"options\": {\n                        \"0\": {\n                            \"addon_item_name\": \"Not Toasted\",\n                            \"addon_id\": \"87\",\n                            \"price\": \"0.00\",\n                            \"quantity\": \"1\"\n                        },\n                        \"quantity\": 1,\n                        \"price_id\": 0\n                    }\n                }\n            ],\n            \"cart_details\": [\n                {\n                    \"name\": \"Chicken\",\n                    \"id\": 227,\n                    \"instruction\": \"\",\n                    \"item_number\": {\n                        \"id\": 227,\n                        \"quantity\": 1,\n                        \"options\": {\n                            \"0\": {\n                                \"addon_item_name\": \"Not Toasted\",\n                                \"addon_id\": \"87\",\n                                \"price\": \"0.00\",\n                                \"quantity\": \"1\"\n                            },\n                            \"quantity\": 1,\n                            \"price_id\": 0\n                        }\n                    },\n                    \"item_price\": 30,\n                    \"quantity\": 1,\n                    \"discount\": 0,\n                    \"subtotal\": 30,\n                    \"tax\": 3,\n                    \"fees\": [],\n                    \"price\": 33,\n                    \"addon_items\": {\n                        \"0\": {\n                            \"addon_item_name\": \"Not Toasted\",\n                            \"addon_id\": \"87\",\n                            \"price\": \"0.00\",\n                            \"quantity\": \"1\"\n                        },\n                        \"quantity\": 1,\n                        \"price_id\": 0\n                    }\n                }\n            ],\n            \"fees\": [],\n            \"currency\": \"USD\",\n            \"tax\": \"3.00\"\n        },\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment/243\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/types/rpress_payment\"\n                }\n            ],\n            \"wp:attachment\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/media?parent=243\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 183,\n        \"date\": \"2023-12-14 17:06:52\",\n        \"date_gmt\": \"2023-12-14T11:36:52\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?post_type=rpress_payment&#038;p=183\"\n        },\n        \"modified\": \"2023-12-14T17:06:52\",\n        \"modified_gmt\": \"2023-12-14T11:36:52\",\n        \"slug\": \"renee-flowers-4\",\n        \"status\": \"processing\",\n        \"type\": \"rpress_payment\",\n        \"link\": \"http://localhost/restropress3/?post_type=rpress_payment&p=183\",\n        \"title\": {\n            \"rendered\": \"Renee Flowers\"\n        },\n        \"template\": \"\",\n        \"delivery_adrress_meta\": {\n            \"address\": \"Tempore cupiditate\",\n            \"flat\": \"Consectetur et conse\",\n            \"city\": \"Non autem Nam odit i\",\n            \"postcode\": \"45928\"\n        },\n        \"order_note\": \"\",\n        \"address\": {\n            \"line1\": \"\",\n            \"line2\": \"\",\n            \"city\": \"\",\n            \"country\": \"US\",\n            \"state\": \"\",\n            \"zip\": \"\"\n        },\n        \"total\": \"27.5\",\n        \"subtotal\": 25,\n        \"tax\": \"2.5\",\n        \"discounted_amount\": 25,\n        \"tax_rate\": \"0.1\",\n        \"fees\": [],\n        \"fees_total\": 0,\n        \"discounts\": \"none\",\n        \"completed_date\": false,\n        \"status_nicename\": \"Processing\",\n        \"post_status\": \"processing\",\n        \"old_status\": \"\",\n        \"user_id\": \"1\",\n        \"customer_id\": \"1\",\n        \"user_info\": {\n            \"first_name\": \"Renee\",\n            \"last_name\": \"Flowers\",\n            \"discount\": \"none\",\n            \"id\": 1,\n            \"email\": \"kokyjatoky@d.com\",\n            \"address\": {\n                \"line1\": \"\",\n                \"line2\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"country\": \"US\",\n                \"zip\": \"\"\n            }\n        },\n        \"ip\": \"127.0.0.1\",\n        \"gateway\": \"manual\",\n        \"currency\": \"USD\",\n        \"has_unlimited_fooditems\": false,\n        \"pending\": [],\n        \"parent_payment\": 0,\n        \"service_type\": \"delivery\",\n        \"service_date\": \"2023-12-14\",\n        \"service_time\": \"07:00pm\",\n        \"payment_meta\": {\n            \"phone\": \"36454646646\",\n            \"key\": \"6772363ac19c077be41ec0e6ecc07022\",\n            \"email\": \"kokyjatoky@d.com\",\n            \"date\": \"2023-12-14 17:06:52\",\n            \"user_info\": {\n                \"id\": 1,\n                \"email\": \"kokyjatoky@d.com\",\n                \"first_name\": \"Renee\",\n                \"last_name\": \"Flowers\",\n                \"discount\": \"none\",\n                \"address\": {\n                    \"line1\": \"\",\n                    \"line2\": \"\",\n                    \"city\": \"\",\n                    \"state\": \"\",\n                    \"country\": \"US\",\n                    \"zip\": \"\"\n                }\n            },\n            \"fooditems\": [\n                {\n                    \"id\": 24,\n                    \"quantity\": 1,\n                    \"options\": {\n                        \"quantity\": 1,\n                        \"price_id\": 0\n                    }\n                }\n            ],\n            \"cart_details\": [\n                {\n                    \"name\": \"6 ' cold sandwich\",\n                    \"id\": 24,\n                    \"instruction\": \"\",\n                    \"item_number\": {\n                        \"id\": 24,\n                        \"quantity\": 1,\n                        \"options\": {\n                            \"quantity\": 1,\n                            \"price_id\": 0\n                        }\n                    },\n                    \"item_price\": 25,\n                    \"quantity\": 1,\n                    \"discount\": 0,\n                    \"subtotal\": 25,\n                    \"tax\": 2.5,\n                    \"fees\": [],\n                    \"price\": 27.5,\n                    \"addon_items\": {\n                        \"quantity\": 1,\n                        \"price_id\": 0\n                    }\n                }\n            ],\n            \"fees\": [],\n            \"currency\": \"USD\"\n        },\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment/183\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/types/rpress_payment\"\n                }\n            ],\n            \"wp:attachment\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/media?parent=183\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 182,\n        \"date\": \"2023-12-14 16:52:43\",\n        \"date_gmt\": \"2023-12-14T11:22:43\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?post_type=rpress_payment&#038;p=182\"\n        },\n        \"modified\": \"2023-12-22T09:19:19\",\n        \"modified_gmt\": \"2023-12-22T03:49:19\",\n        \"slug\": \"renee-flowers-5\",\n        \"status\": \"abandoned\",\n        \"type\": \"rpress_payment\",\n        \"link\": \"http://localhost/restropress3/?post_type=rpress_payment&p=182\",\n        \"title\": {\n            \"rendered\": \"Renee Flowers\"\n        },\n        \"template\": \"\",\n        \"delivery_adrress_meta\": {\n            \"address\": \"\",\n            \"flat\": \"\",\n            \"city\": \"\",\n            \"postcode\": \"\"\n        },\n        \"order_note\": \"\",\n        \"address\": {\n            \"line1\": \"\",\n            \"line2\": \"\",\n            \"city\": \"\",\n            \"country\": \"\",\n            \"state\": \"\",\n            \"zip\": \"\"\n        },\n        \"total\": \"27.50\",\n        \"subtotal\": 25,\n        \"tax\": \"2.50\",\n        \"discounted_amount\": 25,\n        \"tax_rate\": \"0.1\",\n        \"fees\": [],\n        \"fees_total\": 0,\n        \"discounts\": \"none\",\n        \"completed_date\": \"\",\n        \"status_nicename\": \"Abandoned\",\n        \"post_status\": \"abandoned\",\n        \"old_status\": \"\",\n        \"user_id\": \"1\",\n        \"customer_id\": \"1\",\n        \"user_info\": {\n            \"first_name\": \"Renee\",\n            \"last_name\": \"Flowers\",\n            \"discount\": \"none\",\n            \"id\": 1,\n            \"email\": \"kokyjatoky@d.com\",\n            \"address\": []\n        },\n        \"ip\": \"127.0.0.1\",\n        \"gateway\": \"square\",\n        \"currency\": \"USD\",\n        \"has_unlimited_fooditems\": false,\n        \"pending\": [],\n        \"parent_payment\": 0,\n        \"service_type\": \"pickup\",\n        \"service_date\": \"2023-12-14\",\n        \"service_time\": \"05:00pm\",\n        \"payment_meta\": {\n            \"phone\": \"36454646646\",\n            \"key\": \"0e277adfbe3715343b1e4463b7ea8b9a\",\n            \"email\": \"kokyjatoky@d.com\",\n            \"date\": \"2023-12-14 16:52:43\",\n            \"user_info\": {\n                \"id\": 1,\n                \"email\": \"kokyjatoky@d.com\",\n                \"first_name\": \"Renee\",\n                \"last_name\": \"Flowers\",\n                \"discount\": \"none\",\n                \"address\": []\n            },\n            \"fooditems\": [\n                {\n                    \"id\": 24,\n                    \"quantity\": 1,\n                    \"options\": {\n                        \"quantity\": 1,\n                        \"price_id\": 0\n                    }\n                }\n            ],\n            \"cart_details\": [\n                {\n                    \"name\": \"6 ' cold sandwich\",\n                    \"id\": 24,\n                    \"instruction\": \"\",\n                    \"item_number\": {\n                        \"id\": 24,\n                        \"quantity\": 1,\n                        \"options\": {\n                            \"quantity\": 1,\n                            \"price_id\": 0\n                        }\n                    },\n                    \"item_price\": 25,\n                    \"quantity\": 1,\n                    \"discount\": 0,\n                    \"subtotal\": 25,\n                    \"tax\": 2.5,\n                    \"fees\": [],\n                    \"price\": 27.5,\n                    \"addon_items\": {\n                        \"quantity\": 1,\n                        \"price_id\": 0\n                    }\n                }\n            ],\n            \"fees\": [],\n            \"currency\": \"USD\",\n            \"tax\": \"2.50\"\n        },\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment/182\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/types/rpress_payment\"\n                }\n            ],\n            \"wp:attachment\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/media?parent=182\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 166,\n        \"date\": \"2023-12-14 16:23:27\",\n        \"date_gmt\": \"2023-12-14T10:53:27\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?post_type=rpress_payment&#038;p=166\"\n        },\n        \"modified\": \"2023-12-14T16:23:27\",\n        \"modified_gmt\": \"2023-12-14T10:53:27\",\n        \"slug\": \"renee-flowers-3\",\n        \"status\": \"processing\",\n        \"type\": \"rpress_payment\",\n        \"link\": \"http://localhost/restropress3/?post_type=rpress_payment&p=166\",\n        \"title\": {\n            \"rendered\": \"Renee Flowers\"\n        },\n        \"template\": \"\",\n        \"delivery_adrress_meta\": {\n            \"address\": \"Tempore cupiditate\",\n            \"flat\": \"Consectetur et conse\",\n            \"city\": \"Non autem Nam odit i\",\n            \"postcode\": \"45928\"\n        },\n        \"order_note\": \"\",\n        \"address\": {\n            \"line1\": \"\",\n            \"line2\": \"\",\n            \"city\": \"\",\n            \"country\": \"US\",\n            \"state\": \"\",\n            \"zip\": \"\"\n        },\n        \"total\": \"37.4\",\n        \"subtotal\": 34,\n        \"tax\": \"3.4\",\n        \"discounted_amount\": 34,\n        \"tax_rate\": \"0.1\",\n        \"fees\": [],\n        \"fees_total\": 0,\n        \"discounts\": \"none\",\n        \"completed_date\": false,\n        \"status_nicename\": \"Processing\",\n        \"post_status\": \"processing\",\n        \"old_status\": \"\",\n        \"user_id\": \"1\",\n        \"customer_id\": \"1\",\n        \"user_info\": {\n            \"first_name\": \"Renee\",\n            \"last_name\": \"Flowers\",\n            \"discount\": \"none\",\n            \"id\": 1,\n            \"email\": \"kokyjatoky@d.com\",\n            \"address\": {\n                \"line1\": \"\",\n                \"line2\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"country\": \"US\",\n                \"zip\": \"\"\n            }\n        },\n        \"ip\": \"127.0.0.1\",\n        \"gateway\": \"cash_on_delivery\",\n        \"currency\": \"USD\",\n        \"has_unlimited_fooditems\": false,\n        \"pending\": [],\n        \"parent_payment\": 0,\n        \"service_type\": \"delivery\",\n        \"service_date\": \"2023-12-14\",\n        \"service_time\": \"06:00pm\",\n        \"payment_meta\": {\n            \"phone\": \"36454646646\",\n            \"key\": \"4d36975b5e0f4521505caea5db4be9a8\",\n            \"email\": \"kokyjatoky@d.com\",\n            \"date\": \"2023-12-14 16:23:27\",\n            \"user_info\": {\n                \"id\": 1,\n                \"email\": \"kokyjatoky@d.com\",\n                \"first_name\": \"Renee\",\n                \"last_name\": \"Flowers\",\n                \"discount\": \"none\",\n                \"address\": {\n                    \"line1\": \"\",\n                    \"line2\": \"\",\n                    \"city\": \"\",\n                    \"state\": \"\",\n                    \"country\": \"US\",\n                    \"zip\": \"\"\n                }\n            },\n            \"fooditems\": [\n                {\n                    \"id\": 74,\n                    \"quantity\": 1,\n                    \"options\": {\n                        \"quantity\": 1,\n                        \"price_id\": 0\n                    }\n                }\n            ],\n            \"cart_details\": [\n                {\n                    \"name\": \"Beef with King Mushroom\",\n                    \"id\": 74,\n                    \"instruction\": \"\",\n                    \"item_number\": {\n                        \"id\": 74,\n                        \"quantity\": 1,\n                        \"options\": {\n                            \"quantity\": 1,\n                            \"price_id\": 0\n                        }\n                    },\n                    \"item_price\": 34,\n                    \"quantity\": 1,\n                    \"discount\": 0,\n                    \"subtotal\": 34,\n                    \"tax\": 3.4,\n                    \"fees\": [],\n                    \"price\": 37.4,\n                    \"addon_items\": {\n                        \"quantity\": 1,\n                        \"price_id\": 0\n                    }\n                }\n            ],\n            \"fees\": [],\n            \"currency\": \"USD\"\n        },\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment/166\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/types/rpress_payment\"\n                }\n            ],\n            \"wp:attachment\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/media?parent=166\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 96,\n        \"date\": \"2023-12-13 12:05:00\",\n        \"date_gmt\": \"2023-12-13T06:35:19\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?post_type=rpress_payment&#038;p=96\"\n        },\n        \"modified\": \"2023-12-13T12:05:40\",\n        \"modified_gmt\": \"2023-12-13T06:35:40\",\n        \"slug\": \"renee-flowers-2\",\n        \"status\": \"processing\",\n        \"type\": \"rpress_payment\",\n        \"link\": \"http://localhost/restropress3/?post_type=rpress_payment&p=96\",\n        \"title\": {\n            \"rendered\": \"Renee Flowers\"\n        },\n        \"template\": \"\",\n        \"delivery_adrress_meta\": {\n            \"address\": \"Tempore cupiditate\",\n            \"flat\": \"Consectetur et conse\",\n            \"city\": \"Non autem Nam odit i\",\n            \"postcode\": \"45928\"\n        },\n        \"order_note\": \"\",\n        \"address\": {\n            \"0\": \"1\",\n            \"line1\": \"\",\n            \"line2\": \"\",\n            \"city\": \"\",\n            \"country\": \"US\",\n            \"state\": \"\",\n            \"zip\": \"\"\n        },\n        \"total\": \"35.30\",\n        \"subtotal\": 30,\n        \"tax\": \"6.000000\",\n        \"discounted_amount\": 29.299999999999997,\n        \"tax_rate\": \"0.1\",\n        \"fees\": [],\n        \"fees_total\": 0,\n        \"discounts\": \"none\",\n        \"completed_date\": false,\n        \"status_nicename\": \"Processing\",\n        \"post_status\": \"processing\",\n        \"old_status\": \"\",\n        \"user_id\": \"1\",\n        \"customer_id\": \"1\",\n        \"user_info\": {\n            \"first_name\": \"Renee\",\n            \"last_name\": \"Flowers\",\n            \"discount\": \"none\",\n            \"id\": \"1\",\n            \"email\": \"kokyjatoky@d.com\",\n            \"address\": {\n                \"0\": \"1\",\n                \"line1\": \"\",\n                \"line2\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"country\": \"US\",\n                \"zip\": \"\"\n            }\n        },\n        \"ip\": \"127.0.0.1\",\n        \"gateway\": \"cash_on_delivery\",\n        \"currency\": \"USD\",\n        \"has_unlimited_fooditems\": false,\n        \"pending\": [],\n        \"parent_payment\": 0,\n        \"service_type\": \"delivery\",\n        \"service_date\": \"2023-12-13\",\n        \"service_time\": \"9:00 am\",\n        \"payment_meta\": {\n            \"phone\": \"36454646646\",\n            \"key\": \"dab1a677ae58f4a1acb0efd7e21edd09\",\n            \"email\": \"kokyjatoky@d.com\",\n            \"date\": \"2023-12-13 12:05:00\",\n            \"user_info\": {\n                \"id\": \"1\",\n                \"email\": \"kokyjatoky@d.com\",\n                \"first_name\": \"Renee\",\n                \"last_name\": \"Flowers\",\n                \"discount\": \"none\",\n                \"address\": {\n                    \"0\": \"1\",\n                    \"line1\": \"\",\n                    \"line2\": \"\",\n                    \"city\": \"\",\n                    \"state\": \"\",\n                    \"country\": \"US\",\n                    \"zip\": \"\"\n                }\n            },\n            \"fooditems\": [\n                {\n                    \"id\": 14,\n                    \"quantity\": 1,\n                    \"options\": {\n                        \"quantity\": 1,\n                        \"price_id\": 0\n                    }\n                },\n                {\n                    \"id\": 50,\n                    \"quantity\": 1,\n                    \"options\": {\n                        \"0\": {\n                            \"addon_item_name\": \"Add lemon pepper on the food\",\n                            \"addon_id\": \"26\",\n                            \"price\": \"\",\n                            \"quantity\": \"1\"\n                        },\n                        \"quantity\": 1,\n                        \"price_id\": 1\n                    }\n                }\n            ],\n            \"cart_details\": [\n                {\n                    \"addon_items\": \"\",\n                    \"discount\": 0,\n                    \"fees\": [],\n                    \"id\": 14,\n                    \"instruction\": \"\",\n                    \"item_number\": {\n                        \"id\": 14,\n                        \"quantity\": 1,\n                        \"options\": {\n                            \"quantity\": 1,\n                            \"price_id\": 0\n                        }\n                    },\n                    \"item_price\": \"23.00\",\n                    \"name\": \"12 wings\",\n                    \"price\": 28.3,\n                    \"quantity\": 1,\n                    \"subtotal\": 23,\n                    \"tax\": \"5.30\"\n                },\n                {\n                    \"addon_items\": [\n                        {\n                            \"addon_item_name\": \"Add lemon pepper on the food\",\n                            \"addon_id\": \"26\",\n                            \"price\": \"\",\n                            \"quantity\": \"1\"\n                        },\n                        {\n                            \"addon_item_name\": \"Add lemon pepper on the food\",\n                            \"addon_id\": \"26\",\n                            \"price\": \"\",\n                            \"quantity\": \"1\"\n                        },\n                        {\n                            \"addon_item_name\": \"Add lemon pepper on the food\",\n                            \"addon_id\": \"26\",\n                            \"price\": \"\",\n                            \"quantity\": \"1\"\n                        },\n                        {\n                            \"addon_item_name\": \"Add lemon pepper on the food\",\n                            \"addon_id\": \"26\",\n                            \"price\": \"\",\n                            \"quantity\": \"1\"\n                        }\n                    ],\n                    \"discount\": 0,\n                    \"fees\": [],\n                    \"id\": 50,\n                    \"instruction\": \"\",\n                    \"item_number\": {\n                        \"id\": 50,\n                        \"quantity\": 1,\n                        \"options\": {\n                            \"0\": {\n                                \"addon_item_name\": \"Add lemon pepper on the food\",\n                                \"addon_id\": \"26\",\n                                \"price\": \"\",\n                                \"quantity\": \"1\"\n                            },\n                            \"quantity\": 1,\n                            \"price_id\": 1\n                        }\n                    },\n                    \"item_price\": \"7.00\",\n                    \"name\": \"Chicken Bacon Ranch Poppers\",\n                    \"price\": 7.7,\n                    \"quantity\": 1,\n                    \"subtotal\": 7,\n                    \"tax\": \"0.70\"\n                }\n            ],\n            \"fees\": [],\n            \"currency\": \"USD\",\n            \"tax\": \"6.00\"\n        },\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment/96\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/types/rpress_payment\"\n                }\n            ],\n            \"wp:attachment\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/media?parent=96\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    },\n    {\n        \"id\": 94,\n        \"date\": \"2023-12-13 11:09:00\",\n        \"date_gmt\": \"2023-12-13T05:39:11\",\n        \"guid\": {\n            \"rendered\": \"http://localhost/restropress3/?post_type=rpress_payment&#038;p=94\"\n        },\n        \"modified\": \"2023-12-15T17:39:01\",\n        \"modified_gmt\": \"2023-12-15T12:09:01\",\n        \"slug\": \"renee-flowers\",\n        \"status\": \"failed\",\n        \"type\": \"rpress_payment\",\n        \"link\": \"http://localhost/restropress3/?post_type=rpress_payment&p=94\",\n        \"title\": {\n            \"rendered\": \"Renee Flowers\"\n        },\n        \"template\": \"\",\n        \"delivery_adrress_meta\": {\n            \"address\": \"Tempore cupiditate\",\n            \"flat\": \"Consectetur et conse\",\n            \"city\": \"Non autem Nam odit i\",\n            \"postcode\": \"45928\"\n        },\n        \"order_note\": \"\",\n        \"address\": {\n            \"0\": \"1\",\n            \"line1\": \"\",\n            \"line2\": \"\",\n            \"city\": \"\",\n            \"country\": \"US\",\n            \"state\": \"\",\n            \"zip\": \"\"\n        },\n        \"total\": \"28.30\",\n        \"subtotal\": 23,\n        \"tax\": \"5.30\",\n        \"discounted_amount\": 23,\n        \"tax_rate\": \"0.1\",\n        \"fees\": [],\n        \"fees_total\": 0,\n        \"discounts\": \"none\",\n        \"completed_date\": \"2023-12-15 17:38:27\",\n        \"status_nicename\": \"Failed\",\n        \"post_status\": \"failed\",\n        \"old_status\": \"\",\n        \"user_id\": \"1\",\n        \"customer_id\": \"1\",\n        \"user_info\": {\n            \"first_name\": \"Renee\",\n            \"last_name\": \"Flowers\",\n            \"discount\": \"none\",\n            \"id\": \"1\",\n            \"email\": \"kokyjatoky@d.com\",\n            \"address\": {\n                \"0\": \"1\",\n                \"line1\": \"\",\n                \"line2\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"country\": \"US\",\n                \"zip\": \"\"\n            }\n        },\n        \"ip\": \"127.0.0.1\",\n        \"gateway\": \"manual\",\n        \"currency\": \"USD\",\n        \"has_unlimited_fooditems\": false,\n        \"pending\": [],\n        \"parent_payment\": 0,\n        \"service_type\": \"delivery\",\n        \"service_date\": \"2023-12-13\",\n        \"service_time\": \"9:00 am\",\n        \"payment_meta\": {\n            \"phone\": \"36454646646\",\n            \"key\": \"be03c7bc0cef3557b75145ad31f92838\",\n            \"email\": \"kokyjatoky@d.com\",\n            \"date\": \"2023-12-13 11:09:00\",\n            \"user_info\": {\n                \"id\": \"1\",\n                \"email\": \"kokyjatoky@d.com\",\n                \"first_name\": \"Renee\",\n                \"last_name\": \"Flowers\",\n                \"discount\": \"none\",\n                \"address\": {\n                    \"0\": \"1\",\n                    \"line1\": \"\",\n                    \"line2\": \"\",\n                    \"city\": \"\",\n                    \"state\": \"\",\n                    \"country\": \"US\",\n                    \"zip\": \"\"\n                }\n            },\n            \"fooditems\": [\n                {\n                    \"id\": 14,\n                    \"quantity\": 1,\n                    \"options\": {\n                        \"quantity\": 1,\n                        \"price_id\": 0\n                    }\n                }\n            ],\n            \"cart_details\": [\n                {\n                    \"addon_items\": \"\",\n                    \"discount\": 0,\n                    \"fees\": [],\n                    \"id\": 14,\n                    \"instruction\": \"\",\n                    \"item_number\": {\n                        \"id\": 14,\n                        \"quantity\": 1,\n                        \"options\": {\n                            \"quantity\": 1,\n                            \"price_id\": 0\n                        }\n                    },\n                    \"item_price\": \"23.00\",\n                    \"name\": \"12 wings\",\n                    \"price\": 28.3,\n                    \"quantity\": 1,\n                    \"subtotal\": 23,\n                    \"tax\": \"5.30\"\n                }\n            ],\n            \"fees\": [],\n            \"currency\": \"USD\",\n            \"tax\": \"5.30\"\n        },\n        \"_links\": {\n            \"self\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment/94\"\n                }\n            ],\n            \"collection\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/rp/v1/rpress_payment\"\n                }\n            ],\n            \"about\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/types/rpress_payment\"\n                }\n            ],\n            \"wp:attachment\": [\n                {\n                    \"href\": \"http://localhost/restropress3/wp-json/wp/v2/media?parent=94\"\n                }\n            ],\n            \"curies\": [\n                {\n                    \"name\": \"wp\",\n                    \"href\": \"https://api.w.org/{rel}\",\n                    \"templated\": true\n                }\n            ]\n        }\n    }\n]"}],"_postman_id":"0887dd05-bfe7-43cc-b659-293156a71514"},{"name":"Retrieve an order","id":"1d6e3c88-f5e5-4d44-aaa4-1591a0f0b55e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://example.com/wp-json/rp/v1/order/{{order_id}}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["{{order_id}}"],"host":["http://example.com/wp-json/rp/v1/order"],"query":[],"variable":[]}},"response":[{"id":"3d7ded19-10cc-49ea-9055-ffe621cd9f4d","name":"success","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://example.com/wp-json/rp/v1/order/246"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 03 Jan 2024 05:45:03 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) OpenSSL/1.1.1l PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0, no-store, private"},{"key":"Pragma","value":"no-cache"},{"key":"X-WP-DoingItWrong","value":"WP_REST_Posts_Controller::get_item_schema (since 5.4.0; Please use register_rest_field to add new schema properties.)"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Link","value":"<http://localhost/restropress3/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1704433503%7CYF0PkSrYxRiZKmq2TEWeLrvuRAE07J5CeTEUZDYIMgH%7Cdc9058f134207be7e443ffd9778cbf953c639f3ba97119ee72e86d7b7ff722f3; path=/restropress3/wp-content/plugins; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1704433503%7CYF0PkSrYxRiZKmq2TEWeLrvuRAE07J5CeTEUZDYIMgH%7Cdc9058f134207be7e443ffd9778cbf953c639f3ba97119ee72e86d7b7ff722f3; path=/restropress3/wp-admin; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_logged_in_dfe9815a550da31cf9383b1009b375a4=admin%7C1704433503%7CYF0PkSrYxRiZKmq2TEWeLrvuRAE07J5CeTEUZDYIMgH%7C0cd2fe390170e8c4d51e29206b81042ac6f729b4247a13eb00f13423f496edbf; path=/restropress3/; HttpOnly"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE"},{"key":"Content-Length","value":"2783"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 246,\n    \"guid\": {\n        \"rendered\": \"http://localhost/restropress3/?post_type=rpress_payment&#038;p=246\"\n    },\n    \"modified\": \"2023-12-22T17:13:55\",\n    \"modified_gmt\": \"2023-12-22T11:43:55\",\n    \"status\": \"processing\",\n    \"type\": \"rpress_payment\",\n    \"link\": \"http://localhost/restropress3/?post_type=rpress_payment&p=246\",\n    \"delivery_adrress_meta\": {\n        \"address\": \"\",\n        \"flat\": \"\",\n        \"city\": \"\",\n        \"postcode\": \"\"\n    },\n    \"order_note\": \"\",\n    \"total\": \"7.69\",\n    \"subtotal\": 0,\n    \"tax\": \"0.70\",\n    \"discounted_amount\": 6.99,\n    \"tax_rate\": \"0.1\",\n    \"fees_total\": 0,\n    \"discounts\": \"\",\n    \"date\": \"2023-12-22 17:13:55\",\n    \"completed_date\": false,\n    \"status_nicename\": \"Processing\",\n    \"post_status\": \"processing\",\n    \"user_id\": \"1\",\n    \"customer_id\": \"1\",\n    \"ip\": \"127.0.0.1\",\n    \"gateway\": \"\",\n    \"has_unlimited_fooditems\": false,\n    \"parent_payment\": 0,\n    \"service_type\": \"\",\n    \"order_status\": \"pending\",\n    \"service_date\": \"\",\n    \"service_time\": \"\",\n    \"key\": \"1be3d2afa26988294f42589ee6977e3d\",\n    \"email\": \"kokyjatoky@d.com\",\n    \"user_info\": {\n        \"id\": 1,\n        \"email\": \"kokyjatoky@d.com\",\n        \"first_name\": \"Renee\",\n        \"last_name\": \"Flowers\",\n        \"discount\": \"\",\n        \"address\": []\n    },\n    \"fooditems\": [\n        {\n            \"id\": 48,\n            \"quantity\": 1,\n            \"options\": {\n                \"0\": {\n                    \"addon_item_name\": \"Buffalo\",\n                    \"addon_id\": 49,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"1\": {\n                    \"addon_item_name\": \"Chipotle\",\n                    \"addon_id\": 51,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"2\": {\n                    \"addon_item_name\": \"Chocolate Chip\",\n                    \"addon_id\": 28,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"3\": {\n                    \"addon_item_name\": \"Choice of Bread\",\n                    \"addon_id\": 29,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"quantity\": 1,\n                \"price_id\": 0\n            }\n        }\n    ],\n    \"cart_details\": [\n        {\n            \"name\": \"Spicy Chicken Pizza Roll Up Recipe\",\n            \"id\": 48,\n            \"instruction\": \"\",\n            \"item_number\": {\n                \"id\": 48,\n                \"quantity\": 1,\n                \"options\": {\n                    \"0\": {\n                        \"addon_item_name\": \"Buffalo\",\n                        \"addon_id\": 49,\n                        \"price\": null,\n                        \"quantity\": 1\n                    },\n                    \"1\": {\n                        \"addon_item_name\": \"Chipotle\",\n                        \"addon_id\": 51,\n                        \"price\": null,\n                        \"quantity\": 1\n                    },\n                    \"2\": {\n                        \"addon_item_name\": \"Chocolate Chip\",\n                        \"addon_id\": 28,\n                        \"price\": null,\n                        \"quantity\": 1\n                    },\n                    \"3\": {\n                        \"addon_item_name\": \"Choice of Bread\",\n                        \"addon_id\": 29,\n                        \"price\": null,\n                        \"quantity\": 1\n                    },\n                    \"quantity\": 1,\n                    \"price_id\": 0\n                }\n            },\n            \"item_price\": 6.99,\n            \"quantity\": 1,\n            \"discount\": 0,\n            \"subtotal\": 6.99,\n            \"tax\": 0.7,\n            \"fees\": [],\n            \"price\": 7.69,\n            \"addon_items\": {\n                \"0\": {\n                    \"addon_item_name\": \"Buffalo\",\n                    \"addon_id\": 49,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"1\": {\n                    \"addon_item_name\": \"Chipotle\",\n                    \"addon_id\": 51,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"2\": {\n                    \"addon_item_name\": \"Chocolate Chip\",\n                    \"addon_id\": 28,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"3\": {\n                    \"addon_item_name\": \"Choice of Bread\",\n                    \"addon_id\": 29,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"quantity\": 1,\n                \"price_id\": 0\n            }\n        }\n    ],\n    \"fees\": [],\n    \"currency\": \"USD\",\n    \"_links\": {\n        \"self\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/rpress_payment/246\"\n            }\n        ],\n        \"collection\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/rpress_payment\"\n            }\n        ],\n        \"about\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/types/rpress_payment\"\n            }\n        ],\n        \"wp:attachment\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/media?parent=246\"\n            }\n        ],\n        \"curies\": [\n            {\n                \"name\": \"wp\",\n                \"href\": \"https://api.w.org/{rel}\",\n                \"templated\": true\n            }\n        ]\n    }\n}"}],"_postman_id":"1d6e3c88-f5e5-4d44-aaa4-1591a0f0b55e"},{"name":"Place an order","id":"b254e03b-6125-4d4c-853c-1541f9118191","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"customer\": {\r\n        \"id\": 2,\r\n        \"email\": \"john.doe@example.com\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\"\r\n    },\r\n    \"delivery_adrress_meta\": {\r\n        \"address\": \"123 Main Street\",\r\n        \"flat\": \"Apt 4\",\r\n        \"postcode\": \"12345\",\r\n        \"city\": \"Example City\"\r\n    },\r\n    \"cart_details\": [\r\n        {\r\n            \"price\": 6.99,\r\n            \"id\": 2250,\r\n            \"quantity\": 1,\r\n            \"instruction\": \"\",\r\n            \"addon_items\": [\r\n                {\r\n                    \"addon_item_name\": \"Buffalo\",\r\n                    \"addon_id\": 49,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                },\r\n                {\r\n                    \"addon_item_name\": \"Chipotle\",\r\n                    \"addon_id\": 51,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                },\r\n                {\r\n                    \"addon_item_name\": \"Chocolate Chip\",\r\n                    \"addon_id\": 28,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                },\r\n                {\r\n                    \"addon_item_name\": \"Choice of Bread\",\r\n                    \"addon_id\": 29,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/order","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>A named status for the post. Enum: publish, future, draft, pending, private, refunded, paid, failed, revoked, abandoned, processing, active, inactive</td>\n</tr>\n<tr>\n<td>order_status</td>\n<td>string</td>\n<td>Order status key. Enum: pending, accepted, processing, ready, transit, cancelled, completed</td>\n</tr>\n<tr>\n<td>gateway</td>\n<td>string</td>\n<td>Enter name of one gateway that is available in site.</td>\n</tr>\n<tr>\n<td>order_note</td>\n<td>string</td>\n<td>Order instruction or any note.</td>\n</tr>\n<tr>\n<td>service_time</td>\n<td>string</td>\n<td>Order service time</td>\n</tr>\n<tr>\n<td>service_date</td>\n<td>string</td>\n<td>Order service date</td>\n</tr>\n<tr>\n<td>delivery_adrress_meta</td>\n<td>object</td>\n<td>Delivery Address meta.</td>\n</tr>\n<tr>\n<td>delivery_adrress_meta.address</td>\n<td>string</td>\n<td>Address of delivery.</td>\n</tr>\n<tr>\n<td>delivery_adrress_meta.flat</td>\n<td>string</td>\n<td>Flat.</td>\n</tr>\n<tr>\n<td>delivery_adrress_meta.city</td>\n<td>string</td>\n<td>City.</td>\n</tr>\n<tr>\n<td>delivery_adrress_meta.state</td>\n<td>string</td>\n<td>State.</td>\n</tr>\n<tr>\n<td>delivery_adrress_meta.postcode</td>\n<td>string</td>\n<td>Post code.</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>object</td>\n<td>If order is placing by admin then admin can place order for customer.</td>\n</tr>\n<tr>\n<td>customer.id</td>\n<td>integer</td>\n<td>ID of Customer; this can be -1 if not a customer.</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>string</td>\n<td>Email of Customer.</td>\n</tr>\n<tr>\n<td>customer.first_name</td>\n<td>string</td>\n<td>First Name of Customer.</td>\n</tr>\n<tr>\n<td>customer.last_name</td>\n<td>string</td>\n<td>Last Name of Customer.</td>\n</tr>\n<tr>\n<td>cart_details</td>\n<td>array</td>\n<td>Cart Item. Type: object. Required: false.</td>\n</tr>\n<tr>\n<td>cart_details[].id</td>\n<td>integer</td>\n<td>ID of food. Required: true.</td>\n</tr>\n<tr>\n<td>cart_details[].price_id</td>\n<td>integer</td>\n<td>ID of Variation Item.</td>\n</tr>\n<tr>\n<td>cart_details[].price</td>\n<td>number</td>\n<td>Price of food.</td>\n</tr>\n<tr>\n<td>cart_details[].quantity</td>\n<td>integer</td>\n<td>Quantity of food.</td>\n</tr>\n<tr>\n<td>cart_details[].instruction</td>\n<td>string</td>\n<td>Instruction of food.</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items</td>\n<td>array</td>\n<td>Addon Items.</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].addon_item_name</td>\n<td>string</td>\n<td>Addon Item Name.</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].addon_id</td>\n<td>integer</td>\n<td>Addon Item ID.</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].price</td>\n<td>number</td>\n<td>Price of Addon Item</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].quantity</td>\n<td>integer</td>\n<td>Quantity of Addon Item.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"host":["http://example.com/wp-json/rp/v1/order"],"query":[],"variable":[]}},"response":[{"id":"17043c6d-49ca-40c5-9bfc-7974f288add1","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"customer\": {\r\n        \"id\": 2,\r\n        \"email\": \"john.doe@example.com\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\"\r\n    },\r\n    \"delivery_adrress_meta\": {\r\n        \"address\": \"123 Main Street\",\r\n        \"flat\": \"Apt 4\",\r\n        \"postcode\": \"12345\",\r\n        \"city\": \"Example City\",\r\n        \"state\":\"Example State\"\r\n    },\r\n    \"cart_details\": [\r\n        {\r\n            \"price\": 6.99,\r\n            \"id\": 2250,\r\n            \"quantity\": 1,\r\n            \"instruction\": \"\",\r\n            \"addon_items\": [\r\n                {\r\n                    \"addon_item_name\": \"Buffalo\",\r\n                    \"addon_id\": 49,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                },\r\n                {\r\n                    \"addon_item_name\": \"Chipotle\",\r\n                    \"addon_id\": 51,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                },\r\n                {\r\n                    \"addon_item_name\": \"Chocolate Chip\",\r\n                    \"addon_id\": 28,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                },\r\n                {\r\n                    \"addon_item_name\": \"Choice of Bread\",\r\n                    \"addon_id\": 29,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2318,\n    \"date\": \"2024-01-02 17:14:00\",\n    \"date_gmt\": \"2024-01-02T11:44:00\",\n    \"guid\": {\n        \"rendered\": \"http://localhost/restropress3/?post_type=rpress_payment&#038;p=2318\",\n        \"raw\": \"http://localhost/restropress3/?post_type=rpress_payment&#038;p=2318\"\n    },\n    \"modified\": \"2024-01-02T17:14:00\",\n    \"modified_gmt\": \"2024-01-02T11:44:00\",\n    \"password\": \"\",\n    \"slug\": \"john-doe-4\",\n    \"status\": \"processing\",\n    \"type\": \"rpress_payment\",\n    \"link\": \"http://localhost/restropress3/?post_type=rpress_payment&p=2318\",\n    \"title\": {\n        \"raw\": \"John Doe\",\n        \"rendered\": \"John Doe\"\n    },\n    \"template\": \"\",\n    \"delivery_adrress_meta\": {\n        \"address\": \"123 Main Street\",\n        \"flat\": \"Apt 4\",\n        \"postcode\": \"12345\",\n        \"city\": \"Example City\"\n    },\n    \"order_note\": \"\",\n    \"total\": \"8.40\",\n    \"subtotal\": 7.304347826086957,\n    \"tax\": \"1.10\",\n    \"discounted_amount\": 7.300000000000001,\n    \"tax_rate\": \"0.15\",\n    \"fees_total\": 0,\n    \"discounts\": \"\",\n    \"completed_date\": false,\n    \"status_nicename\": \"Processing\",\n    \"post_status\": \"processing\",\n    \"user_id\": \"-1\",\n    \"customer_id\": \"8\",\n    \"ip\": \"127.0.0.1\",\n    \"gateway\": \"\",\n    \"has_unlimited_fooditems\": false,\n    \"parent_payment\": 0,\n    \"service_type\": \"\",\n    \"order_status\": \"pending\",\n    \"service_date\": \"\",\n    \"service_time\": \"\",\n    \"key\": \"7160ea3e6aeeb1a014a6d227c9c5af84\",\n    \"email\": \"john.doe@example.com\",\n    \"user_info\": {\n        \"id\": 2,\n        \"email\": \"john.doe@example.com\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"discount\": \"\",\n        \"address\": []\n    },\n    \"fooditems\": [\n        {\n            \"id\": 2250,\n            \"quantity\": 1,\n            \"options\": {\n                \"0\": {\n                    \"addon_item_name\": \"Buffalo\",\n                    \"addon_id\": 49,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"1\": {\n                    \"addon_item_name\": \"Chipotle\",\n                    \"addon_id\": 51,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"2\": {\n                    \"addon_item_name\": \"Chocolate Chip\",\n                    \"addon_id\": 28,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"3\": {\n                    \"addon_item_name\": \"Choice of Bread\",\n                    \"addon_id\": 29,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"quantity\": 1,\n                \"price_id\": 0\n            }\n        }\n    ],\n    \"cart_details\": [\n        {\n            \"name\": \"Crab Rangoon\",\n            \"id\": 2250,\n            \"instruction\": \"\",\n            \"item_number\": {\n                \"id\": 2250,\n                \"quantity\": 1,\n                \"options\": {\n                    \"0\": {\n                        \"addon_item_name\": \"Buffalo\",\n                        \"addon_id\": 49,\n                        \"price\": null,\n                        \"quantity\": 1\n                    },\n                    \"1\": {\n                        \"addon_item_name\": \"Chipotle\",\n                        \"addon_id\": 51,\n                        \"price\": null,\n                        \"quantity\": 1\n                    },\n                    \"2\": {\n                        \"addon_item_name\": \"Chocolate Chip\",\n                        \"addon_id\": 28,\n                        \"price\": null,\n                        \"quantity\": 1\n                    },\n                    \"3\": {\n                        \"addon_item_name\": \"Choice of Bread\",\n                        \"addon_id\": 29,\n                        \"price\": null,\n                        \"quantity\": 1\n                    },\n                    \"quantity\": 1,\n                    \"price_id\": 0\n                }\n            },\n            \"item_price\": 7.3,\n            \"quantity\": 1,\n            \"discount\": 0,\n            \"subtotal\": 6.2,\n            \"tax\": 1.1,\n            \"fees\": [],\n            \"price\": 7.3,\n            \"addon_items\": {\n                \"0\": {\n                    \"addon_item_name\": \"Buffalo\",\n                    \"addon_id\": 49,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"1\": {\n                    \"addon_item_name\": \"Chipotle\",\n                    \"addon_id\": 51,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"2\": {\n                    \"addon_item_name\": \"Chocolate Chip\",\n                    \"addon_id\": 28,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"3\": {\n                    \"addon_item_name\": \"Choice of Bread\",\n                    \"addon_id\": 29,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"quantity\": 1,\n                \"price_id\": 0\n            }\n        }\n    ],\n    \"fees\": [],\n    \"currency\": \"USD\",\n    \"_links\": {\n        \"self\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/rpress_payment/2318\"\n            }\n        ],\n        \"collection\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/rpress_payment\"\n            }\n        ],\n        \"about\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/types/rpress_payment\"\n            }\n        ],\n        \"wp:attachment\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/media?parent=2318\"\n            }\n        ],\n        \"wp:action-publish\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/rpress_payment/2318\"\n            }\n        ],\n        \"wp:action-unfiltered-html\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/rpress_payment/2318\"\n            }\n        ],\n        \"curies\": [\n            {\n                \"name\": \"wp\",\n                \"href\": \"https://api.w.org/{rel}\",\n                \"templated\": true\n            }\n        ]\n    }\n}"}],"_postman_id":"b254e03b-6125-4d4c-853c-1541f9118191"},{"name":"Update an order","id":"fa410163-dcc0-460d-8ef6-3836b7bbed77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"status\":\"paid\",\r\n    \"order_status\":\"completed\",\r\n    \"customer\": {\r\n        \"id\": 3,\r\n        \"email\": \"josdfhndsfs.doe@example.com\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\"\r\n    },\r\n    \"delivery_adrress_meta\": {\r\n        \"address\": \"123 ff Main Street\",\r\n        \"flat\": \"Apt 4\",\r\n        \"postcode\": \"12345\",\r\n        \"city\": \"Example City\"\r\n    },\r\n    \"cart_details\": [\r\n        {\r\n            \"price\": 16.99,\r\n            \"id\": 2264,\r\n            \"quantity\": 1,\r\n            \"instruction\": \"\",\r\n            \"addon_items\": [\r\n                {\r\n                    \"addon_item_name\": \"Buffalo\",\r\n                    \"addon_id\": 49,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                },\r\n                {\r\n                    \"addon_item_name\": \"Chipotle\",\r\n                    \"addon_id\": 51,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                },\r\n                {\r\n                    \"addon_item_name\": \"Chocolate Chip\",\r\n                    \"addon_id\": 28,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                },\r\n                {\r\n                    \"addon_item_name\": \"Choice of Bread\",\r\n                    \"addon_id\": 29,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/order/{{order_id}}","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>A named status for the post. Enum: publish, future, draft, pending, private, refunded, paid, failed, revoked, abandoned, processing, active, inactive</td>\n</tr>\n<tr>\n<td>order_status</td>\n<td>string</td>\n<td>Order status key. Enum: pending, accepted, processing, ready, transit, cancelled, completed</td>\n</tr>\n<tr>\n<td>gateway</td>\n<td>string</td>\n<td>Enter name of one gateway that is available in site.</td>\n</tr>\n<tr>\n<td>order_note</td>\n<td>string</td>\n<td>Order instruction or any note.</td>\n</tr>\n<tr>\n<td>service_time</td>\n<td>string</td>\n<td>Order service time</td>\n</tr>\n<tr>\n<td>service_date</td>\n<td>string</td>\n<td>Order service date</td>\n</tr>\n<tr>\n<td>delivery_adrress_meta</td>\n<td>object</td>\n<td>Delivery Address meta.</td>\n</tr>\n<tr>\n<td>delivery_adrress_meta.address</td>\n<td>string</td>\n<td>Address of delivery.</td>\n</tr>\n<tr>\n<td>delivery_adrress_meta.flat</td>\n<td>string</td>\n<td>Flat.</td>\n</tr>\n<tr>\n<td>delivery_adrress_meta.city</td>\n<td>string</td>\n<td>City.</td>\n</tr>\n<tr>\n<td>delivery_adrress_meta.postcode</td>\n<td>string</td>\n<td>Post code.</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>object</td>\n<td>If order is placing by admin then admin can place order for customer.</td>\n</tr>\n<tr>\n<td>customer.id</td>\n<td>integer</td>\n<td>ID of Customer; this can be -1 if not a customer.</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>string</td>\n<td>Email of Customer.</td>\n</tr>\n<tr>\n<td>customer.first_name</td>\n<td>string</td>\n<td>First Name of Customer.</td>\n</tr>\n<tr>\n<td>customer.last_name</td>\n<td>string</td>\n<td>Last Name of Customer.</td>\n</tr>\n<tr>\n<td>cart_details</td>\n<td>array</td>\n<td>Cart Item. Type: object. Required: false.</td>\n</tr>\n<tr>\n<td>cart_details[].id</td>\n<td>integer</td>\n<td>ID of food. Required: true.</td>\n</tr>\n<tr>\n<td>cart_details[].price_id</td>\n<td>integer</td>\n<td>ID of Variation Item.</td>\n</tr>\n<tr>\n<td>cart_details[].price</td>\n<td>number</td>\n<td>Price of food.</td>\n</tr>\n<tr>\n<td>cart_details[].quantity</td>\n<td>integer</td>\n<td>Quantity of food.</td>\n</tr>\n<tr>\n<td>cart_details[].instruction</td>\n<td>string</td>\n<td>Instruction of food.</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items</td>\n<td>array</td>\n<td>Addon Items.</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].addon_item_name</td>\n<td>string</td>\n<td>Addon Item Name.</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].addon_id</td>\n<td>integer</td>\n<td>Addon Item ID.</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].price</td>\n<td>number</td>\n<td>Price of Addon Item</td>\n</tr>\n<tr>\n<td>cart_details[].addon_items[].quantity</td>\n<td>integer</td>\n<td>Quantity of Addon Item.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["{{order_id}}"],"host":["http://example.com/wp-json/rp/v1/order"],"query":[],"variable":[]}},"response":[{"id":"4ed95448-79e8-4617-b691-614cce4aed39","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"status\":\"paid\",\r\n    \"order_status\":\"completed\",\r\n    \"customer\": {\r\n        \"id\": 3,\r\n        \"email\": \"josdfhndsfs.doe@example.com\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\"\r\n    },\r\n    \"delivery_adrress_meta\": {\r\n        \"address\": \"123 ff Main Street\",\r\n        \"flat\": \"Apt 4\",\r\n        \"postcode\": \"12345\",\r\n        \"city\": \"Example City\"\r\n    },\r\n    \"cart_details\": [\r\n        {\r\n            \"price\": 16.99,\r\n            \"id\": 2264,\r\n            \"quantity\": 1,\r\n            \"instruction\": \"\",\r\n            \"addon_items\": [\r\n                {\r\n                    \"addon_item_name\": \"Buffalo\",\r\n                    \"addon_id\": 49,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                },\r\n                {\r\n                    \"addon_item_name\": \"Chipotle\",\r\n                    \"addon_id\": 51,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                },\r\n                {\r\n                    \"addon_item_name\": \"Chocolate Chip\",\r\n                    \"addon_id\": 28,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                },\r\n                {\r\n                    \"addon_item_name\": \"Choice of Bread\",\r\n                    \"addon_id\": 29,\r\n                    \"price\": null,\r\n                    \"quantity\": 1\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/order/2342"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2342,\n    \"guid\": {\n        \"rendered\": \"http://localhost/restropress3/?post_type=rpress_payment&#038;p=2342\"\n    },\n    \"modified\": \"2024-01-03T16:53:04\",\n    \"modified_gmt\": \"2024-01-03T11:23:04\",\n    \"status\": [\n        \"completed\"\n    ],\n    \"type\": \"rpress_payment\",\n    \"link\": \"http://localhost/restropress3/?post_type=rpress_payment&p=2342\",\n    \"delivery_adrress_meta\": {\n        \"address\": \"123 ff Main Street\",\n        \"flat\": \"Apt 4\",\n        \"postcode\": \"12345\",\n        \"city\": \"Example City\"\n    },\n    \"order_note\": \"\",\n    \"total\": \"16.99\",\n    \"subtotal\": 0,\n    \"tax\": \"0.00\",\n    \"discounted_amount\": 16.99,\n    \"tax_rate\": \"0.15\",\n    \"fees_total\": 0,\n    \"discounts\": \"\",\n    \"date\": \"2024-01-03 12:34:40\",\n    \"completed_date\": \"2024-01-03 12:34:40\",\n    \"status_nicename\": \"Paid\",\n    \"post_status\": \"paid\",\n    \"user_id\": \"-1\",\n    \"customer_id\": \"8\",\n    \"ip\": \"127.0.0.1\",\n    \"gateway\": \"\",\n    \"has_unlimited_fooditems\": false,\n    \"parent_payment\": 0,\n    \"service_type\": \"\",\n    \"order_status\": \"pending\",\n    \"service_date\": \"\",\n    \"service_time\": \"\",\n    \"key\": \"d19c91dc39ad4589f86d28a6ae481e7f\",\n    \"email\": \"john.doe@example.com\",\n    \"user_info\": {\n        \"id\": 3,\n        \"email\": \"josdfhndsfs.doe@example.com\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"discount\": \"\",\n        \"address\": []\n    },\n    \"fooditems\": [\n        {\n            \"id\": 2264,\n            \"quantity\": 1,\n            \"options\": {\n                \"0\": {\n                    \"addon_item_name\": \"Buffalo\",\n                    \"addon_id\": 49,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"1\": {\n                    \"addon_item_name\": \"Chipotle\",\n                    \"addon_id\": 51,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"2\": {\n                    \"addon_item_name\": \"Chocolate Chip\",\n                    \"addon_id\": 28,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"3\": {\n                    \"addon_item_name\": \"Choice of Bread\",\n                    \"addon_id\": 29,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"quantity\": 1,\n                \"price_id\": 0\n            }\n        }\n    ],\n    \"cart_details\": [\n        {\n            \"name\": \"Twisted Pretzel Bites.\",\n            \"id\": 2264,\n            \"instruction\": \"\",\n            \"item_number\": {\n                \"id\": 2264,\n                \"quantity\": 1,\n                \"options\": {\n                    \"0\": {\n                        \"addon_item_name\": \"Buffalo\",\n                        \"addon_id\": 49,\n                        \"price\": null,\n                        \"quantity\": 1\n                    },\n                    \"1\": {\n                        \"addon_item_name\": \"Chipotle\",\n                        \"addon_id\": 51,\n                        \"price\": null,\n                        \"quantity\": 1\n                    },\n                    \"2\": {\n                        \"addon_item_name\": \"Chocolate Chip\",\n                        \"addon_id\": 28,\n                        \"price\": null,\n                        \"quantity\": 1\n                    },\n                    \"3\": {\n                        \"addon_item_name\": \"Choice of Bread\",\n                        \"addon_id\": 29,\n                        \"price\": null,\n                        \"quantity\": 1\n                    },\n                    \"quantity\": 1,\n                    \"price_id\": 0\n                }\n            },\n            \"item_price\": 16.99,\n            \"quantity\": 1,\n            \"discount\": 0,\n            \"subtotal\": 16.99,\n            \"tax\": 0,\n            \"fees\": [],\n            \"price\": 16.99,\n            \"addon_items\": {\n                \"0\": {\n                    \"addon_item_name\": \"Buffalo\",\n                    \"addon_id\": 49,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"1\": {\n                    \"addon_item_name\": \"Chipotle\",\n                    \"addon_id\": 51,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"2\": {\n                    \"addon_item_name\": \"Chocolate Chip\",\n                    \"addon_id\": 28,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"3\": {\n                    \"addon_item_name\": \"Choice of Bread\",\n                    \"addon_id\": 29,\n                    \"price\": null,\n                    \"quantity\": 1\n                },\n                \"quantity\": 1,\n                \"price_id\": 0\n            }\n        }\n    ],\n    \"fees\": [],\n    \"currency\": \"USD\",\n    \"_links\": {\n        \"self\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/rpress_payment/2342\"\n            }\n        ],\n        \"collection\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/rpress_payment\"\n            }\n        ],\n        \"about\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/types/rpress_payment\"\n            }\n        ],\n        \"wp:attachment\": [\n            {\n                \"href\": \"http://localhost/restropress3/wp-json/wp/v2/media?parent=2342\"\n            }\n        ],\n        \"curies\": [\n            {\n                \"name\": \"wp\",\n                \"href\": \"https://api.w.org/{rel}\",\n                \"templated\": true\n            }\n        ]\n    }\n}"}],"_postman_id":"fa410163-dcc0-460d-8ef6-3836b7bbed77"},{"name":"Update order status","id":"1984ebec-0ac3-4e46-a4b3-83483b752ca5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://example.com/wp-json/rp/v1/order/update-status/{{order_id}}/{{status}}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["update-status","{{order_id}}","{{status}}"],"host":["http://example.com/wp-json/rp/v1/order"],"query":[],"variable":[]}},"response":[{"id":"9a807f35-af24-4263-9b21-2b395251a6f6","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://example.com/wp-json/rp/v1/order/update-status/243/completed"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Order status successfully updated.\"\n}"},{"id":"b3688c16-e7d6-4f3a-bc1b-93ac418211eb","name":"error","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://example.com/wp-json/rp/v1/order/update-status/989/completed"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"rest_post_invalid_id\",\n    \"message\": \"Invalid post ID.\",\n    \"data\": {\n        \"status\": 404\n    }\n}"}],"_postman_id":"1984ebec-0ac3-4e46-a4b3-83483b752ca5"}],"id":"eb477eb3-166d-4bdb-906e-58e1a031291f","description":"<p>All endpoints and parameters related to Orders</p>\n","_postman_id":"eb477eb3-166d-4bdb-906e-58e1a031291f","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}}},{"name":"Cutomers","item":[{"name":"Retrieve all customers","id":"dc9dde0a-245c-4ef8-b3d9-15e12add0b76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/customers","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>per_page</code></td>\n<td>integer</td>\n<td>Maximum number of items to be returned in result set. Default is 10.</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>integer</td>\n<td>Current page of the collection. Default is 1.</td>\n</tr>\n<tr>\n<td><code>order</code></td>\n<td>string</td>\n<td>Order sort attribute ascending or descending. Options: asc and desc. Default is desc.</td>\n</tr>\n<tr>\n<td><code>orderby</code></td>\n<td>string</td>\n<td>Sort collection by object attribute. Options: date, id, include, title, slug, price, popularity and rating. Default is date.</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Limit result to specific customer email</td>\n</tr>\n<tr>\n<td><code>id</code></td>\n<td>integer</td>\n<td>Limit result to specific customer id</td>\n</tr>\n<tr>\n<td><code>user_id</code></td>\n<td>integer</td>\n<td>Limit result set to specific user id</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Limit result set to specific customer name</td>\n</tr>\n<tr>\n<td><code>meta_key</code></td>\n<td>string</td>\n<td>Limit result set to specific meta_key and meta value</td>\n</tr>\n<tr>\n<td><code>meta_value</code></td>\n<td>string</td>\n<td>Limit result set to specific meta_key and meta value</td>\n</tr>\n<tr>\n<td><code>users_exclude</code></td>\n<td>array</td>\n<td>Ensure result set excludes specific user IDs.</td>\n</tr>\n<tr>\n<td><code>users_include</code></td>\n<td>array</td>\n<td>Limit result set to specific user ids.</td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>mix[sting, object]</td>\n<td><code>string</code>  <br />Limit result set to specific date with form \"Y-m-d\" or \"Y/m/d\"  <br /><code>object</code>  <br />Limit result set to specific start date using key word <code>start</code> and end date using keyword <code>end</code>f with ormat \"Y-m-d\" or \"Y/m/d\"  <br /><code>e.g. { \"date\": { \"start\" : \"Y-m-d\" , \"end\" : \"Y-m-d\" } }</code></td>\n</tr>\n<tr>\n<td><code>exclude</code></td>\n<td>array</td>\n<td>Ensure result set excludes specific cutomer IDs.</td>\n</tr>\n<tr>\n<td><code>include</code></td>\n<td>array</td>\n<td>Limit result set to specific customer ids.</td>\n</tr>\n<tr>\n<td><code>search</code></td>\n<td>string</td>\n<td>Limit results to those matching a string.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"host":["http://example.com/wp-json/rp/v1/customers"],"query":[],"variable":[]}},"response":[{"id":"302c738c-427d-4318-9c9f-3c73ef1c4df0","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/customers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"ID\": \"4\",\n        \"emails\": [\n            \"fehoddx@mailinator.com\"\n        ],\n        \"email\": \"fehoddx@mailinator.com\",\n        \"name\": \"Reneef Flowers\",\n        \"purchase_value\": 0,\n        \"purchase_count\": 0,\n        \"date_created\": \"2023-12-13 07:32:51\"\n    },\n    {\n        \"ID\": \"3\",\n        \"emails\": [\n            \"fehod@mailinator.com\"\n        ],\n        \"email\": \"fehod@mailinator.com\",\n        \"name\": \"Reneef Flowers\",\n        \"purchase_value\": 0,\n        \"purchase_count\": 0,\n        \"date_created\": \"2023-12-13 07:30:44\"\n    },\n    {\n        \"ID\": \"2\",\n        \"emails\": [\n            \"fehodx@mailinator.com\"\n        ],\n        \"email\": \"fehodx@mailinator.com\",\n        \"name\": \"Reneef Flowers\",\n        \"purchase_value\": 0,\n        \"purchase_count\": 0,\n        \"date_created\": \"2023-12-13 07:30:23\"\n    },\n    {\n        \"ID\": \"1\",\n        \"emails\": [\n            \"kokyjatoky@d.com\"\n        ],\n        \"email\": \"kokyjatoky@d.com\",\n        \"name\": \"Renee Flowers\",\n        \"purchase_value\": 58.3,\n        \"purchase_count\": 2,\n        \"date_created\": \"2023-12-13 05:39:11\"\n    }\n]"}],"_postman_id":"dc9dde0a-245c-4ef8-b3d9-15e12add0b76"},{"name":"Add a customer","id":"d48dfef0-b118-4f9f-86a1-6d54cd30eb4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/customers","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Is Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>required</td>\n<td>Add a unique email to customer</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>required</td>\n<td>Add a name to customer</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"host":["http://example.com/wp-json/rp/v1/customers"],"query":[],"variable":[]}},"response":[{"id":"b471146a-e230-4cf8-8f96-a776a49ce65c","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"fehoddx@mailinator.com\",\n    \"name\": \"Reneef Flowers\"\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/customers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"ID\": \"4\",\n    \"emails\": [\n        \"fehoddx@mailinator.com\"\n    ],\n    \"email\": \"fehoddx@mailinator.com\",\n    \"name\": \"Reneef Flowers\",\n    \"purchase_value\": 0,\n    \"purchase_count\": 0,\n    \"date_created\": \"2023-12-13 07:32:51\"\n}"},{"id":"32c623a5-20ac-4169-9b50-2e6bd53b813b","name":"error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"fehodx@mailinator.com\",\n    \"name\": \"Reneef Flowers\"\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/customers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"rest_missing_callback_param\",\n    \"message\": \"Missing parameter(s): email\",\n    \"data\": {\n        \"status\": 400,\n        \"params\": [\n            \"email\"\n        ]\n    }\n}"}],"_postman_id":"d48dfef0-b118-4f9f-86a1-6d54cd30eb4b"},{"name":"Retrieve a cutomer","id":"0c484ed1-47ee-4d5f-b75f-c41e0ce2bfe2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/customers/{{customer_id}}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["{{customer_id}}"],"host":["http://example.com/wp-json/rp/v1/customers"],"query":[],"variable":[]}},"response":[{"id":"ddda7e07-7b33-4f50-962c-bcb37d8dba51","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/customers/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"ID\": \"4\",\n    \"emails\": [\n        \"fehods@mailinator.com\"\n    ],\n    \"email\": \"fehods@mailinator.com\",\n    \"name\": \"bikram Flowers\",\n    \"purchase_value\": 0,\n    \"purchase_count\": 0,\n    \"date_created\": \"2023-12-13 07:32:51\"\n}"}],"_postman_id":"0c484ed1-47ee-4d5f-b75f-c41e0ce2bfe2"},{"name":"Edit a customer","id":"66b30e80-0535-4601-8106-4584f309ea22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/customers/{{customer_id}}","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Is Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>integer</td>\n<td>required</td>\n<td>Customer user Id.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>required</td>\n<td>Add a name to customer</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>required</td>\n<td>Add a email to customer</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["{{customer_id}}"],"host":["http://example.com/wp-json/rp/v1/customers"],"query":[],"variable":[]}},"response":[{"id":"57e98080-d351-4077-9a2b-7fab05e335cb","name":"success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"fehods@mailinator.com\",\n    \"name\":\"jone Flowers\",\n    \"id\":4\n}","options":{"raw":{"language":"json"}}},"url":"http://example.com/wp-json/rp/v1/customers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"ID\": \"4\",\n    \"emails\": [\n        \"fehods@mailinator.com\"\n    ],\n    \"email\": \"fehods@mailinator.com\",\n    \"name\": \"bikram Flowers\",\n    \"purchase_value\": 0,\n    \"purchase_count\": 0,\n    \"date_created\": \"2023-12-13 07:32:51\"\n}"}],"_postman_id":"66b30e80-0535-4601-8106-4584f309ea22"},{"name":"Delete a customer","id":"7ab9c30a-9d5d-452d-b088-ab5ffb15f7f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://example.com/wp-json/rp/v1/customers/{{customer_id}}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["{{customer_id}}"],"host":["http://example.com/wp-json/rp/v1/customers"],"query":[],"variable":[]}},"response":[{"id":"9b7e19ab-4dba-4eda-ab17-79b7190eaebc","name":"success","originalRequest":{"method":"DELETE","header":[],"url":"http://example.com/wp-json/rp/v1/customers/{{customer_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": 1,\n    \"previous\": {\n        \"ID\": \"5\",\n        \"emails\": [\n            \"fehods@mailinator.com\"\n        ],\n        \"email\": \"fehods@mailinator.com\",\n        \"name\": \"beneef Flowers\",\n        \"purchase_value\": 0,\n        \"purchase_count\": 0,\n        \"date_created\": \"2023-12-13 07:44:22\"\n    }\n}"}],"_postman_id":"7ab9c30a-9d5d-452d-b088-ab5ffb15f7f0"}],"id":"ee427893-5de2-45cc-8318-a1e623d60dea","description":"<p>All endpoints and parameters related to Customer</p>\n","_postman_id":"ee427893-5de2-45cc-8318-a1e623d60dea","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}}},{"name":"Reports","item":[{"name":"Retrieve counts","id":"3209ef76-ee0f-4e1d-90a4-1b5f18d28340","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/reports/count","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>start_date</code></td>\n<td>date</td>\n<td>Start date of the report.</td>\n</tr>\n<tr>\n<td><code>end_date</code></td>\n<td>date</td>\n<td>End date of the report.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["count"],"host":["http://example.com/wp-json/rp/v1/reports"],"query":[],"variable":[]}},"response":[{"id":"4cc0f5c6-bab2-42da-9b82-a5a8c50375ec","name":"success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://example.com/wp-json/rp/v1/reports/count?start_date=10-12-2023&end_date=20-12-2023","protocol":"http","host":["example","com"],"path":["wp-json","rp","v1","reports","count"],"query":[{"key":"start_date","value":"10-12-2023"},{"key":"end_date","value":"20-12-2023"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"payments_count\": {\n        \"publish\": \"21\",\n        \"future\": 0,\n        \"draft\": 0,\n        \"pending\": 0,\n        \"trash\": \"5\",\n        \"auto-draft\": 0,\n        \"inherit\": 0,\n        \"request-pending\": 0,\n        \"request-confirmed\": 0,\n        \"request-failed\": 0,\n        \"request-completed\": 0,\n        \"refunded\": 0,\n        \"paid\": 0,\n        \"failed\": 0,\n        \"revoked\": 0,\n        \"abandoned\": \"1\",\n        \"processing\": \"19\",\n        \"active\": 0,\n        \"inactive\": 0\n    },\n    \"orders_count\": {\n        \"publish\": 0,\n        \"future\": 0,\n        \"draft\": 0,\n        \"pending\": \"24\",\n        \"trash\": 0,\n        \"auto-draft\": 0,\n        \"inherit\": 0,\n        \"request-pending\": 0,\n        \"request-confirmed\": 0,\n        \"request-failed\": 0,\n        \"request-completed\": 0,\n        \"refunded\": 0,\n        \"paid\": 0,\n        \"failed\": 0,\n        \"revoked\": 0,\n        \"abandoned\": 0,\n        \"processing\": 0,\n        \"active\": 0,\n        \"inactive\": 0,\n        \"completed\": \"16\",\n        \"accepted\": \"1\"\n    },\n    \"customer_count\": {\n        \"total\": \"5\",\n        \"new\": \"4\"\n    },\n    \"product_count\": {\n        \"publish\": \"34\",\n        \"future\": 0,\n        \"draft\": \"2\",\n        \"pending\": 0,\n        \"private\": 0,\n        \"trash\": 0,\n        \"auto-draft\": \"1\",\n        \"inherit\": 0,\n        \"request-pending\": 0,\n        \"request-confirmed\": 0,\n        \"request-failed\": 0,\n        \"request-completed\": 0,\n        \"refunded\": 0,\n        \"paid\": 0,\n        \"failed\": 0,\n        \"revoked\": 0,\n        \"abandoned\": 0,\n        \"processing\": 0,\n        \"active\": 0,\n        \"inactive\": 0\n    }\n}"}],"_postman_id":"3209ef76-ee0f-4e1d-90a4-1b5f18d28340"},{"name":"Retrieve payment report","id":"fb514c4d-2cd6-4531-98e2-6fe4564710a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/reports/payment-methods","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>start_date</code></td>\n<td>date</td>\n<td>Start date of the report.</td>\n</tr>\n<tr>\n<td><code>end_date</code></td>\n<td>date</td>\n<td>End date of the report.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["payment-methods"],"host":["http://example.com/wp-json/rp/v1/reports"],"query":[],"variable":[]}},"response":[{"id":"805142ec-96ce-492f-9fae-3ed91ab20f40","name":"success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://example.com/wp-json/rp/v1/reports/payment-methods?start_date=01-12-2023&end_date=28-12-2023","host":["http://example.com/wp-json/rp/v1/reports"],"path":["payment-methods"],"query":[{"key":"start_date","value":"01-12-2023","type":"text"},{"key":"end_date","value":"28-12-2023","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 10 Feb 2024 12:40:22 GMT"},{"key":"Server","value":"Apache/2.4.58 (Unix) OpenSSL/1.1.1l PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0, no-store, private"},{"key":"Pragma","value":"no-cache"},{"key":"X-WP-DoingItWrong","value":"WP_REST_Posts_Controller::get_item_schema (since 5.4.0; Please use register_rest_field to add new schema properties.)"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Link","value":"<http://localhost/restropress3/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1707741622%7CxKO57ZB1tCwcUgf2NNSjoe6gygXy2sQv0OeKx55Sx1G%7C4e92c69374a8b303d1dda039f0f5b339362003aa9dd39a8299ca5408b6785c66; path=/restropress3/wp-content/plugins; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1707741622%7CxKO57ZB1tCwcUgf2NNSjoe6gygXy2sQv0OeKx55Sx1G%7C4e92c69374a8b303d1dda039f0f5b339362003aa9dd39a8299ca5408b6785c66; path=/restropress3/wp-admin; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_logged_in_dfe9815a550da31cf9383b1009b375a4=admin%7C1707741622%7CxKO57ZB1tCwcUgf2NNSjoe6gygXy2sQv0OeKx55Sx1G%7C7661fad61ffe3d1dc7ed70fa110a6e71febb5d688708e2631036b4a422e5f8df; path=/restropress3/; HttpOnly"},{"key":"Allow","value":"GET"},{"key":"Content-Length","value":"400"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"ID\": \"paypal\",\n        \"label\": \"PayPal Standard\",\n        \"complete_sales\": \"9\",\n        \"pending_sales\": \"1\",\n        \"total_sales\": \"10\"\n    },\n    {\n        \"ID\": \"manual\",\n        \"label\": \"Test Payment\",\n        \"complete_sales\": \"0\",\n        \"pending_sales\": \"1\",\n        \"total_sales\": \"1\"\n    },\n    {\n        \"ID\": \"cash_on_delivery\",\n        \"label\": \"Pay by cash\",\n        \"complete_sales\": \"0\",\n        \"pending_sales\": \"0\",\n        \"total_sales\": \"0\"\n    },\n    {\n        \"ID\": \"amazon\",\n        \"label\": \"Amazon\",\n        \"complete_sales\": \"0\",\n        \"pending_sales\": \"0\",\n        \"total_sales\": \"0\"\n    }\n]"}],"_postman_id":"fb514c4d-2cd6-4531-98e2-6fe4564710a7"},{"name":"Retrieve sales and earning report","id":"fddd330f-9ec1-4f12-95c9-f84860da11e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/reports/sales-earnings","description":"<h4 id=\"available-parameters\">Available parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>start_date</code></td>\n<td>date</td>\n<td>Start date of the report.</td>\n</tr>\n<tr>\n<td><code>end_date</code></td>\n<td>date</td>\n<td>End date of the report.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["sales-earnings"],"host":["http://example.com/wp-json/rp/v1/reports"],"query":[],"variable":[]}},"response":[{"id":"dcd47eb8-9356-4eb5-9aa6-9306488a3b35","name":"success","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://example.com/wp-json/rp/v1/reports/sales-earnings?start_date=01-12-2023&end_date=28-12-2023","host":["http://example.com/wp-json/rp/v1/reports"],"path":["sales-earnings"],"query":[{"key":"start_date","value":"01-12-2023"},{"key":"end_date","value":"28-12-2023"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 10 Feb 2024 11:29:38 GMT"},{"key":"Server","value":"Apache/2.4.58 (Unix) OpenSSL/1.1.1l PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0, no-store, private"},{"key":"Pragma","value":"no-cache"},{"key":"X-WP-DoingItWrong","value":"WP_REST_Posts_Controller::get_item_schema (since 5.4.0; Please use register_rest_field to add new schema properties.)"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Link","value":"<http://localhost/restropress3/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1707737378%7C63tQaMJU8Q2UrCHhXJIYMLZTua3eejsI2OK2GPIS2Tk%7C98138a698d08ddc5bd3f6f12f49c1cd01acf4fbf55bafe9ba87367f3ecb71a1d; path=/restropress3/wp-content/plugins; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1707737378%7C63tQaMJU8Q2UrCHhXJIYMLZTua3eejsI2OK2GPIS2Tk%7C98138a698d08ddc5bd3f6f12f49c1cd01acf4fbf55bafe9ba87367f3ecb71a1d; path=/restropress3/wp-admin; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_logged_in_dfe9815a550da31cf9383b1009b375a4=admin%7C1707737378%7C63tQaMJU8Q2UrCHhXJIYMLZTua3eejsI2OK2GPIS2Tk%7C8eaea74a185d129c6b62bf47836ba0a5fe204afbabffea2ae59fe2034229a4d9; path=/restropress3/; HttpOnly"},{"key":"Allow","value":"GET"},{"key":"Content-Length","value":"90"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"total\": \"33\",\n        \"d\": \"22\",\n        \"m\": \"12\",\n        \"y\": \"2023\"\n    },\n    {\n        \"total\": \"254\",\n        \"d\": \"28\",\n        \"m\": \"12\",\n        \"y\": \"2023\"\n    }\n]"}],"_postman_id":"fddd330f-9ec1-4f12-95c9-f84860da11e2"},{"name":"Retrieve best selling foods","id":"a3bfd207-8436-42ed-82de-29cec05f2b0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/reports/best-selling","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["best-selling"],"host":["http://example.com/wp-json/rp/v1/reports"],"query":[],"variable":[]}},"response":[{"id":"06f134f2-a47b-4269-82d1-8c59cc4e443a","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/reports/best-selling"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 12 Feb 2024 13:19:30 GMT"},{"key":"Server","value":"Apache/2.4.58 (Unix) OpenSSL/1.1.1l PHP/7.4.33"},{"key":"X-Powered-By","value":"PHP/7.4.33"},{"key":"Expires","value":"Wed, 11 Jan 1984 05:00:00 GMT"},{"key":"Cache-Control","value":"no-cache, must-revalidate, max-age=0, no-store, private"},{"key":"Pragma","value":"no-cache"},{"key":"X-WP-DoingItWrong","value":"WP_REST_Posts_Controller::get_item_schema (since 5.4.0; Please use register_rest_field to add new schema properties.)"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Link","value":"<http://localhost/restropress3/wp-json/>; rel=\"https://api.w.org/\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Access-Control-Expose-Headers","value":"X-WP-Total, X-WP-TotalPages, Link"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1707916772%7C43avY5xNnBOn8cN9c7V93i111rbuhnC3gTnruP5QNBc%7C6504d332193991f17464d4e91d4fa42b9d27c7049556fa29a061cda5cf8d7878; path=/restropress3/wp-content/plugins; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_dfe9815a550da31cf9383b1009b375a4=admin%7C1707916772%7C43avY5xNnBOn8cN9c7V93i111rbuhnC3gTnruP5QNBc%7C6504d332193991f17464d4e91d4fa42b9d27c7049556fa29a061cda5cf8d7878; path=/restropress3/wp-admin; HttpOnly"},{"key":"Set-Cookie","value":"wordpress_logged_in_dfe9815a550da31cf9383b1009b375a4=admin%7C1707916772%7C43avY5xNnBOn8cN9c7V93i111rbuhnC3gTnruP5QNBc%7C1d4ee330af4fe129d81724b61f8c3d6aaaa38249ac35d6898c26c1f3180e87af; path=/restropress3/; HttpOnly"},{"key":"Allow","value":"GET"},{"key":"Content-Length","value":"360"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"fooditem_id\": \"2226\",\n        \"sales\": \"908\"\n    },\n    {\n        \"fooditem_id\": \"2254\",\n        \"sales\": \"9\"\n    },\n    {\n        \"fooditem_id\": \"2248\",\n        \"sales\": \"43\"\n    },\n    {\n        \"fooditem_id\": \"2182\",\n        \"sales\": \"4\"\n    },\n    {\n        \"fooditem_id\": \"2250\",\n        \"sales\": \"39\"\n    },\n    {\n        \"fooditem_id\": \"2218\",\n        \"sales\": \"30\"\n    },\n    {\n        \"fooditem_id\": \"2181\",\n        \"sales\": \"3\"\n    },\n    {\n        \"fooditem_id\": \"2246\",\n        \"sales\": \"24\"\n    },\n    {\n        \"fooditem_id\": \"2216\",\n        \"sales\": \"22\"\n    },\n    {\n        \"fooditem_id\": \"2224\",\n        \"sales\": \"209\"\n    }\n]"}],"_postman_id":"a3bfd207-8436-42ed-82de-29cec05f2b0d"}],"id":"382af5ca-97ab-42f4-8048-99926a03893e","description":"<p>Get Order counts per status.</p>\n","_postman_id":"382af5ca-97ab-42f4-8048-99926a03893e","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}}},{"name":"Others","item":[{"name":"Retrieve all statuses","id":"92d65ca7-e4a7-43e2-a05b-ea367d93f790","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/others/statuses","description":"<p>Get all statuses with there color codes.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["statuses"],"host":["http://example.com/wp-json/rp/v1/others"],"query":[],"variable":[]}},"response":[{"id":"cf6619e8-2bb5-455e-96d3-67f0fc4e932d","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/order/statuses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"statuses\": {\n        \"pending\": \"Pending\",\n        \"accepted\": \"Accepted\",\n        \"processing\": \"Processing\",\n        \"ready\": \"Ready\",\n        \"transit\": \"In Transit\",\n        \"cancelled\": \"Cancelled\",\n        \"completed\": \"Completed\"\n    },\n    \"status_colors\": {\n        \"pending\": \"#fcbdbd\",\n        \"pending_text\": \"#333333\",\n        \"accepted\": \"#ffcd85\",\n        \"accepted_text\": \"#92531b\",\n        \"processing\": \"#f7ae18\",\n        \"processing_text\": \"#ffffff\",\n        \"ready\": \"#75A84C\",\n        \"ready_text\": \"#ffffff\",\n        \"transit\": \"#cac300\",\n        \"transit_text\": \"#464343\",\n        \"cancelled\": \"#eba3a3\",\n        \"cancelled_text\": \"#761919\",\n        \"completed\": \"#e0f0d7\",\n        \"completed_text\": \"#3a773a\"\n    },\n    \"payment_statuses\": {\n        \"pending\": \"Pending\",\n        \"publish\": \"Paid\",\n        \"refunded\": \"Refunded\",\n        \"failed\": \"Failed\",\n        \"processing\": \"Processing\"\n    },\n    \"payment_colors\": {\n        \"pending\": \"#fcbdbd\",\n        \"pending_text\": \"#333333\",\n        \"publish\": \"#e0f0d7\",\n        \"publish_text\": \"#3a773a\",\n        \"refunded\": \"#e5e5e5\",\n        \"refunded_text\": \"#777777\",\n        \"failed\": \"#e76450\",\n        \"failed_text\": \"#ffffff\",\n        \"processing\": \"#f7ae18\",\n        \"processing_text\": \"#ffffff\"\n    }\n}"}],"_postman_id":"92d65ca7-e4a7-43e2-a05b-ea367d93f790"},{"name":"Retrieve all services","id":"61772162-d09e-44f4-8aab-d46877f0502e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/others/services","description":"<p>Get all services</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["services"],"host":["http://example.com/wp-json/rp/v1/others"],"query":[],"variable":[]}},"response":[{"id":"c0df59c7-efc1-4899-a319-9d0db6d10ce5","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/others/services"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"services\": {\n        \"delivery\": \"Delivery\",\n        \"pickup\": \"Pickup\"\n    }\n}"}],"_postman_id":"61772162-d09e-44f4-8aab-d46877f0502e"},{"name":"Retrieve tax","id":"fe420554-e4e0-44ff-80a9-53c82257f42a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/others/services","description":"<p>Get tax details</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}},"urlObject":{"path":["services"],"host":["http://example.com/wp-json/rp/v1/others"],"query":[],"variable":[]}},"response":[{"id":"96525015-5890-4088-a632-90a6785a8b0d","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://example.com/wp-json/rp/v1/others/tax"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successful\",\n    \"data\": {\n        \"is_enable\": true,\n        \"is_prices_include\": true,\n        \"name\": \"GSTd\",\n        \"rate\": \"15%\",\n        \"currency\": \"$\"\n    }\n}"}],"_postman_id":"fe420554-e4e0-44ff-80a9-53c82257f42a"}],"id":"ecd712f8-88ef-4fea-a184-7e29b0c12043","_postman_id":"ecd712f8-88ef-4fea-a184-7e29b0c12043","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"6223fb83-4cd8-4825-998f-c18e1e596648","id":"6223fb83-4cd8-4825-998f-c18e1e596648","name":"RestrPress-3.0.0 API","type":"collection"}}}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]}},"event":[{"listen":"prerequest","script":{"id":"3a0e3519-c6ca-4da6-9c7b-f6f2eb47c6e2","type":"text/javascript","requests":{},"exec":["pm.request.headers.add({","    disabled: false,","    description:{","        content: \"Public Key Of API\",","        type: \"text/plain\"","    },","    key: 'x-api-key', ","    name: 'API Key', ","    value: pm.environment.get(\"api_key\")","})"]}},{"listen":"test","script":{"id":"2f53af73-bf82-49bb-9d73-ce937cd2f0d8","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"base_url","value":"http://example.com/wp-json/rp/v1/"}]}