Hi,
I am using “get_order” from API v1.1 to retrieve a particular order thanks to order id.
Since yesterday, it appears this is not available anymore (see https://github.com/wix/openrest4j/tree/master/openrest4j-api/src/main/java/com/wix/restaurants/orders/requests last commit : GetOrderRequest is no more (use API v2).
How can I know do that?
Thanks for your help
Current code (in wix backend):
let wixRestaurantAPIUrl = "https://api.wixrestaurants.com/v1.1";
let wixBody = {
"type":"get_order",
"orderId":orderId,
"viewMode":"restaurant",
"accessToken":accessToken
};
let res = null;
try {
res = await fetch (wixRestaurantAPIUrl, { "method": "POST","body":JSON.stringify(wixBody), "headers": { "Content-Type": "application/json" }});
}
....