{"id":22215,"date":"2018-10-27T11:46:14","date_gmt":"2018-10-27T11:46:14","guid":{"rendered":"https:\/\/www.knowband.com\/blog\/?p=22215\/"},"modified":"2024-06-04T06:00:38","modified_gmt":"2024-06-04T06:00:38","slug":"create-prestashop-module-web-service-api","status":"publish","type":"post","link":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/","title":{"rendered":"How to create Prestashop Module Web Service API?"},"content":{"rendered":"<p>This blog is all about how to create and use the Prestashop Webservices API. Prestashop has default Web Services tool available which allows accessing the store from remote applications.<\/p>\n<h2>Prerequisites<\/h2>\n<ol>\n<li>You Prestashop store should have &#8220;module rewrite&#8221; enabled for apache.<\/li>\n<li>It is preferable to use SSL (https:) for web service calls, as it avoids the &#8220;man in the middle&#8221; type security issues.<\/li>\n<li>Check that the five methods GET, POST, PUT, DELETE and HEAD are supported on the server.<\/li>\n<\/ol>\n<p>To ensure the security and efficiency of your Prestashop Web Services, it&#8217;s essential to use SSL (HTTPS) for all web service calls. This prevents &#8220;man in the middle&#8221; attacks, safeguarding your data during transmission. Additionally, verifying that your server supports the HTTP methods GET, POST, PUT, DELETE, and HEAD is crucial for seamless operation. By configuring these settings, you optimize your store&#8217;s performance and security, ensuring reliable access and management of your Prestashop resources through the API.<\/p>\n<h2>How to configure Web Services in the Prestashop?<\/h2>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/Step-by-step-guide-by-Knowband-on-How-to-configure-Web-Services-in-Prestashop.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-824503 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/Step-by-step-guide-by-Knowband-on-How-to-configure-Web-Services-in-Prestashop.png\" alt=\"Step by step guide by Knowband on How to configure Web Services in Prestashop\" width=\"760\" height=\"300\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/Step-by-step-guide-by-Knowband-on-How-to-configure-Web-Services-in-Prestashop.png 760w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/Step-by-step-guide-by-Knowband-on-How-to-configure-Web-Services-in-Prestashop-300x118.png 300w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><\/a><\/p>\n<p>1. Login into the Prestashop Back-office.<\/p>\n<p>2. Navigate to\u00a0Advance Parameters -&gt; Web Services menu options to open the Web Services page.<\/p>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-12.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-22228 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-12.png\" alt=\"Open the Web Services page Under the Advance Parameters\" width=\"411\" height=\"247\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-12.png 411w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-12-300x180.png 300w\" sizes=\"auto, (max-width: 411px) 100vw, 411px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>3. It will redirect to the Web Services page having the listing of available Web Services and the configuration form to configure the service.<\/p>\n<p>4. The Configuration form has the following fields:<\/p>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-11.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-22227 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-11.png\" alt=\"configuration setting in Prestashop back office\" width=\"1136\" height=\"322\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-11.png 1136w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-11-300x85.png 300w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-11-768x218.png 768w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-11-1024x290.png 1024w\" sizes=\"auto, (max-width: 1136px) 100vw, 1136px\" \/><\/a><\/p>\n<p><strong>a) Enable Prestashop\u2019s web service<\/strong>: Enable the setting to use web service in the Prestashop Store.<\/p>\n<p><strong>b) Enable CGI mode for PHP<\/strong>: Enable the setting to use PHP as CGI script instead of Apache module.<\/p>\n<p>5. Click on the Save button to save the configuration. Now, you can use the Web Services in your Prestashop Store.<\/p>\n<h2>How to add\/Update Web Services in the Prestashop?<\/h2>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/Knowband-How-to-add-Update-Web-Services-in-the-Prestashop.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-824504 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/Knowband-How-to-add-Update-Web-Services-in-the-Prestashop.png\" alt=\"Knowband - How to add &amp; Update Web Services in the Prestashop\" width=\"760\" height=\"300\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/Knowband-How-to-add-Update-Web-Services-in-the-Prestashop.png 760w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/Knowband-How-to-add-Update-Web-Services-in-the-Prestashop-300x118.png 300w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><\/a><\/p>\n<p>1. Login into the Prestashop Back-office<\/p>\n<p>2. Navigate to Advance Parameters -&gt; Web Services menu options to open the Web Services page.<\/p>\n<p>3. It will redirect to the Web Services page having a listing of available Web Services.<\/p>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-10.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-22226 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-10.png\" alt=\"Web Services page in Prestashop back office\" width=\"1135\" height=\"277\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-10.png 1135w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-10-300x73.png 300w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-10-768x187.png 768w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-10-1024x250.png 1024w\" sizes=\"auto, (max-width: 1135px) 100vw, 1135px\" \/><\/a><\/p>\n<p>4.\u00a0Click on the \u201cAdd new web service key\u201d button to add new web service key to access only to the certain resources of the Prestashop store.<\/p>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-4.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-22220 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-4.png\" alt=\"Add webservice key in webservice accounts\" width=\"1136\" height=\"647\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-4.png 1136w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-4-300x171.png 300w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-4-768x437.png 768w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-4-1024x583.png 1024w\" sizes=\"auto, (max-width: 1136px) 100vw, 1136px\" \/><\/a><\/p>\n<p><strong>a) Key<\/strong>: This is a unique key. You can enter it manually or click on the Generate button to generate a random key for the Prestashop web service.<\/p>\n<p><strong>b) Key Description<\/strong>: You can provide the description regarding the key for better understanding.<\/p>\n<p><strong>c) Status<\/strong>: Enable the key to provide a grant to access the data using the key.<\/p>\n<p><strong>d) Permission<\/strong>: Provide the permission to access the data using the certain key. You can check the specific permission to grant access of the data like Add, Edit, delete or view. Here, we have checked the permission to Countries and Currency.<\/p>\n<p>5. Click on the Save button to add the key to the web services.<\/p>\n<h2>How to the access the Web Service?<\/h2>\n<p>Once you have created the key for the web service and properly configured, you need to hit the following URL in your browser:<\/p>\n<p>https:\/\/{store root path}\/api\/<\/p>\n<p>It will prompt you for username and password to access the resource.<\/p>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-5.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-22221 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-5.png\" alt=\"sign-in to access the resource\" width=\"449\" height=\"225\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-5.png 449w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-5-300x150.png 300w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/a><\/p>\n<p><strong>a) Username:<\/strong> Enter the key of the web service which is generated in the above step. For Example MWMHJVB9PBYBNYBSFTQ8ZXRCM43FQ2MW<\/p>\n<p><strong>b) Password:<\/strong> It should be blank as no password required.<\/p>\n<p>After sign in, you will access the list of the resources and all permitted CRUD options that you have configured in your Prestashop Store.<\/p>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-9.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-22225 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-9.png\" alt=\"xml-file\" width=\"1367\" height=\"299\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-9.png 1367w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-9-300x66.png 300w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-9-768x168.png 768w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-9-1024x224.png 1024w\" sizes=\"auto, (max-width: 1367px) 100vw, 1367px\" \/><\/a><\/p>\n<p>You are now successfully connected to the Prestashop web service.<\/p>\n<p><strong>a) To GET the list of entities for a particular resource:<\/strong><\/p>\n<p><a href=\"https:\/\/shop_root_url\/api\/resouce\" target=\"_blank\">https:\/\/shop_root_url\/api\/resouce<\/a><\/p>\n<p>Example: https:\/\/www.knowband.com\/api\/customers to get a list of all customers.<\/p>\n<p><strong>b) To GET a specific customer by ID:<\/strong><\/p>\n<p><a href=\"https:\/\/shop_root_url\/api\/customers\/1\" target=\"_blank\">https:\/\/shop_root_url\/api\/customers\/1<\/a><\/p>\n<p>For Example: To get the detail of customer having ID 10<\/p>\n<p>https:\/\/www.knowband.com\/api\/customers\/10<\/p>\n<p><strong>Recommend Watch:\u00a0<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/B4fAqZUh1Fw?si=4UnRpBODsivb78A2\" width=\"660\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>How to create Prestashop Module Webservice API for Prestashop 1.7?<\/h2>\n<p>We will show you how to create a module to fetch customers. For this, we will register a hook addWebserviceResources of ServiceRequest for the resources instead of overriding getResources() function of ServiceRequest Class in Prestashop 1.7.<\/p>\n<p>Creating custom web service APIs in Prestashop 1.7 involves using the WebserviceSpecificManagement class. This allows you to define specific functionalities and manage data processing. For instance, implementing the WebserviceSpecificManagementKbCustomer class lets you handle customer data efficiently. Therefore, this approach provides a flexible and robust solution for extending Prestashop\u2019s capabilities, enabling tailored interactions with your store\u2019s data. By leveraging these advanced customization options, you can create more dynamic and responsive eCommerce solutions that meet unique business needs.<\/p>\n<p>1. Register addWebserviceResources hook in the module.<\/p>\n<pre class=\"brush: actionscript3; gutter: true\">public function install() {\r\n\r\nparent::install();\r\n\r\n$this-&gt;registerHook(&#039;addWebserviceResources&#039;);\r\n\r\nreturn true;\r\n\r\n}<\/pre>\n<p>2. Add a hook listener to define the class and description. Set specific_management to true if you want to use WebserviceSpecificManagement instead of ObjectModel file.<\/p>\n<pre class=\"brush: actionscript3; gutter: true\">public function hookAddWebserviceResources()\r\n\r\n{\r\n\r\nreturn array(\r\n\r\n&#039;kbcustomer&#039; =&gt; array(\r\n\r\n&#039;description&#039; =&gt; &#039;Knowband Custom Customer&#039;,\r\n\r\n&#039;specific_management&#039; =&gt; true,\r\n\r\n),\r\n\r\n&#039;kbaddress&#039; =&gt; array(\r\n\r\n&#039;description&#039; =&gt; &#039;Knowband Custom Address&#039;,\r\n\r\n&#039;class&#039; =&gt; &#039;kbaddress&#039;\r\n\r\n)\r\n\r\n);\r\n\r\n}<\/pre>\n<p>3. Create WebserviceSpecificManagement class file as WebserviceSpecificManagementCLASSNAME which implements WebserviceSpecificManagementInterface<\/p>\n<p>For Example &#8211; WebserviceSpecificManagementKbCustomer which is similar to \/classes\/webservice\/WebserviceSpecificManagementImages.php.<\/p>\n<p>You must have to include the functions which are defined in WebserviceSpecificManagementImages.php class. These are:<\/p>\n<ul>\n<li>setObjectOutput<\/li>\n<li>setWsObject<\/li>\n<li>getWsObject<\/li>\n<li>getObjectOutput<\/li>\n<li>setUrlSegment<\/li>\n<li>getUrlSegment<\/li>\n<li>getContent<\/li>\n<li>manage (where data is processed)<\/li>\n<\/ul>\n<p>1. Now add the key having resource kbcustomer in the web service in the back-office.<\/p>\n<p>2. Now, visit the <a href=\"https:\/\/%7byoustore%7d\/api\/kbcustomer\" target=\"_blank\">https:\/\/{youstore.com}\/api\/kbcustomer<\/a> to see the response in XML. In the below example, we display the listing of all customer available in the store.<\/p>\n<p>Add include_once(_PS_MODULE_DIR_.&#8217;YOURMODULENAME\/classes\/WebserviceSpecificManagementKbCustomer.php&#8217;);<\/p>\n<p>in your module file.<\/p>\n<pre class=\"brush: actionscript3; gutter: true\">class WebserviceSpecificManagementKbcustomer implements WebserviceSpecificManagementInterface\r\n\r\n{\r\n\r\n\/** @var WebserviceOutputBuilder *\/\r\n\r\nprotected $objOutput;\r\n\r\nprotected $output;\r\n\r\n\r\n\r\n\/** @var WebserviceRequest *\/\r\n\r\nprotected $wsObject;\r\n\r\n\r\n\r\npublic function setUrlSegment($segments)\r\n\r\n{\r\n\r\n$this-&gt;urlSegment = $segments;\r\n\r\nreturn $this;\r\n\r\n}\r\n\r\n\r\n\r\npublic function getUrlSegment()\r\n\r\n{\r\n\r\nreturn $this-&gt;urlSegment;\r\n\r\n}\r\n\r\npublic function getWsObject()\r\n\r\n{\r\n\r\nreturn $this-&gt;wsObject;\r\n\r\n}\r\n\r\n\r\n\r\npublic function getObjectOutput()\r\n\r\n{\r\n\r\nreturn $this-&gt;objOutput;\r\n\r\n}\r\n\r\n\r\n\r\n\/**\r\n\r\n* This must be return a string with specific values as WebserviceRequest expects.\r\n\r\n*\r\n\r\n* @return string\r\n\r\n*\/\r\n\r\npublic function getContent()\r\n\r\n{\r\n\r\nreturn $this-&gt;objOutput-&gt;getObjectRender()-&gt;overrideContent($this-&gt;output);\r\n\r\n}\r\n\r\n\r\n\r\npublic function setWsObject(WebserviceRequestCore $obj)\r\n\r\n{\r\n\r\n$this-&gt;wsObject = $obj;\r\n\r\nreturn $this;\r\n\r\n}\r\n\r\n\r\n\r\n\/**\r\n\r\n* @param WebserviceOutputBuilderCore $obj\r\n\r\n* @return WebserviceSpecificManagementInterface\r\n\r\n*\/\r\n\r\npublic function setObjectOutput(WebserviceOutputBuilderCore $obj)\r\n\r\n{\r\n\r\n$this-&gt;objOutput = $obj;\r\n\r\nreturn $this;\r\n\r\n}\r\n\r\n\r\n\r\npublic function manage()\r\n\r\n{\r\n\r\n$objects_products = array();\r\n\r\n$objects_products[&#039;empty&#039;] = new Customer();\r\n\r\n$customer_list = Customer::getCustomers();\r\n\r\nforeach ($customer_list as $list) {\r\n\r\n$objects_products[] = new Customer($list[&#039;id_customer&#039;]);\r\n\r\n}\r\n\r\n$this-&gt;_resourceConfiguration = $objects_products[&#039;empty&#039;]-&gt;getWebserviceParameters();\r\n\r\n$this-&gt;output .= $this-&gt;objOutput-&gt;getContent($objects_products, null, $this-&gt;wsObject-&gt;fieldsToDisplay, $this-&gt;wsObject-&gt;depth, WebserviceOutputBuilder::VIEW_LIST, false);\r\n\r\n}\r\n\r\n}<\/pre>\n<p>The below screenshot provide you the visual of the output:<\/p>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-8.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-22224 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-8.png\" alt=\"output of XML file\" width=\"909\" height=\"549\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-8.png 909w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-8-300x181.png 300w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/untitled-8-768x464.png 768w\" sizes=\"auto, (max-width: 909px) 100vw, 909px\" \/><\/a><\/p>\n<p>If you want the output in JSON format then append &amp;output_format=JSON at the end of the URL. For example: <a href=\"https:\/\/%7byourstore.com%7d\/api\/kbcustomer&amp;output_format=JSON\" target=\"_blank\">https:\/\/{yourstore.com}\/api\/kbcustomer&amp;output_format=JSON<\/a><\/p>\n<p><strong>Output:<\/strong> {&#8220;customers&#8221;:[{&#8220;id&#8221;:1},{&#8220;id&#8221;:2},{&#8220;id&#8221;:3},{&#8220;id&#8221;:4},{&#8220;id&#8221;:5},{&#8220;id&#8221;:6},{&#8220;id&#8221;:7},{&#8220;id&#8221;:8},{&#8220;id&#8221;:9},{&#8220;id&#8221;:10},{&#8220;id&#8221;:11},{&#8220;id&#8221;:12},{&#8220;id&#8221;:13},{&#8220;id&#8221;:14},{&#8220;id&#8221;:15},{&#8220;id&#8221;:16},{&#8220;id&#8221;:17},{&#8220;id&#8221;:18},{&#8220;id&#8221;:19},{&#8220;id&#8221;:20},{&#8220;id&#8221;:21}]}<\/p>\n<h2>In the END!<\/h2>\n<p>With over 13 years of technical expertise, Knowband offers comprehensive app and web development services using the latest technologies, including various PHP frameworks and React. We provide more than 100 ready-to-use extensions for popular eCommerce platforms like Prestashop, Opencart, WooCommerce, and Magento 2.<\/p>\n<p>For any queries, please feel free to reach us at support@knowband.com. Knowband is also\u00a0a Premium Prestashop Partner and a Superher Seller providing more than 100 Prestashop modules to suit all your eCommerce needs.<\/p>\n<p>Check our most popular <a href=\"https:\/\/www.knowband.com\/prestashop-one-page-supercheckout\">One page Supercheckout module for Prestashop<\/a> here.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"module_in_content_container\">\n<div class=\"module_content\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"module_image\" src=\"https:\/\/www.knowband.com\/image\/cache\/data\/Plugin%20Logo\/one-page-checkout-300x300.png\" alt=\"Knowband - Prestashop One Page Supercheckout Addon\" width=\"100\" height=\"100\" \/><\/p>\n<div class=\"module_content_part\">\n<h3 class=\"title\">Prestashop One Page Supercheckout Addon<\/h3>\n<p class=\"module_content_text\">The Prestashop One Page Supercheckout addon by Knowband makes checkout faster and easier by putting everything on one page, helping to reduce cart abandonment.<\/p>\n<p><a class=\"link_2_to_module\" style=\"display: inline-block; color: #f36!important;\" href=\"https:\/\/www.knowband.com\/prestashop-one-page-supercheckout\" target=\"_blank\" rel=\"noopener\"><span class=\"read-more\">SHOP NOW<\/span><\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<style>\n.module_in_content_container { display: flex; flex-direction: column; padding: 20px; border: 1px solid #ccc; font-size: 16px; line-height: 26px; box-shadow: 0 3px 0 #ebebeb; -webkit-box-shadow: 0 3px 0 #ebebeb; position: relative; margin-bottom: 1.5em; } .module_in_content_container>a { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .module_content { display: flex; align-items: flex-start; } .module_content img { max-width: 100px; margin-right: 20px; } .module_content_part p.module_content_text { margin-bottom: 10px; margin-top: 0; font-size: 18px; color: #000; } .module_content h3 { font-size: 24px; font-weight: 700; line-height: 1.5em; padding-left: 0; padding-top: 0; margin: 0; } .read-more { font-size: 18px; font-weight: 700; line-height: 1.5em; position: relative; display: inline-block; text-transform: uppercase; color: #f36; } .read-more:after { position: absolute; content: ''; width: 1.5em; height: 1.5em; top: -1px; right: -1.5em; background: url(https:\/\/knowband.com\/mobile-app\/wp-content\/uploads\/images\/readmore-arrow.svg) no-repeat center \/ .75em; transition: all .2s; } .read-more:focus, .read-more:hover { text-decoration: none; cursor: pointer; } .read-more:hover:after { right: -2em; transition: all .2s; } @media (max-width: 600px) { .module_content { flex-direction: column; align-items: center; text-align: center; } .module_content img { margin: 0 auto 20px auto; max-width: 100%; } .module_content .title { flex-basis: auto; margin-top: 20px; } .module_content_part p.module_content_text { font-size: 16px; line-height: 24px; } .read-more { font-size: 16px;}}<\/style>\n","protected":false},"excerpt":{"rendered":"<p>This blog is all about how to create and use the Prestashop Webservices API. Prestashop has default Web Services tool available which allows accessing the store from remote applications. Prerequisites You Prestashop store should have &#8220;module rewrite&#8221; enabled for apache. It is preferable to use SSL (https:) for web service calls, as it avoids the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":824501,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kbui_enabled":"","footnotes":""},"categories":[5],"tags":[7463,7465,1237,1391,7464,7466],"class_list":["post-22215","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-prestashop-tutorials","tag-create-webservice-api-for-prestashop","tag-prestashop-1-7-ecommerce-store-installation","tag-prestashop-addon","tag-prestashop-extension","tag-prestashop-webservice-api","tag-webservice-api-for-prestashop"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to create Prestashop Web Service API? - Knowband Blog<\/title>\n<meta name=\"description\" content=\"If you are looking for the way to create Prestashop Webservice API, the search ends here. Find out the detailed process in the following article.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create Prestashop Web Service API? - Knowband Blog\" \/>\n<meta property=\"og:description\" content=\"If you are looking for the way to create Prestashop Webservice API, the search ends here. Find out the detailed process in the following article.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowband Blog | Ecommerce Modules\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Knowband\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-27T11:46:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-04T06:00:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-create-Prestashop-Module-Web-Service-API-with-Knowband.png\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Joe Parker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@KnowbandPlugin\" \/>\n<meta name=\"twitter:site\" content=\"@KnowbandPlugin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Joe Parker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/create-prestashop-module-web-service-api\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/create-prestashop-module-web-service-api\\\/\"},\"author\":{\"name\":\"Joe Parker\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/person\\\/3d766b60ef5a1c9338ff341a544f27a8\"},\"headline\":\"How to create Prestashop Module Web Service API?\",\"datePublished\":\"2018-10-27T11:46:14+00:00\",\"dateModified\":\"2024-06-04T06:00:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/create-prestashop-module-web-service-api\\\/\"},\"wordCount\":1084,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/create-prestashop-module-web-service-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-create-Prestashop-Module-Web-Service-API-with-Knowband.png\",\"keywords\":[\"create webservice API for Prestashop\",\"Prestashop 1.7 ecommerce store installation\",\"Prestashop Addon\",\"Prestashop Extension\",\"Prestashop webservice API\",\"webservice API for Prestashop\"],\"articleSection\":[\"Prestashop Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/create-prestashop-module-web-service-api\\\/\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/create-prestashop-module-web-service-api\\\/\",\"name\":\"How to create Prestashop Web Service API? - Knowband Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/create-prestashop-module-web-service-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/create-prestashop-module-web-service-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-create-Prestashop-Module-Web-Service-API-with-Knowband.png\",\"datePublished\":\"2018-10-27T11:46:14+00:00\",\"dateModified\":\"2024-06-04T06:00:38+00:00\",\"description\":\"If you are looking for the way to create Prestashop Webservice API, the search ends here. Find out the detailed process in the following article.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/create-prestashop-module-web-service-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/create-prestashop-module-web-service-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/create-prestashop-module-web-service-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-create-Prestashop-Module-Web-Service-API-with-Knowband.png\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-create-Prestashop-Module-Web-Service-API-with-Knowband.png\",\"width\":750,\"height\":300,\"caption\":\"How to create Prestashop Module Web Service API with Knowband\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/prestashop-tutorials\\\/create-prestashop-module-web-service-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A cobran\u00e7a de fabricantes de smartphones na Europa levar\u00e1 o Google a quest\u00f5es antimonop\u00f3lio?\",\"item\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/pt-br\\\/noticia\\\/a-cobran%c3%a7a-de-fabricantes-de-smartphones-na-europa-levar%c3%a1-o-google-a-quest%c3%b5es-antimonop%c3%b3lio\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to create Prestashop Module Web Service API?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\",\"name\":\"Knowband Blog | Ecommerce Modules\",\"description\":\"Magento, Prestashop, Opencart, Shopify\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\",\"name\":\"Knowband Blog | Ecommerce Modules\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/cropped-knowband_logo-v2.png\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/cropped-knowband_logo-v2.png\",\"width\":153,\"height\":61,\"caption\":\"Knowband Blog | Ecommerce Modules\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Knowband\",\"https:\\\/\\\/x.com\\\/KnowbandPlugin\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/person\\\/3d766b60ef5a1c9338ff341a544f27a8\",\"name\":\"Joe Parker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/plugins\\\/wp-user-avatar\\\/deprecated\\\/wp-user-avatar\\\/images\\\/wpua-96x96.png\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/plugins\\\/wp-user-avatar\\\/deprecated\\\/wp-user-avatar\\\/images\\\/wpua-96x96.png\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/plugins\\\/wp-user-avatar\\\/deprecated\\\/wp-user-avatar\\\/images\\\/wpua-96x96.png\",\"caption\":\"Joe Parker\"},\"description\":\"We boast of the best in the industry plugins for eCommerce systems and has years of experience working with eCommerce websites. We provide best plugins for platforms like - Magento, Prestashop, OpenCart and Shopify . We also provide custom module development and customization services for the website and modules..\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/author\\\/joe\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create Prestashop Web Service API? - Knowband Blog","description":"If you are looking for the way to create Prestashop Webservice API, the search ends here. Find out the detailed process in the following article.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/","og_locale":"en_US","og_type":"article","og_title":"How to create Prestashop Web Service API? - Knowband Blog","og_description":"If you are looking for the way to create Prestashop Webservice API, the search ends here. Find out the detailed process in the following article.","og_url":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/","og_site_name":"Knowband Blog | Ecommerce Modules","article_publisher":"https:\/\/www.facebook.com\/Knowband","article_published_time":"2018-10-27T11:46:14+00:00","article_modified_time":"2024-06-04T06:00:38+00:00","og_image":[{"width":750,"height":300,"url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-create-Prestashop-Module-Web-Service-API-with-Knowband.png","type":"image\/png"}],"author":"Joe Parker","twitter_card":"summary_large_image","twitter_creator":"@KnowbandPlugin","twitter_site":"@KnowbandPlugin","twitter_misc":{"Written by":"Joe Parker","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/#article","isPartOf":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/"},"author":{"name":"Joe Parker","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/person\/3d766b60ef5a1c9338ff341a544f27a8"},"headline":"How to create Prestashop Module Web Service API?","datePublished":"2018-10-27T11:46:14+00:00","dateModified":"2024-06-04T06:00:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/"},"wordCount":1084,"commentCount":0,"publisher":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-create-Prestashop-Module-Web-Service-API-with-Knowband.png","keywords":["create webservice API for Prestashop","Prestashop 1.7 ecommerce store installation","Prestashop Addon","Prestashop Extension","Prestashop webservice API","webservice API for Prestashop"],"articleSection":["Prestashop Tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/","url":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/","name":"How to create Prestashop Web Service API? - Knowband Blog","isPartOf":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/#primaryimage"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-create-Prestashop-Module-Web-Service-API-with-Knowband.png","datePublished":"2018-10-27T11:46:14+00:00","dateModified":"2024-06-04T06:00:38+00:00","description":"If you are looking for the way to create Prestashop Webservice API, the search ends here. Find out the detailed process in the following article.","breadcrumb":{"@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/#primaryimage","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-create-Prestashop-Module-Web-Service-API-with-Knowband.png","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-create-Prestashop-Module-Web-Service-API-with-Knowband.png","width":750,"height":300,"caption":"How to create Prestashop Module Web Service API with Knowband"},{"@type":"BreadcrumbList","@id":"https:\/\/www.knowband.com\/blog\/prestashop-tutorials\/create-prestashop-module-web-service-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knowband.com\/blog\/fr\/"},{"@type":"ListItem","position":2,"name":"A cobran\u00e7a de fabricantes de smartphones na Europa levar\u00e1 o Google a quest\u00f5es antimonop\u00f3lio?","item":"https:\/\/www.knowband.com\/blog\/pt-br\/noticia\/a-cobran%c3%a7a-de-fabricantes-de-smartphones-na-europa-levar%c3%a1-o-google-a-quest%c3%b5es-antimonop%c3%b3lio\/"},{"@type":"ListItem","position":3,"name":"How to create Prestashop Module Web Service API?"}]},{"@type":"WebSite","@id":"https:\/\/www.knowband.com\/blog\/fr\/#website","url":"https:\/\/www.knowband.com\/blog\/fr\/","name":"Knowband Blog | Ecommerce Modules","description":"Magento, Prestashop, Opencart, Shopify","publisher":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knowband.com\/blog\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization","name":"Knowband Blog | Ecommerce Modules","url":"https:\/\/www.knowband.com\/blog\/fr\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2016\/09\/cropped-knowband_logo-v2.png","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2016\/09\/cropped-knowband_logo-v2.png","width":153,"height":61,"caption":"Knowband Blog | Ecommerce Modules"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Knowband","https:\/\/x.com\/KnowbandPlugin"]},{"@type":"Person","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/person\/3d766b60ef5a1c9338ff341a544f27a8","name":"Joe Parker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knowband.com\/blog\/wp-content\/plugins\/wp-user-avatar\/deprecated\/wp-user-avatar\/images\/wpua-96x96.png","url":"https:\/\/www.knowband.com\/blog\/wp-content\/plugins\/wp-user-avatar\/deprecated\/wp-user-avatar\/images\/wpua-96x96.png","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/plugins\/wp-user-avatar\/deprecated\/wp-user-avatar\/images\/wpua-96x96.png","caption":"Joe Parker"},"description":"We boast of the best in the industry plugins for eCommerce systems and has years of experience working with eCommerce websites. We provide best plugins for platforms like - Magento, Prestashop, OpenCart and Shopify . We also provide custom module development and customization services for the website and modules..","url":"https:\/\/www.knowband.com\/blog\/author\/joe\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts\/22215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/comments?post=22215"}],"version-history":[{"count":13,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts\/22215\/revisions"}],"predecessor-version":[{"id":824861,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts\/22215\/revisions\/824861"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/media\/824501"}],"wp:attachment":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/media?parent=22215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/categories?post=22215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/tags?post=22215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}