Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add total_orders_count attribute in Customer #282

Closed
wants to merge 1 commit into from

Conversation

pfferrari
Copy link

What I did

I added the new attribute total_orders_count in Customer resource. It is of type number (not nullable / default 0).

@pfferrari pfferrari self-assigned this Jun 26, 2023
@pfferrari pfferrari added the enhancement New feature or request label Jun 26, 2023
@pfferrari pfferrari marked this pull request as ready for review June 26, 2023 14:55
@pfferrari pfferrari force-pushed the feat/add-customers-total_orders_count branch from 94d121c to 1ce9e40 Compare June 26, 2023 14:58
Copy link
Member

@pviti pviti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If total_orders_count is a custom field it will be deleted or overwritten next time a new schema file is released.
If it is a real change in the schema you must await until this schema version is released and then the field will be automatically generated and included in the next release of the SDK

@pviti pviti closed this Jun 26, 2023
@pviti
Copy link
Member

pviti commented Jun 26, 2023

I've just released a new version of the SDK wich includes the field customer.total_orders_count

@pviti pviti deleted the feat/add-customers-total_orders_count branch March 25, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants