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

Edit Customer metadata via Store API - zodValidator error #9779

Closed
docloulou opened this issue Oct 24, 2024 · 1 comment
Closed

Edit Customer metadata via Store API - zodValidator error #9779

docloulou opened this issue Oct 24, 2024 · 1 comment

Comments

@docloulou
Copy link
Contributor

Bug report

Describe the bug

I'm trying to store some additional data (age, company informations, etc.) in the metadata via an API call, but it doesn't seem to be working because of Zod validation. It's not working for registering or updating a customer.

System information

Medusa version (including plugins): 2.0.0

Expected behavior

be able to edit customer metadata via Store API

Screenshots

image
image

docloulou added a commit to docloulou/medusa that referenced this issue Oct 24, 2024
olivermrbl pushed a commit that referenced this issue Oct 25, 2024
* Allow customer metadata update 

See issue 9779
#9779

* add integration tests for customer metadata

- Implemented integration tests to verify customer creation with metadata.
@kasperkristensen
Copy link
Contributor

Fixed in #9780

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

No branches or pull requests

2 participants