{"id":661,"date":"2024-01-08T09:50:22","date_gmt":"2024-01-08T09:50:22","guid":{"rendered":"https:\/\/olxdoc.wpenginepowered.com\/?p=661"},"modified":"2024-01-08T09:50:22","modified_gmt":"2024-01-08T09:50:22","slug":"publishing-an-investment-and-units","status":"publish","type":"post","link":"https:\/\/doc.olxgroup.com\/api\/?p=661","title":{"rendered":"Publishing an investment and units"},"content":{"rendered":"\n\n\t<h1>Publishing an investment and units<\/h1>\n\tPublishing an Investment\n<p>To check the available attributes for the investments category (<strong>urn:concept:investments<\/strong>), you can use the\u00a0<a href=\"https:\/\/developer.olxgroup.com\/docs\/taxonomies-overview#section-get-a-single-category-on-a-website\" target=\"_self\" rel=\"noopener\">Taxonomy API<\/a>. Filter by\u00a0<a href=\"https:\/\/developer.olxgroup.com\/docs\/supported-sites\" target=\"_self\" rel=\"noopener\">site<\/a>\u00a0and category as in the example below to get only the results you need:<\/p>\n<code>HTTP\n\/taxonomy\/v1\/categories\/partner\/urn:site:storiaro\/urn:concept:investments<\/code><button onclick=\"copyJson('copy_32308')\">Copy<\/button>\nHTTP\n\/taxonomy\/v1\/categories\/partner\/urn:site:storiaro\/urn:concept:investments\nCopied to clipboard\n\t*Payload example<br \/>\nYou can use the example below to test it out (you can also find it on our\u00a0<a href=\"https:\/\/developer.olxgroup.com\/reference\/create-investment-imovirtual\" target=\"_self\" rel=\"noopener\">API Reference<\/a>\u00a0or check\u00a0<a href=\"https:\/\/developer.olxgroup.com\/docs\/advert-payload\" target=\"_self\" rel=\"noopener\">Advert payload<\/a>):\n<code>JSON\n{\n    \"title\": \"[qatest-mercury] Anun\u021b test - olx\",\n    \"description\": \"Uneori trebuie s\u0103 ad\u0103ug\u0103m o astfel de reclam\u0103 pentru a verifica func\u021bionarea unor func\u021bii ale sistemului. Cont\u0103m pe \u00een\u021belegerea dvs. :) V\u0103 sf\u0103tuim s\u0103 folosi\u021bi din nou c\u0103ut\u0103torul nostru de oferte. <br \/> <br \/> Noroc \u00een c\u0103utarea dvs. ulterioar\u0103!\",\n    \"category_urn\": \"urn:concept:investments\",\n    \"market\": \"primary\",\n    \"contact\": {\n        \"name\": \"Bartek Kowalski\",\n        \"phone\": \"663774007\",\n        \"email\": \"bartek.kowalski@testmail.com\",\n        \"photo\": \"https:\/\/i.imgur.com\/9Em2tky.png\"\n    },\n    \"price\": {\n        \"value\": 450000,\n        \"currency\": \"RON\"\n    },\n    \"location\": {\n        \"lat\": 47.22329888685773,\n        \"lon\": 24.49607849121094,\n        \"exact\": true\n    },\n    \"images\": [\n        {\n            \"url\": \"https:\/\/i.imgur.com\/WozSfdQg.jpg\"\n        },\n        {\n            \"url\": \"https:\/\/i.imgur.com\/3YNg1bI.jpg\"\n        }\n    ],\n    \"movie_url\": \"https:\/\/www.youtube.com\/watch?v=2me2WO6C1J8\",\n    \"attributes\": [\n        {\n            \"urn\": \"urn:concept:status\",\n            \"value\": \"urn:concept:in-building\"\n        },\n        {\n            \"urn\": \"urn:concept:start-date\",\n            \"value\": \"2020-06-01\"\n        },\n        {\n            \"urn\": \"urn:concept:end-date\",\n            \"value\": \"2021-06-01\"\n        },\n        {\n            \"urn\": \"urn:concept:area-from\",\n            \"value\": \"110\"\n        },\n        {\n            \"urn\": \"urn:concept:area-to\",\n            \"value\": \"510\"\n        },\n        {\n            \"urn\": \"urn:concept:price-from\",\n            \"value\": \"11000\"\n        },\n        {\n            \"urn\": \"urn:concept:price-per-sq-meter-from\",\n            \"value\": \"5\"\n        },\n        {\n            \"urn\": \"urn:concept:number-of-floors\",\n            \"value\": \"10\"\n        },\n        {\n            \"urn\": \"urn:concept:extras\",\n            \"value\": \"urn:concept:cellar\"\n        },\n        {\n            \"urn\": \"urn:concept:extras\",\n            \"value\": \"urn:concept:pool\"\n        },\n        {\n            \"urn\": \"urn:concept:extras\",\n            \"value\": \"urn:concept:terraces\"\n        },\n        {\n            \"urn\": \"urn:concept:extras\",\n            \"value\": \"urn:concept:elevator\"\n        },\n        {\n            \"urn\": \"urn:concept:extras\",\n            \"value\": \"urn:concept:closed-area\"\n        },\n        {\n            \"urn\": \"urn:concept:extras\",\n            \"value\": \"urn:concept:garage\"\n        },\n        {\n            \"urn\": \"urn:concept:extras\",\n            \"value\": \"urn:concept:security\"\n        },\n        {\n            \"urn\": \"urn:concept:extras\",\n            \"value\": \"urn:concept:garden\"\n        },\n        {\n            \"urn\": \"urn:concept:estate-types\",\n            \"value\": \"urn:concept:houses\"\n        },\n        {\n            \"urn\": \"urn:concept:gross-area-m2\",\n            \"value\": \"urn:concept:30000\"\n        },\n        {\n            \"urn\": \"urn:concept:number-of-rooms\",\n            \"value\": \"urn:concept:3\"\n        }\n    ],\n    \"site_urn\": \"urn:site:storiaro\",\n    \"custom_fields\": {\n        \"id\": \"1121\",\n        \"reference_id\": \"TEST1234\"\n    }\n}<\/code><button onclick=\"copyJson('copy_1815')\">Copy<\/button>\nJSON\n{\n    &#8220;title&#8221;: &#8220;[qatest-mercury] Anun\u021b test &#8211; olx&#8221;,\n    &#8220;description&#8221;: &#8220;Uneori trebuie s\u0103 ad\u0103ug\u0103m o astfel de reclam\u0103 pentru a verifica func\u021bionarea unor func\u021bii ale sistemului. Cont\u0103m pe \u00een\u021belegerea dvs. \ud83d\ude42 V\u0103 sf\u0103tuim s\u0103 folosi\u021bi din nou c\u0103ut\u0103torul nostru de oferte. <br \/> <br \/> Noroc \u00een c\u0103utarea dvs. ulterioar\u0103!&#8221;,\n    &#8220;category_urn&#8221;: &#8220;urn:concept:investments&#8221;,\n    &#8220;market&#8221;: &#8220;primary&#8221;,\n    &#8220;contact&#8221;: {\n        &#8220;name&#8221;: &#8220;Bartek Kowalski&#8221;,\n        &#8220;phone&#8221;: &#8220;663774007&#8221;,\n        &#8220;email&#8221;: &#8220;bartek.kowalski@testmail.com&#8221;,\n        &#8220;photo&#8221;: &#8220;https:\/\/i.imgur.com\/9Em2tky.png&#8221;\n    },\n    &#8220;price&#8221;: {\n        &#8220;value&#8221;: 450000,\n        &#8220;currency&#8221;: &#8220;RON&#8221;\n    },\n    &#8220;location&#8221;: {\n        &#8220;lat&#8221;: 47.22329888685773,\n        &#8220;lon&#8221;: 24.49607849121094,\n        &#8220;exact&#8221;: true\n    },\n    &#8220;images&#8221;: [\n        {\n            &#8220;url&#8221;: &#8220;https:\/\/i.imgur.com\/WozSfdQg.jpg&#8221;\n        },\n        {\n            &#8220;url&#8221;: &#8220;https:\/\/i.imgur.com\/3YNg1bI.jpg&#8221;\n        }\n    ],\n    &#8220;movie_url&#8221;: &#8220;https:\/\/www.youtube.com\/watch?v=2me2WO6C1J8&#8221;,\n    &#8220;attributes&#8221;: [\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:status&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:in-building&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:start-date&#8221;,\n            &#8220;value&#8221;: &#8220;2020-06-01&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:end-date&#8221;,\n            &#8220;value&#8221;: &#8220;2021-06-01&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:area-from&#8221;,\n            &#8220;value&#8221;: &#8220;110&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:area-to&#8221;,\n            &#8220;value&#8221;: &#8220;510&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:price-from&#8221;,\n            &#8220;value&#8221;: &#8220;11000&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:price-per-sq-meter-from&#8221;,\n            &#8220;value&#8221;: &#8220;5&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:number-of-floors&#8221;,\n            &#8220;value&#8221;: &#8220;10&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:extras&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:cellar&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:extras&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:pool&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:extras&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:terraces&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:extras&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:elevator&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:extras&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:closed-area&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:extras&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:garage&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:extras&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:security&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:extras&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:garden&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:estate-types&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:houses&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:gross-area-m2&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:30000&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:number-of-rooms&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:3&#8221;\n        }\n    ],\n    &#8220;site_urn&#8221;: &#8220;urn:site:storiaro&#8221;,\n    &#8220;custom_fields&#8221;: {\n        &#8220;id&#8221;: &#8220;1121&#8221;,\n        &#8220;reference_id&#8221;: &#8220;TEST1234&#8221;\n    }\n}\nCopied to clipboard\n\t<p>With the payload saved in <strong>advert.json<\/strong>,\u00a0you need to follow the same request as to publish a normal advert.<\/p>\n<code>cURL\ncurl -X POST \n-H \"Content-type: application\/json\" \n-H \"Accept: application\/json\" \n-H \"User-Agent: crm_name\"\n-H \"Authorization: Bearer <access TOKEN>\"\n-H \"X-API-KEY: <your API KEY>\" \n-d @advert.json \nhttps:\/\/api.olxgroup.com\/advert\/v1\/<\/your><\/access><\/code><button onclick=\"copyJson('copy_36678')\">Copy<\/button>\ncURL\ncurl -X POST \n-H &#8220;Content-type: application\/json&#8221; \n-H &#8220;Accept: application\/json&#8221; \n-H &#8220;User-Agent: crm_name&#8221;\n-H &#8220;Authorization: Bearer <access TOKEN>&#8221;\n-H &#8220;X-API-KEY: <your API KEY>&#8221; \n-d @advert.json \nhttps:\/\/api.olxgroup.com\/advert\/v1\/\nCopied to clipboard\n\t<p>After sending us the request, your CRM should wait for the notification of success before sending us the adverts per each unit that the client wants to publish.<\/p>\n<p>Also, you should make sure to implement the logic to save the investment <strong>UUID<\/strong>\u00a0and to associate it with the adverts of each unit.<\/p>\n<p>Great, you&#8217;re almost there!<\/p>\n\tAdding unit adverts to the investment\n<p>Now, your CRM can publish adverts that belong to investments. Those adverts are exactly the same as &#8220;normal&#8221; adverts. With a slight difference.<\/p>\n<p>In order to associate adverts to investments, there&#8217;s one extra field required in the\u00a0<a href=\"https:\/\/developer.olxgroup.com\/docs\/advert-payload\" target=\"_self\" rel=\"noopener\">advert payload<\/a> &#8211; <strong>parent_uuid<\/strong>. This field should hold the <strong>UUID<\/strong>\u00a0of the parent advert (the investment advert) which was previously posted with success.<\/p>\n<p>Your CRM should implement logic that keeps the association between investments and units.<\/p>\n<p>Follow an example of a payload of a unit advert associated with the investment previously created:<\/p>\n<code>JSON\n{\n    \"title\": \"[qatest-mercury] Anun\u021b test - olx\",\n    \"description\": \"Uneori trebuie s\u0103 ad\u0103ug\u0103m o astfel de reclam\u0103 pentru a verifica func\u021bionarea unor func\u021bii ale sistemului. Cont\u0103m pe \u00een\u021belegerea dvs. :) V\u0103 sf\u0103tuim s\u0103 folosi\u021bi din nou c\u0103ut\u0103torul nostru de oferte. <br \/> <br \/> Noroc \u00een c\u0103utarea dvs. ulterioar\u0103!\",\n    \"category_urn\": \"urn:concept:apartments-for-sale\",\n    \"parent_uuid\": \"ad1119f3-bd89-4b41-82b1-bd6f3c6883f5\",\n    \"market\": \"primary\",\n    \"contact\": {\n        \"name\": \"Bartek Kowalski\",\n        \"phone\": \"663774007\",\n        \"email\": \"bartek.kowalski@testmail.com\",\n        \"photo\": \"https:\/\/i.imgur.com\/9Em2tky.png\"\n    },\n    \"price\": {\n        \"value\": 450000,\n        \"currency\": \"RON\"\n    },\n    \"location\": {\n        \"lat\": 47.22329888685773,\n        \"lon\": 24.49607849121094,\n        \"exact\": true\n    },\n    \"images\": [\n        {\n            \"url\": \"https:\/\/i.imgur.com\/WozSfdQg.jpg\",\n            \"order\": 1\n        },\n        {\n            \"url\": \"https:\/\/i.imgur.com\/3YNg1bI.jpg\",\n            \"order\": 2\n        }\n    ],\n    \"attributes\": [\n        {\n            \"urn\": \"urn:concept:price-negotiable\",\n            \"value\": \"urn:concept:yes\"\n        },\n        {\n            \"urn\": \"urn:concept:number-of-rooms\",\n            \"value\": \"urn:concept:4\"\n        },\n        {\n            \"urn\": \"urn:concept:accepts-exchange\",\n            \"value\": \"urn:concept:yes\"\n        },\n        {\n            \"urn\": \"urn:concept:terrain-type\",\n            \"value\": \"urn:concept:industrial\"\n        },\n        {\n            \"urn\": \"urn:concept:slope\",\n            \"value\": \"urn:concept:elevated-over-30\"\n        },\n        {\n            \"urn\": \"urn:concept:price-per-sq-meter\",\n            \"value\": \"urn:concept:30\"\n        },\n        {\n            \"urn\": \"urn:concept:location\",\n            \"value\": \"urn:concept:near-transport\"\n        },\n        {\n            \"urn\": \"urn:concept:location\",\n            \"value\": \"urn:concept:near-food-leisure\"\n        },\n        {\n            \"urn\": \"urn:concept:location\",\n            \"value\": \"urn:concept:near-green-area\"\n        },\n        {\n            \"urn\": \"urn:concept:location\",\n            \"value\": \"urn:concept:near-school\"\n        },\n        {\n            \"urn\": \"urn:concept:location\",\n            \"value\": \"urn:concept:near-commerce\"\n        }\n    ],\n    \"site_urn\": \"urn:site:storiaro\",\n    \"custom_fields\": {\n        \"id\": \"in02\",\n        \"reference_id\": \"TEST123698\"\n    }\n}<\/code><button onclick=\"copyJson('copy_38969')\">Copy<\/button>\nJSON\n{\n    &#8220;title&#8221;: &#8220;[qatest-mercury] Anun\u021b test &#8211; olx&#8221;,\n    &#8220;description&#8221;: &#8220;Uneori trebuie s\u0103 ad\u0103ug\u0103m o astfel de reclam\u0103 pentru a verifica func\u021bionarea unor func\u021bii ale sistemului. Cont\u0103m pe \u00een\u021belegerea dvs. \ud83d\ude42 V\u0103 sf\u0103tuim s\u0103 folosi\u021bi din nou c\u0103ut\u0103torul nostru de oferte. <br \/> <br \/> Noroc \u00een c\u0103utarea dvs. ulterioar\u0103!&#8221;,\n    &#8220;category_urn&#8221;: &#8220;urn:concept:apartments-for-sale&#8221;,\n    &#8220;parent_uuid&#8221;: &#8220;ad1119f3-bd89-4b41-82b1-bd6f3c6883f5&#8221;,\n    &#8220;market&#8221;: &#8220;primary&#8221;,\n    &#8220;contact&#8221;: {\n        &#8220;name&#8221;: &#8220;Bartek Kowalski&#8221;,\n        &#8220;phone&#8221;: &#8220;663774007&#8221;,\n        &#8220;email&#8221;: &#8220;bartek.kowalski@testmail.com&#8221;,\n        &#8220;photo&#8221;: &#8220;https:\/\/i.imgur.com\/9Em2tky.png&#8221;\n    },\n    &#8220;price&#8221;: {\n        &#8220;value&#8221;: 450000,\n        &#8220;currency&#8221;: &#8220;RON&#8221;\n    },\n    &#8220;location&#8221;: {\n        &#8220;lat&#8221;: 47.22329888685773,\n        &#8220;lon&#8221;: 24.49607849121094,\n        &#8220;exact&#8221;: true\n    },\n    &#8220;images&#8221;: [\n        {\n            &#8220;url&#8221;: &#8220;https:\/\/i.imgur.com\/WozSfdQg.jpg&#8221;,\n            &#8220;order&#8221;: 1\n        },\n        {\n            &#8220;url&#8221;: &#8220;https:\/\/i.imgur.com\/3YNg1bI.jpg&#8221;,\n            &#8220;order&#8221;: 2\n        }\n    ],\n    &#8220;attributes&#8221;: [\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:price-negotiable&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:yes&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:number-of-rooms&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:4&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:accepts-exchange&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:yes&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:terrain-type&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:industrial&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:slope&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:elevated-over-30&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:price-per-sq-meter&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:30&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:location&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:near-transport&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:location&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:near-food-leisure&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:location&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:near-green-area&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:location&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:near-school&#8221;\n        },\n        {\n            &#8220;urn&#8221;: &#8220;urn:concept:location&#8221;,\n            &#8220;value&#8221;: &#8220;urn:concept:near-commerce&#8221;\n        }\n    ],\n    &#8220;site_urn&#8221;: &#8220;urn:site:storiaro&#8221;,\n    &#8220;custom_fields&#8221;: {\n        &#8220;id&#8221;: &#8220;in02&#8221;,\n        &#8220;reference_id&#8221;: &#8220;TEST123698&#8221;\n    }\n}\nCopied to clipboard\n\tRemoving unit adverts from the investment\n<p>There are two ways to remove (deactivate or delete) Investments Units:<\/p>\n<ul>\n<li>\n<ol>\n<li>Remove the Unit individually. This can be by\u00a0<a href=\"https:\/\/developer.olxgroup.com\/docs\/editing-and-deleting-adverts\" target=\"_self\" rel=\"noopener\">deleting<\/a>\u00a0or\u00a0<a href=\"https:\/\/developer.olxgroup.com\/docs\/activate-deactivate-adverts\" target=\"_self\" rel=\"noopener\">deactivating<\/a>\u00a0the unit advert;<\/li>\n<\/ol>\n<\/li>\n<li>\n<ol start=\"2\">\n<li>Remove the Investment advert, which will automatically remove all unit adverts, related to the &#8220;parent&#8221; advert. This automatic process will generate a lifecycle notification as explained\u00a0<a href=\"https:\/\/developer.olxgroup.com\/docs\/advert-lifecycle\" target=\"_self\" rel=\"noopener\">here<\/a>, for all affected unit adverts.<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n\t<h4>Deactivate and Activate investment adverts<\/h4>\n<p>This process is the same as described in\u00a0<a href=\"https:\/\/developer.olxgroup.com\/docs\/activate-deactivate-adverts\" target=\"_self\" rel=\"noopener\">Deactivate and Activate adverts<\/a>, with a slight difference. Once the Investment is Deactivated or Activated, all units status will be automatically updated. And, for both scenarios, you will receive a\u00a0<a href=\"https:\/\/developer.olxgroup.com\/docs\/advert-lifecycle\" target=\"_self\" rel=\"noopener\">lifecycle notification<\/a>\u00a0that the unit changed its status to &#8220;removed_by_parent_ad&#8221;.<\/p>\n<\/your><\/access>\n","protected":false},"excerpt":{"rendered":"<p>Publishing an investment and units Publishing an Investment To check the available attributes for the investments category (urn:concept:investments), you can use the\u00a0Taxonomy API. Filter by\u00a0site\u00a0and category as in the example below to get only the results you need: HTTP \/taxonomy\/v1\/categories\/partner\/urn:site:storiaro\/urn:concept:investmentsCopy HTTP \/taxonomy\/v1\/categories\/partner\/urn:site:storiaro\/urn:concept:investments Copied to clipboard *Payload example You can use the example below to test&#8230;  <a href=\"https:\/\/doc.olxgroup.com\/api\/?p=661\" title=\"Read Publishing an investment and units\">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":[21],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=\/wp\/v2\/posts\/661"}],"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=661"}],"version-history":[{"count":0,"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=\/wp\/v2\/posts\/661\/revisions"}],"wp:attachment":[{"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doc.olxgroup.com\/api\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}