{"id":1894,"date":"2020-09-22T13:42:31","date_gmt":"2020-09-22T13:42:31","guid":{"rendered":"https:\/\/support.itscope.hostpress.me\/?post_type=kb&#038;p=1894"},"modified":"2022-06-27T13:37:32","modified_gmt":"2022-06-27T11:37:32","slug":"products-producttypes-metadata-method","status":"publish","type":"kb","link":"https:\/\/guide.itscope.com\/en\/kb\/products-producttypes-metadata-method\/","title":{"rendered":"products\/producttypes metadata method"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Product types list (categories)<\/h2>\n\n\n\n<p>The API provides methods for accessing <a href=\"https:\/\/guide.itscope.com\/en\/kb\/product-categories\/\">product types (categories)<\/a> metadata. Find out more in the&nbsp;<a href=\"https:\/\/guide.itscope.com\/en\/kb\/format-description-for-metadata\/\">format description metadata<\/a>&nbsp;article.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>producttypes\/producttype.xml: list of all product types in XML format<\/li><li>producttypes\/producttype.json: list of all product types in the JSON format<\/li><\/ol>\n\n\n\n<p>for example:<br><a href=\"https:\/\/api.itscope.com\/2.1\/products\/producttypes\/producttype.xml\" target=\"_blank\" rel=\"noreferrer noopener\"><em>https:\/\/api.itscope.com\/2.1\/products\/producttypes\/producttype.xml<\/em><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Product types list (categories) The API provides methods for accessing product types (categories) metadata. Find out more in the&nbsp;format description metadata&nbsp;article. producttypes\/producttype.xml: list of all product types in XML format &#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[182],"kbtag":[],"class_list":["post-1894","kb","type-kb","status-publish","hentry","kbtopic-api-methods-products-metadata"],"_links":{"self":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/1894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/comments?post=1894"}],"version-history":[{"count":4,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/1894\/revisions"}],"predecessor-version":[{"id":7120,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/1894\/revisions\/7120"}],"wp:attachment":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/media?parent=1894"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kbtopic?post=1894"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kbtag?post=1894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}