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

ItemImage.variant enum coming from the API should be uppercase #301

Closed
alexluca89 opened this issue Jan 10, 2023 · 3 comments
Closed

ItemImage.variant enum coming from the API should be uppercase #301

alexluca89 opened this issue Jan 10, 2023 · 3 comments
Assignees

Comments

@alexluca89
Copy link

https://github.com/amzn/selling-partner-api-models/blob/main/models/catalog-items-api-model/catalogItems_2022-04-01.json

image

I am getting this error: Invalid value 'Main' for 'variant', must be one of 'MAIN', 'PT01', 'PT02', 'PT03', 'PT04', 'PT05', 'PT06', 'PT07', 'PT08', 'SWCH'

Maybe this fix should be inside the API so it always comes as uppercase?

@shreeharsh-a
Copy link
Contributor

Hi,
Which API are you trying to use for which you are getting the mentioned error? Please provide more details along with payload etc.

@chapmanjw chapmanjw self-assigned this Apr 26, 2024
@chapmanjw
Copy link

@alexluca89 Do you have an example ASIN + marketplace we can investigate? And an example response payload showing the invalid values?

@shreeharsh-a
Copy link
Contributor

Hi @alexluca89
Looks like you have resolved this on your own as we have not received a response. Closing this issue but please feel free to open a new one quoting this one if you are still facing the issue so that we can help.

Thanks!

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

No branches or pull requests

3 participants