{"id":2400,"date":"2023-05-12T11:32:10","date_gmt":"2023-05-12T08:32:10","guid":{"rendered":"https:\/\/smartanalytics.io\/ru\/blog\/?post_type=documentation&#038;p=2400"},"modified":"2023-05-24T10:56:22","modified_gmt":"2023-05-24T07:56:22","slug":"5-sozdaem-kastomnye-polja","status":"publish","type":"documentation","link":"https:\/\/smartanalytics.io\/ru\/blog\/documentation\/5-sozdaem-kastomnye-polja\/","title":{"rendered":"\u274e 5. \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f"},"content":{"rendered":"\n<p><strong>\u2757 <\/strong><strong><em>\u201c\u041a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0435 \u043f\u043e\u043b\u0435\u201d<\/em><\/strong><em>&nbsp;&#8212; \u044d\u0442\u043e \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c, \u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c<\/em><\/p>\n\n\n\n<p>\ud83d\udcc2 <strong>\u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f<\/strong> \u043d\u0443\u0436\u043d\u044b, \u0435\u0441\u043b\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435\/\u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438. \u0422\u0430\u043a \u043a\u0430\u043a \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0430 \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u0447\u0430\u0441\u0442\u043d\u044b\u0435 \u0431\u0438\u0437\u043d\u0435\u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b, \u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0444\u0430\u043a\u0442\u043e\u0440\u044b \u0441\u0438\u043b\u044c\u043d\u043e \u0437\u0430\u0432\u0438\u0441\u044f\u0442 \u043e\u0442 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f.<\/p>\n\n\n\n<p><br>*\ufe0f\u20e3  <em>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u043f\u0440\u0438 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0435 \u043f\u0440\u043e\u0434\u0430\u0436 \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438 \u043d\u0430\u0434\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0443 \u0441\u0434\u0435\u043b\u043a\u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0432\u0430\u0440\u0442\u0438\u0440, \u043f\u0440\u0438 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u0432\u0430\u0436\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0439 \u0431\u0440\u0435\u043d\u0434 \u0431\u044b\u043b \u0443 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430, \u043a\u0430\u043a\u0438\u0435 \u043a\u0443\u043f\u043e\u043d\u044b \u043b\u044e\u0434\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0432 \u0437\u0430\u043a\u0430\u0437\u0430\u0445 \u0438 \u0442.\u0434.<\/em><\/p>\n\n\n\n<p>\u0422.\u0435. <strong>custom_fields<\/strong> &#8212; \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0442\u044c \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044f\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b\/\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b &#8212; \u0412\u0430\u0436\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438.<\/p>\n\n\n\n<p><strong>\u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435\u00a0(\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435)\u00a0\u043f\u043e\u043b\u044f<\/strong> \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430\u00a0<a href=\"https:\/\/apps.smartanalytics.io\/crm\/v1\/redoc\/#operation\/create_custom_field_crm_v1_api_custom_fields__post\" target=\"_blank\" rel=\"noreferrer noopener\">Create Custom Field<\/a><\/p>\n\n\n\n<p class=\"documentation-link\"><strong>\u2757<\/strong><em> \u041d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u00a0<\/em><strong><em>header<\/em><\/strong><em>\u00a0<\/em><strong><em>Authorization: Token &lt;\u0442\u043e\u043a\u0435\u043d_\u0434\u043e\u0441\u0442\u0443\u043f\u0430>\u00a0<\/em><\/strong><em>\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043d\u0430 \u044d\u0442\u0430\u043f\u0435<\/em> \u26a0\ufe0f<a href=\"https:\/\/smartanalytics.io\/ru\/blog\/documentation\/0-proizvodim-autentifikaciju\/\" data-type=\"documentation\" data-id=\"2395\" target=\"_blank\" rel=\"noreferrer noopener\"> 0. \u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\ud83d\udce4 \u041f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f:<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>POST https:\/\/apps.smartanalytics.io \/crm\/v1\/api\/custom_fields\/\n\nRequest Body:\n{\n  \"name\": \"string\"\n  \"field_type\": \"string\"\n}\n\nResponse:\n{\n  \"field_id\": \"string\",\n  \"name\": \"string\",\n  \"field_type\": \"string\"\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\ud83d\udcdd \u0421\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0432 API \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f, \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043d\u0438\u0436\u0435<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\u041a\u043e\u0434 \u043f\u043e\u043b\u044f (field_id)<\/strong><\/td><td><strong>\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f (name)<\/strong><\/td><td><strong>\u0422\u0438\u043f \u043f\u043e\u043b\u044f (field_type)<\/strong><\/td><\/tr><tr><td>617957d87100eeb40997f794<\/td><td>sale customer name<\/td><td>str<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u0414\u0430\u043b\u0435\u0435 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a<\/strong> \u274e <a rel=\"noreferrer noopener\" href=\"https:\/\/smartanalytics.io\/ru\/blog\/documentation\/6-sozdaem-lidy-obrashhenija\/\" target=\"_blank\">6. \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043b\u0438\u0434\u044b (\u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f)<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"api1.html#h2_1115049124\"><\/a><\/h2>\n","protected":false},"excerpt":{"rendered":"<p>\u2757 \u201c\u041a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0435 \u043f\u043e\u043b\u0435\u201d&nbsp;&#8212; \u044d\u0442\u043e \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c, \u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \ud83d\udcc2 \u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u043d\u0443\u0436\u043d\u044b, \u0435\u0441\u043b\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435\/\u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0438. \u0422\u0430\u043a \u043a\u0430\u043a \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0430 \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u0447\u0430\u0441\u0442\u043d\u044b\u0435 \u0431\u0438\u0437\u043d\u0435\u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b, \u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0444\u0430\u043a\u0442\u043e\u0440\u044b \u0441\u0438\u043b\u044c\u043d\u043e \u0437\u0430\u0432\u0438\u0441\u044f\u0442 \u043e\u0442 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f. *\ufe0f\u20e3 \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u043f\u0440\u0438 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0435 \u043f\u0440\u043e\u0434\u0430\u0436 \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438 \u043d\u0430\u0434\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0443 \u0441\u0434\u0435\u043b\u043a\u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0432\u0430\u0440\u0442\u0438\u0440, \u043f\u0440\u0438 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"template":"","meta":{"pgc_sgb_lightbox_settings":""},"_links":{"self":[{"href":"https:\/\/smartanalytics.io\/ru\/blog\/wp-json\/wp\/v2\/documentation\/2400"}],"collection":[{"href":"https:\/\/smartanalytics.io\/ru\/blog\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/smartanalytics.io\/ru\/blog\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/smartanalytics.io\/ru\/blog\/wp-json\/wp\/v2\/users\/1"}],"wp:attachment":[{"href":"https:\/\/smartanalytics.io\/ru\/blog\/wp-json\/wp\/v2\/media?parent=2400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}