-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: klaviyo multiple response action fix
- Loading branch information
1 parent
90f9e5e
commit 855fdce
Showing
5 changed files
with
22 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,50 +65,6 @@ | |
} | ||
}, | ||
"output": [ | ||
{ | ||
"version": "1", | ||
"type": "REST", | ||
"method": "PATCH", | ||
"endpoint": "https://a.klaviyo.com/api/profiles/01GW3PHVY0MTCDGS0A1612HARX", | ||
"headers": { | ||
"Accept": "application/json", | ||
"Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", | ||
"Content-Type": "application/json", | ||
"revision": "2023-02-22" | ||
}, | ||
"params": {}, | ||
"body": { | ||
"JSON": { | ||
"data": { | ||
"type": "profile", | ||
"attributes": { | ||
"external_id": "user@1", | ||
"email": "[email protected]", | ||
"first_name": "Test", | ||
"last_name": "Rudderlabs", | ||
"phone_number": "+12 345 578 900", | ||
"title": "Developer", | ||
"organization": "Rudder", | ||
"location": { | ||
"city": "Tokyo", | ||
"region": "Kanto", | ||
"country": "JP", | ||
"zip": "100-0001" | ||
}, | ||
"properties": { | ||
"Flagged": false, | ||
"Residence": "Shibuya" | ||
} | ||
}, | ||
"id": "01GW3PHVY0MTCDGS0A1612HARX" | ||
} | ||
}, | ||
"JSON_ARRAY": {}, | ||
"XML": {}, | ||
"FORM": {} | ||
}, | ||
"files": {} | ||
}, | ||
{ | ||
"version": "1", | ||
"type": "REST", | ||
|
@@ -222,53 +178,6 @@ | |
} | ||
}, | ||
"output": [ | ||
{ | ||
"version": "1", | ||
"type": "REST", | ||
"method": "PATCH", | ||
"endpoint": "https://a.klaviyo.com/api/profiles/01GW3PHVY0MTCDGS0A1612HARX", | ||
"headers": { | ||
"Accept": "application/json", | ||
"Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", | ||
"Content-Type": "application/json", | ||
"revision": "2023-02-22" | ||
}, | ||
"params": {}, | ||
"body": { | ||
"JSON": { | ||
"data": { | ||
"type": "profile", | ||
"attributes": { | ||
"external_id": "user@1", | ||
"email": "[email protected]", | ||
"first_name": "Test", | ||
"last_name": "Rudderlabs", | ||
"phone_number": "+12 345 578 900", | ||
"title": "Developer", | ||
"organization": "Rudder", | ||
"location": { | ||
"city": "Tokyo", | ||
"region": "Kanto", | ||
"country": "JP", | ||
"zip": "100-0001" | ||
}, | ||
"properties": { | ||
"Flagged": false, | ||
"Residence": "Shibuya", | ||
"friend.age": 25, | ||
"friend.names.first": "Alice", | ||
"friend.names.last": "Smith" | ||
} | ||
}, | ||
"id": "01GW3PHVY0MTCDGS0A1612HARX" | ||
} | ||
}, | ||
"JSON_ARRAY": {}, | ||
"XML": {}, | ||
"FORM": {} | ||
}, | ||
"files": {} | ||
}, | ||
{ | ||
"version": "1", | ||
"type": "REST", | ||
|
@@ -455,6 +364,7 @@ | |
"params": {}, | ||
"body": { | ||
"JSON": { | ||
"action": "suppress", | ||
"data": { | ||
"type": "profile", | ||
"attributes": { | ||
|
@@ -553,50 +463,6 @@ | |
} | ||
}, | ||
"output": [ | ||
{ | ||
"version": "1", | ||
"type": "REST", | ||
"method": "PATCH", | ||
"endpoint": "https://a.klaviyo.com/api/profiles/01GW3PHVY0MTCDGS0A1612HARX", | ||
"headers": { | ||
"Accept": "application/json", | ||
"Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", | ||
"Content-Type": "application/json", | ||
"revision": "2023-02-22" | ||
}, | ||
"params": {}, | ||
"body": { | ||
"JSON": { | ||
"data": { | ||
"type": "profile", | ||
"attributes": { | ||
"email": "[email protected]", | ||
"first_name": "Test", | ||
"last_name": "Rudderlabs", | ||
"phone_number": "+12 345 578 900", | ||
"title": "Developer", | ||
"organization": "Rudder", | ||
"location": { | ||
"city": "Tokyo", | ||
"region": "Kanto", | ||
"country": "JP", | ||
"zip": "100-0001" | ||
}, | ||
"properties": { | ||
"Flagged": false, | ||
"Residence": "Shibuya", | ||
"_id": "user@1" | ||
} | ||
}, | ||
"id": "01GW3PHVY0MTCDGS0A1612HARX" | ||
} | ||
}, | ||
"JSON_ARRAY": {}, | ||
"XML": {}, | ||
"FORM": {} | ||
}, | ||
"files": {} | ||
}, | ||
{ | ||
"version": "1", | ||
"type": "REST", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,24 +28,8 @@ | |
"email": "[email protected]", | ||
"phone_number": "+12 345 578 900", | ||
"channels": { | ||
"email": [ | ||
"MARKETING" | ||
], | ||
"sms": [ | ||
"MARKETING" | ||
] | ||
} | ||
}, | ||
{ | ||
"email": "[email protected]", | ||
"phone_number": "+12 345 578 900", | ||
"channels": { | ||
"email": [ | ||
"MARKETING" | ||
], | ||
"sms": [ | ||
"MARKETING" | ||
] | ||
"email": ["MARKETING"], | ||
"sms": ["MARKETING"] | ||
} | ||
} | ||
] | ||
|
@@ -63,9 +47,6 @@ | |
{ | ||
"jobId": 3 | ||
}, | ||
{ | ||
"jobId": 1 | ||
}, | ||
{ | ||
"jobId": 2 | ||
} | ||
|
@@ -94,6 +75,7 @@ | |
"params": {}, | ||
"body": { | ||
"JSON": { | ||
"action": "suppress", | ||
"data": { | ||
"type": "profile", | ||
"attributes": { | ||
|
@@ -139,66 +121,6 @@ | |
} | ||
} | ||
}, | ||
{ | ||
"batchedRequest": { | ||
"version": "1", | ||
"type": "REST", | ||
"method": "PATCH", | ||
"endpoint": "https://a.klaviyo.com/api/profiles/01GW3PHVY0MTCDGS0A1612HARX", | ||
"headers": { | ||
"Accept": "application/json", | ||
"Authorization": "Klaviyo-API-Key pk_b68c7b5163d98807fcb57e6f921216629d", | ||
"Content-Type": "application/json", | ||
"revision": "2023-02-22" | ||
}, | ||
"params": {}, | ||
"body": { | ||
"JSON": { | ||
"data": { | ||
"type": "profile", | ||
"attributes": { | ||
"email": "[email protected]", | ||
"external_id": "test", | ||
"first_name": "Test", | ||
"last_name": "Rudderlabs", | ||
"phone_number": "+12 345 578 900", | ||
"title": "Developer", | ||
"organization": "Rudder", | ||
"location": { | ||
"city": "Tokyo", | ||
"region": "Kanto", | ||
"country": "JP", | ||
"zip": "100-0001" | ||
}, | ||
"properties": { | ||
"Flagged": false, | ||
"Residence": "Shibuya" | ||
} | ||
}, | ||
"id": "01GW3PHVY0MTCDGS0A1612HARX" | ||
} | ||
}, | ||
"JSON_ARRAY": {}, | ||
"XML": {}, | ||
"FORM": {} | ||
}, | ||
"files": {} | ||
}, | ||
"metadata": [ | ||
{ | ||
"jobId": 2 | ||
} | ||
], | ||
"action": "suppress", | ||
"batched": false, | ||
"statusCode": 200, | ||
"destination": { | ||
"Config": { | ||
"publicApiKey": "WJqij9", | ||
"privateApiKey": "pk_b68c7b5163d98807fcb57e6f921216629d" | ||
} | ||
} | ||
}, | ||
{ | ||
"error": "Event type random is not supported", | ||
"metadata": [ | ||
|
@@ -239,4 +161,4 @@ | |
} | ||
} | ||
} | ||
] | ||
] |