Discussions

Ask a Question
Back to All

sku

Hi. I have been testing out the API and am running into an issue with passing a sku when upserting a new product. Using the cUrl POST /products/{sku} example that is provided in the reference, I changed this line to:

-d '{ "name": "APITEST9", "sku":"TestSKU9"}'

The product gets created, but the sku field is filling in the value "sku" and not what was passed in the API call.

Please note that if the same test is performed with the "Try it" button, it passes and creates the sku correctly with the field value as above. Please let me know. Thanks!