Skip to content

Commit

Permalink
fix(modules): Add accepts_marketing to customer object on checkout …
Browse files Browse the repository at this point in the history
…payload schema
  • Loading branch information
leomp12 committed Nov 12, 2024
1 parent 0f8fce8 commit 95d3c86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/modules/schemas/@checkout.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,10 @@ exports.params = {
'type': 'string',
'pattern': '^[a-f0-9]{24}$',
'description': 'ID of customer who invited the new customer, if he was invited by another account'
},
'accepts_marketing': {
'type': 'boolean',
'description': 'Indicates whether customer would like to receive email updates from the shop'
}
},
'description': 'Customer object'
Expand Down
4 changes: 4 additions & 0 deletions packages/types/modules/@checkout:params.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 95d3c86

Please sign in to comment.