Hello,
I want to create a new OrderType using the API, but I'm getting the message "401 Unauthorized",
I sent a post request to the end point /v3/merchants/{mId}/order_types
the JSON object is :
{
"taxable": true,
"filterCategories": false,
"label": "Test Order t",
"isHidden": true,
"isDefault":false,
"hoursAvailable": "BUSINESS"
}
the token is valid because I can get the list of existing order types and the app has MERCHANT_W permission
Can someone please explain to me what's the problem