make attributes mandatory when creating product via API
-
Hi,
I am looking for a way to make certain attributes mandatory when creating a product via the API. That is, for the API to return a code 400 and a message along the lines of “required attributes missing” when the JSON body sent to the products endpoint doesn’t include these attributes.
Any ideas?
Thanks in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘make attributes mandatory when creating product via API’ is closed to new replies.