Closed

Description
Preconditions
- Magento 2.2.5
- PHP 7.0.30
Steps to reproduce
- POST a request for a product via REST API: V1/products/
{"product":{"sku": "703","custom_attributes":[{"attribute_code":"url_key","value":"new-url"}, {"attribute_code":"url_key_create_redirect","value":1}, {"attribute_code":"save_rewrites_history","value":1}]}}
Expected result
- Product URL changes to domain/new-url
- Accessing the old url redirects to the new url
Actual result
- Product URL changes to domain/new-url
- Accessing the old url returns a 404 error page
I've been reading the Swagger documentation back can't find any information on creating 301 via REST when the product URL is changed.
Metadata
Metadata
Assignees
Labels
Gate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release