cancel
Showing results for 
Search instead for 
Did you mean: 

Get coupons applied to a customer cart

Get coupons applied to a customer cart

I have a customer who applied a coupon code to its cart.

 

As an admin I'm using GET V1/carts/{cartID}/coupons API to get coupons information for a customer's cart.

For this I'm getting below error.

{
"message": "No such entity with %fieldName = %fieldValue",
"parameters": {
"fieldName": "cartId",
"fieldValue": xx
}
}

 

To check if the cart is present, I used GET V1/carts/{cartID} API and it gave me proper response.

 

Can someone please help?