Commerce
Get v1commerceabandoned carts recovery
GET
/
v1
/
commerce
/
abandoned-carts
/
{cartID}
/
recovery
cURL
curl --request GET \
--url https://api.wazapin.com/v1/commerce/abandoned-carts/{cartID}/recoveryconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/commerce/abandoned-carts/{cartID}/recovery', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/commerce/abandoned-carts/{cartID}/recovery"
response = requests.get(url)
print(response.text){
"cart_id": "<string>",
"line_count": 123,
"recovery_path": "<string>",
"recovery_url": "<string>",
"subtotal_amount": 123,
"whatsapp_message": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}⌘I
cURL
curl --request GET \
--url https://api.wazapin.com/v1/commerce/abandoned-carts/{cartID}/recoveryconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/commerce/abandoned-carts/{cartID}/recovery', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/commerce/abandoned-carts/{cartID}/recovery"
response = requests.get(url)
print(response.text){
"cart_id": "<string>",
"line_count": 123,
"recovery_path": "<string>",
"recovery_url": "<string>",
"subtotal_amount": 123,
"whatsapp_message": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}