From c1144ad1bda4d70da9f49c7f455c0a18eb6e26cf Mon Sep 17 00:00:00 2001 From: Sergey U Date: Fri, 30 Dec 2022 13:20:10 +0700 Subject: [PATCH 1/2] updated readme --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a311495..1d7aefe 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,11 @@ A phone field will have subfields: You can alternatively use `field_123_all` to set a complete number with the country calling code: "4455555555555". +You can get a list of custom fields in Zapier's format: + +``` + http://simplero.test/api/v1/account/zapier_customer_action_fields +``` Need anything? -------------- @@ -329,7 +334,11 @@ Replace `1` with the id of the list to subscribe to. "landing_page_id": 123, "tags": "tag1,tag2", "phone": "15551231234", - "gdpr_consent": true + "gdpr_consent": true, + + "field_1016668189_value": "Green", + "field_868371454_value": "Developer", + "field_507274739_address": "NY" } ``` @@ -351,6 +360,9 @@ This is only relevant when using Simplero's conversion tracking featuer. `phone` is a sanitized phone number with country code first, eg. '15551231234'. +`field_1016668189_value`, `field_868371454_value`, `field_507274739_address` are example of custom fields that could be passed, +check description of [Custom contact fields](#custom-contact-fields) + **Response:** ```json From c2d11c90c99708341b6156acbc9bb0bf90e3f4a8 Mon Sep 17 00:00:00 2001 From: Sergey U Date: Fri, 30 Dec 2022 13:23:29 +0700 Subject: [PATCH 2/2] fix for url --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1d7aefe..94ea19c 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ You can alternatively use `field_123_all` to set a complete number with the coun You can get a list of custom fields in Zapier's format: ``` - http://simplero.test/api/v1/account/zapier_customer_action_fields +http://simplero.com/api/v1/account/zapier_customer_action_fields ``` Need anything? @@ -360,7 +360,7 @@ This is only relevant when using Simplero's conversion tracking featuer. `phone` is a sanitized phone number with country code first, eg. '15551231234'. -`field_1016668189_value`, `field_868371454_value`, `field_507274739_address` are example of custom fields that could be passed, +`field_1016668189_value`, `field_868371454_value`, `field_507274739_address` are examples of custom fields that could be passed, check description of [Custom contact fields](#custom-contact-fields) **Response:**