{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/v1/subscription/addCustomField","auth":"required","method":"post","examples":{"codes":[{"name":"","language":"json","code":"{\n\t\"fieldsRequest\": {\n\t\"app_token\" : \"qs6f1q231f561qs3f21\"  ,\n\t\"identifier\" : \"1231\" ,\n\t\"custom_field\" : {\n       \"valor\" : \"20.00\", // Formato de valores(Float) padrão XX.XX\n       \"date\" : \"2019-01-22\" // Formato de datas padrão: yyyy-mm-dd\n       }\n   }\n}"}]},"results":{"codes":[{"status":200,"language":"json","code":"{\n    \"customfieldResponse\": {\n        \"statusCode\": \"1\",\n        \"statusDescription\": \"Registered custom fields successfully\"\n    }\n}","name":""}]},"settings":"","params":[{"name":"app_token","type":"string","default":"","desc":"Token único do aplicativo","required":false,"in":"body","ref":"","_id":"5c3f781480bbcd0020383efd"},{"name":"identifier","type":"string","default":"","desc":"Código único do usuário","required":false,"in":"body","ref":"","_id":"5c3f781480bbcd0020383efc"},{"name":"custom_field","type":"array_mixed","default":"","desc":"Lista com os identificadores a ser inseridos","required":false,"in":"body","ref":"","_id":"5c3f781480bbcd0020383efb"}]},"next":{"description":"","pages":[]},"title":"/addCustomField (adicionar Custom Fields)","type":"endpoint","slug":"addcustomfield-adicionar-custom-fields","excerpt":"Adiciona novos custom fields a um usuário do app","body":"[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Formato de datas\",\n  \"body\": \"Os Custom Fields **SEMPRE** devem ser adicionados utilizando o formato de variáveis da Inngage:\\n\\n- Date: yyyy-mm-dd\\n- Float:\\n- Boolean: True or False\\n- String\"\n}\n[/block]","updates":[],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5c3f781480bbcd0020383efa","project":"57240e292887bb0e00bb9d93","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["57240e292887bb0e00bb9d97","57241b7deae5090e00ee6249","57241c06eae5090e00ee624a","57242abb2ad0bc170012279b","5734d18c7b9859320047f4b1","57688cc71f818b0e00695efb","577ead2ca74eb40e00d97bca","57b66af649a12a0e007b461b","597e5f8f13505b0014251a79","59964eb2f824b4000f961fbe","5a15ab12f2643f001ee8737c","5ab1151799750500797334e0","5c597e8b0abe110014bf1a11","5e395a05470bc3002d78d886","5e42a9647515f300509a594d","5f5e716dcc85f9004a4fa193","5f6dd615c624d800180bd237","5f984feb8aed05003a0032dc","60ac0e9c4c04970016613c6c"],"_id":"57240e292887bb0e00bb9d96","createdAt":"2016-04-30T01:45:13.341Z","project":"57240e292887bb0e00bb9d93","releaseDate":"2016-04-30T01:45:13.341Z","__v":19},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"(Usuários) API REST","slug":"api-rest","order":8,"from_sync":false,"reference":false,"_id":"57241c06eae5090e00ee624a","version":"57240e292887bb0e00bb9d96","__v":1,"project":"57240e292887bb0e00bb9d93","createdAt":"2016-04-30T02:44:22.475Z"},"user":"5724b9982ad0bc17001227fa","createdAt":"2019-01-16T18:29:40.648Z","__v":0,"parentDoc":null}

post/addCustomField (adicionar Custom Fields)

Adiciona novos custom fields a um usuário do app

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

app_token:
string
Token único do aplicativo
identifier:
string
Código único do usuário
custom_field:
array of mixed
Lista com os identificadores a ser inseridos

Examples


Result Format


Documentation

[block:callout] { "type": "warning", "title": "Formato de datas", "body": "Os Custom Fields **SEMPRE** devem ser adicionados utilizando o formato de variáveis da Inngage:\n\n- Date: yyyy-mm-dd\n- Float:\n- Boolean: True or False\n- String" } [/block]