-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: introduce new statuscode for filter and suppress events
- Loading branch information
1 parent
cec8b8b
commit 14aa4e0
Showing
9 changed files
with
46 additions
and
131 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
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
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 |
---|---|---|
|
@@ -351,49 +351,10 @@ | |
} | ||
}, | ||
"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": { | ||
"action": "suppress", | ||
"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": {} | ||
"error": { | ||
"attributes": {}, | ||
"id": "01GW3PHVY0MTCDGS0A1612HARX" | ||
} | ||
} | ||
}, | ||
{ | ||
|
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 |
---|---|---|
|
@@ -61,59 +61,18 @@ | |
} | ||
}, | ||
{ | ||
"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": { | ||
"action": "suppress", | ||
"data": { | ||
"type": "profile", | ||
"attributes": { | ||
"external_id": "test", | ||
"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": {} | ||
}, | ||
"batchedRequest": {}, | ||
"metadata": [ | ||
{ | ||
"jobId": 1 | ||
} | ||
], | ||
"batched": false, | ||
"action": "suppress", | ||
"statusCode": 200, | ||
"error": { | ||
"attributes": {}, | ||
"id": "01GW3PHVY0MTCDGS0A1612HARX" | ||
}, | ||
"statusCode": 299, | ||
"destination": { | ||
"Config": { | ||
"publicApiKey": "WJqij9", | ||
|