Skip to content

Commit

Permalink
docs(api): give more details about custom fields and segmentationlists
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeladeira committed Apr 1, 2024
1 parent 1f596d8 commit 58d92fc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
10 changes: 5 additions & 5 deletions docs/api/create-subscriber.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: "Create a new subscriber"
sidebar_label: "Create a subscriber"
hide_title: true
hide_table_of_contents: true
api: eJztWm1z2zYS/isY9kurkWRJsZuzP53rOldfc5eMrczNTew5gSRkoSVBHgDaVh3/9z4LgBRpMYrv8vLJykwiEot9w+6zu1DuI8uvTXT0PjJVbBItY6FNdDWMUkFPpZWFio6iEy24FYwzJW7ZhjIaRkUpNCeqsxR0iaO7aBNoYcpCGQEh99FsMqV/usw35MzvT8fYlxTKCmWJnJdlJhMnZe83Q3vuI5OsRM7pm12XAlyK+DeRWGwsNelkpZeYcvsEKpm2aIzVUl071Xn6RmXr6MjqSjwMI0iU2U4DHAXjaQqzDVg8ZrksdM5hVGAFlnc8LzOiCd/+6lbGSZFHkFiuCiV2SnQUTFU5HsbszLJlkWXFrWF2JdjpePrjPvNCx7vU8XJa6hwcTKeH9Ydc8d9KagE3LXlmyBeK57sVcwTbIjcG/71YKfZzIaI+9sZyW5mdAgJJjwh4g0J6qYX4TydaSy7T7ptKNY+dlau2ptuMthVOKmOL/JUUWdqj9olbZUu/vLW/sYFrzddYl1bk5ovFbcZjkfVRbkzk14Li7YZnldhJOTt4eAChldbtO2mbTecmrnOkrUvW19LYviNskbDM0bT449iWL17GE/6XUSqmh6P95cvZiL8U6WgSp9MkfvliOTtcUuw+hezqf3d1MLll48WWTViMM578TtqL9NjujNMWJQMc9SVFk4e0PrIyF33H2I7VT8hsk36e0ADJn5DnqOg8P8/AMn2CLE/1OZLaZ7vJ6gcfK8LYs560enCfYbQ/mWxr91ORrpk0KI8JcJ/r9ResYDlxvN6dlH0K7DanA29PyaS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114MHGXOMTA63b72C3dSge+iZA39AtYb44vr+54pzVO5vxO5lUeJmCS0kC2ywsKFuNA0Qj4FjkyGh22NCUNkgJYlAbQJ55xhRLoVXL084Ye5Qc8OaMOrIbBUqMcKRoJJKLwlvAYMJmTNDQ8VUKZ2JiI3bdrCVggI5sCVvvlAiycrgCglOb6mPLe6iKw4QwbAF25SNZcSZNTzvWEtG6gsl0hp6DZgLXNGaw5HGxKkciVTFho06j7gC2u5iHu/uci0UbQud/vYKAjmALT6Ya8cwDiSggxHTO0ANyIRonPqlZu0O70C8HjdZgBGBRFWXPrhSKjHEwTYYxGsfFXXeNqtYI+jbrUh/iNOMouQ+whHRGQDOtI1dWmh5HQk/pARKvvxPans+msc6G1CHHgGjVqz9Ebo7ZTCxca0ebPFXqNZ6+/61y67fjrhtCSW3Fn98oMXQ/Jcz32fejFu384QePomhp1vL2/p9r0TmcPD/QahmmMJ++vqMHVklCKnsAtTA3uTk86+GpH2T/U+PuzMEX8wB6NF4Ma01J/YAldduSuBP3yC899ckEcWoqtC8l2x0lC7fBO2u4M8/bN+QWI43DpmQO88FbzW5qK8P9xdIl/7m9KXBYQkXtPI4K6rtwlbuT50uc/gOD5xw==
sidebar_class_name: "post api-method"
info_path: docs/api/introduction
custom_edit_url: null
Expand Down Expand Up @@ -40,17 +40,17 @@ Subscriber object

</div></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"email"} required={false} schemaName={"email"} qualifierMessage={undefined} schema={{"description":"Subscriber email address","type":"string","format":"email","example":"example@email.com"}}></SchemaItem><SchemaItem collapsible={false} name={"phone"} required={false} schemaName={"phone"} qualifierMessage={undefined} schema={{"description":"Subscriber phone number. It follows the E.164 format.","type":"string","format":"phone","example":5511999999999,"required":false}}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"Subscriber name","type":"string","example":"John Doe","required":false}}></SchemaItem><SchemaItem collapsible={false} name={"status"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`free_subscriber`, `paid_subscriber`, `unsubscribed_subscriber`]"} schema={{"description":"Subscriber status","type":"string","enum":["free_subscriber","paid_subscriber","unsubscribed_subscriber"],"example":"free_subscriber","required":false}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>customFields</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Custom fields
List of custom fields. Each custom field has a label, and value.

</div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={false} name={"label"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"age"}}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":25}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"segmentationLists"} required={false} schemaName={"string[]"} qualifierMessage={undefined} schema={{"description":"Segmentation lists","example":["ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f","ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f"],"required":false,"type":"array","title":"SegmentationLists","items":{"type":"string"}}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"201"} value={"201"}><div>
</div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={false} name={"label"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"age","description":"Custom field label"}}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":25,"description":"Custom field value"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"segmentationLists"} required={false} schemaName={"string[]"} qualifierMessage={undefined} schema={{"description":"List of segmentation lists IDs. You can get the ID by calling our support team.","example":["ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f","ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f"],"required":false,"type":"array","title":"SegmentationLists","items":{"type":"string"}}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"201"} value={"201"}><div>

