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

Unified API ProductVariant requires a non-existing ID parameter #519

Open
Kyngo opened this issue Feb 24, 2021 · 0 comments
Open

Unified API ProductVariant requires a non-existing ID parameter #519

Kyngo opened this issue Feb 24, 2021 · 0 comments

Comments

@Kyngo
Copy link

Kyngo commented Feb 24, 2021

Sylius version affected: As of 1.8 and above

Description

ProductVariant object requires an ID when making a POST /api/v2/admin/product-variants

Steps to reproduce

It can be reproduced in https://master.demo.sylius.com/api/v2/docs if you go to the POST ProductVariant. When trying to make such query in a local environment I get the following error whatever I put in the request body (even if it's empty):

{"code":404,"message":"Invalid identifier value or configuration."}

Possible Solution

Remove the need for this parameter on API Platform

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

1 participant