{"id":406,"date":"2023-12-04T06:25:17","date_gmt":"2023-12-04T06:25:17","guid":{"rendered":"https:\/\/olxdoc.wpenginepowered.com\/?p=406"},"modified":"2023-12-11T14:43:06","modified_gmt":"2023-12-11T14:43:06","slug":"read-all-vehicles-brands-in-category","status":"publish","type":"post","link":"https:\/\/doc.olxgroup.com\/api\/?p=406","title":{"rendered":"Read all vehicles brands in category"},"content":{"rendered":"\n\n\t<p>Returns list of all vehicles brands in category.<\/p>\n<p><strong>GET<\/strong>: <a href=\"https:\/\/www.autovit.ro\/api\/open\/categories\/:category_id\/makes\">https:\/\/www.autovit.ro\/api\/open\/categories\/:category_id\/makes<\/a><\/p>\n<p><strong>Permission:<em> read<\/em><\/strong><\/p>\n<h2>Header<\/h2>\n<table>\n<thead>\n<tr>\n<th>Field<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>User-Agent<\/td>\n<td>string<\/td>\n<td>Account email.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Parameter<\/h2>\n<table>\n<thead>\n<tr>\n<th>Field<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>id<\/td>\n<td>Number<\/td>\n<td>Category Id. Category unique ID.<\/td>\n<\/tr>\n<tr>\n<td>category_id<\/td>\n<td>Number<\/td>\n<td>Category Id. Category unique ID.<\/td>\n<\/tr>\n<tr>\n<td>brand_code<\/td>\n<td>Number<\/td>\n<td>Brand Slug.<\/td>\n<\/tr>\n<tr>\n<td>page<\/td>\n<td>Number<\/td>\n<td>Optional parameter. Allows requesting specific page results<\/td>\n<\/tr>\n<tr>\n<td>limit<\/td>\n<td>Number<\/td>\n<td>Optional parameter. Allows limitation results for one request<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n<strong class='bg-tag-blue font-bold tag'>Example request:<\/strong><code>HTTP\/1.1 GET \/categories\/29\/makes\nUser-Agent: $USER_EMAIL\nContent-Type: application\/json\nAuthorization: Bearer $ACCESS_TOKEN<\/code><button onclick=\"copyJson('copy_28847')\">Copy<\/button>\nHTTP\/1.1 GET \/categories\/29\/makes\nUser-Agent: $USER_EMAIL\nContent-Type: application\/json\nAuthorization: Bearer $ACCESS_TOKEN\nCopied to clipboard\n <strong class='text-green font-bold'>Success response:<\/strong><code>HTTP\/1.1 200 OK\n {\n     \"options\": {\n         \"acura\": {\n             \"ro\": \"Acura\",\n             \"en\": \"Acura\"\n         },\n         \"aixam\": {\n             \"ro\": \"Aixam\",\n             \"en\": \"Aixam\"\n         },\n         \"alfa-romeo\": {\n             \"ro\": \"Alfa Romeo\",\n             \"en\": \"Alfa Romeo\"\n         },\n         \"aro\": {\n             \"ro\": \"Aro\",\n             \"en\": \"Aro\"\n         },\n         \"asia\": {\n             \"ro\": \"Asia\",\n             \"en\": \"Asia\"\n         },\n         ...\n     }\n}<\/code><button onclick=\"copyJson('copy_26575')\">Copy<\/button>\nHTTP\/1.1 200 OK\n {\n     &#8220;options&#8221;: {\n         &#8220;acura&#8221;: {\n             &#8220;ro&#8221;: &#8220;Acura&#8221;,\n             &#8220;en&#8221;: &#8220;Acura&#8221;\n         },\n         &#8220;aixam&#8221;: {\n             &#8220;ro&#8221;: &#8220;Aixam&#8221;,\n             &#8220;en&#8221;: &#8220;Aixam&#8221;\n         },\n         &#8220;alfa-romeo&#8221;: {\n             &#8220;ro&#8221;: &#8220;Alfa Romeo&#8221;,\n             &#8220;en&#8221;: &#8220;Alfa Romeo&#8221;\n         },\n         &#8220;aro&#8221;: {\n             &#8220;ro&#8221;: &#8220;Aro&#8221;,\n             &#8220;en&#8221;: &#8220;Aro&#8221;\n         },\n         &#8220;asia&#8221;: {\n             &#8220;ro&#8221;: &#8220;Asia&#8221;,\n             &#8220;en&#8221;: &#8220;Asia&#8221;\n         },\n         &#8230;\n     }\n}\nCopied to clipboard\n \n","protected":false},"excerpt":{"rendered":"<p>Returns list of all vehicles brands in category. GET: https:\/\/www.autovit.ro\/api\/open\/categories\/:category_id\/makes Permission: read Header Field Type Description User-Agent string Account email. Parameter Field Type Description id Number Category Id. Category unique ID. category_id Number Category Id. Category unique ID. brand_code Number Brand Slug. page Number Optional parameter. Allows requesting specific page results limit Number Optional parameter&#8230;.  <a href=\"https:\/\/doc.olxgroup.com\/api\/?p=406\" title=\"Read Read all vehicles brands in category\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=\/wp\/v2\/posts\/406"}],"collection":[{"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=406"}],"version-history":[{"count":0,"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=\/wp\/v2\/posts\/406\/revisions"}],"wp:attachment":[{"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}