Skip to content

Conversation

@scottsb
Copy link

@scottsb scottsb commented Jan 24, 2018

Don't require email to be sent on a customer update request. With the API, if you have the ID, it is possible to update attributes without having to specify email, so that should be allowed here as well.

@scottsb
Copy link
Author

scottsb commented Jan 24, 2018

The change to Api.php is probably unnecessary. They key part is just not forcing email to be in the JSON sent in the API call.

Copy link

@peter279k peter279k left a comment

Choose a reason for hiding this comment

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

It looks good.

Could you have some tests about these code changes?

It will make sure that the behavior will be expected.

@scottsb
Copy link
Author

scottsb commented Jan 1, 2020

Better late than never. 😄Just pushed up a test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants