Skip to content

Commit 34515d8

Browse files
Update email to emailAddress on create-customer-event.mdx (#30)
It appears from the schema https://core-api.uk.plain.com/graphql/v1/schema.graphql that emailAddress is the correct format not email Co-authored-by: Preslav Mihaylov <[email protected]>
1 parent 5f3d1a3 commit 34515d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_snippets/typescript-sdk/create-customer-event.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const res = await client.createCustomerEvent({
1111

1212
customerIdentifier: {
1313
// You can use the email:
14-
14+
emailAddress: '[email protected]',
1515

1616
// ...or if you set external id on customers:
1717
// externalId: 'YOUR_ID',

0 commit comments

Comments
 (0)