Subscriber created.

</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>data</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","readOnly":true}}></SchemaItem><SchemaItem collapsible={false} name={"email"} required={false} schemaName={"email"} qualifierMessage={undefined} schema={{"description":"Subscriber email address","type":"string","format":"email","example":"example@email.com"}}></SchemaItem><SchemaItem collapsible={false} name={"phone"} required={false} schemaName={"phone"} qualifierMessage={undefined} schema={{"description":"Subscriber phone number. It follows the E.164 format.","type":"string","format":"phone","example":5511999999999,"required":false}}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"Subscriber name","type":"string","example":"John Doe","required":false}}></SchemaItem><SchemaItem collapsible={false} name={"status"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** [`free_subscriber`, `paid_subscriber`, `unsubscribed_subscriber`]"} schema={{"description":"Subscriber status","type":"string","enum":["free_subscriber","paid_subscriber","unsubscribed_subscriber"],"example":"free_subscriber","required":false}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>customFields</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Custom fields
List of custom fields. Each custom field has a label, and value.

</div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","readOnly":true}}></SchemaItem><SchemaItem collapsible={false} name={"label"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"age"}}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":25}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"segmentationLists"} required={false} schemaName={"string[]"} qualifierMessage={undefined} schema={{"description":"Segmentation lists","example":["ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f","ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f"],"required":false,"type":"array","items":{"type":"string"},"title":"SegmentationLists"}}></SchemaItem><SchemaItem collapsible={false} name={"blacklistedAt"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"description":"Subscriber blacklisted date","type":"string","format":"date-time","readOnly":true}}></SchemaItem><SchemaItem collapsible={false} name={"unsubscribedAt"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"description":"Subscriber unsubscribed date","type":"string","format":"date-time","readOnly":true}}></SchemaItem><SchemaItem collapsible={false} name={"createdAt"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"description":"Subscriber creation date","type":"string","format":"date-time","readOnly":true}}></SchemaItem><SchemaItem collapsible={false} name={"updatedAt"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"description":"Subscriber update date","type":"string","format":"date-time","readOnly":true}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"requestId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"data\": {\n \"id\": \"string\",\n \"email\": \"example@email.com\",\n \"phone\": 5511999999999,\n \"name\": \"John Doe\",\n \"status\": \"free_subscriber\",\n \"customFields\": [\n {\n \"id\": \"string\",\n \"label\": \"age\",\n \"value\": 25\n }\n ],\n \"segmentationLists\": [\n \"ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f\",\n \"ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f\"\n ],\n \"blacklistedAt\": \"2024-03-30T17:37:47.841Z\",\n \"unsubscribedAt\": \"2024-03-30T17:37:47.841Z\",\n \"createdAt\": \"2024-03-30T17:37:47.841Z\",\n \"updatedAt\": \"2024-03-30T17:37:47.841Z\"\n },\n \"requestId\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>
</div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","readOnly":true,"description":"Custom field ID"}}></SchemaItem><SchemaItem collapsible={false} name={"label"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"age","description":"Custom field label"}}></SchemaItem><SchemaItem collapsible={false} name={"value"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":25,"description":"Custom field value"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"segmentationLists"} required={false} schemaName={"string[]"} qualifierMessage={undefined} schema={{"description":"List of segmentation lists IDs. You can get the ID by calling our support team.","example":["ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f","ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f"],"required":false,"type":"array","items":{"type":"string"},"title":"SegmentationLists"}}></SchemaItem><SchemaItem collapsible={false} name={"blacklistedAt"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"description":"Subscriber blacklisted date","type":"string","format":"date-time","readOnly":true}}></SchemaItem><SchemaItem collapsible={false} name={"unsubscribedAt"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"description":"Subscriber unsubscribed date","type":"string","format":"date-time","readOnly":true}}></SchemaItem><SchemaItem collapsible={false} name={"createdAt"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"description":"Subscriber creation date","type":"string","format":"date-time","readOnly":true}}></SchemaItem><SchemaItem collapsible={false} name={"updatedAt"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"description":"Subscriber update date","type":"string","format":"date-time","readOnly":true}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"requestId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"data\": {\n \"id\": \"string\",\n \"email\": \"example@email.com\",\n \"phone\": 5511999999999,\n \"name\": \"John Doe\",\n \"status\": \"free_subscriber\",\n \"customFields\": [\n {\n \"id\": \"string\",\n \"label\": \"age\",\n \"value\": 25\n }\n ],\n \"segmentationLists\": [\n \"ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f\",\n \"ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f\"\n ],\n \"blacklistedAt\": \"2024-04-01T14:13:23.967Z\",\n \"unsubscribedAt\": \"2024-04-01T14:13:23.967Z\",\n \"createdAt\": \"2024-04-01T14:13:23.967Z\",\n \"updatedAt\": \"2024-04-01T14:13:23.967Z\"\n },\n \"requestId\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>

Body is necessary.

Expand Down
Loading

0 comments on commit 58d92fc

Please sign in to comment.