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

How to change the SKU with REST API? #3687

Closed
antsem88 opened this issue Mar 8, 2016 · 2 comments
Closed

How to change the SKU with REST API? #3687

antsem88 opened this issue Mar 8, 2016 · 2 comments

Comments

@antsem88
Copy link

antsem88 commented Mar 8, 2016

Call:
PUT /rest/V1/products/{sku}

Request:
{
"product": {
"sku": "modified.sku",
"name": "modified name"
}
}
Result:
The name has changed, but the sku is the same. How can I change the product sku?
Thanks

@choukalos
Copy link

SKU is a unique key for products, it can't be changed via the API. Our reasons for doing this is based on feedback from partners integrating to ERP & PIM systems it was desired to have a valid key that can be used by both systems.

@springimport
Copy link

@choukalos How I can fix this via preference?

pdohogne-magento pushed a commit that referenced this issue Mar 26, 2019
[TSG] Upporting for 2.3 (pr42) (2.3-qwerty)
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