Questions tagged [api-response]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

Magento 2: Set custom response status code for REST API

I have created a REST API using Magento 2.3.2 CE All went well, but now I want to return custom HTTP Status Code with my error message like 401 Unauthorized, 409, 400, etc. Currently, for all my API ...