In core APIs of Magento 2 there is a required field cart_id.
I don't know what is this cart id and how can i find this ?
Best Answer
*Cart id it means Quote id you will get quote Id in your Database Under "quote" table
It seems you want payment information use the below API
try this for payment method :
67 is my quote Id : In your case you will get under Quote Table
GET : your-domain-url/index.php/rest/V1/carts/67/payment-methods
you will get the below resonse
response : [ { "code": "checkmo", "title": "Check / Money order" } ]*
Best Answer
*Cart id it means Quote id you will get quote Id in your Database Under "quote" table It seems you want payment information use the below API try this for payment method :
67 is my quote Id : In your case you will get under Quote Table
GET : your-domain-url/index.php/rest/V1/carts/67/payment-methods
you will get the below resonse response : [ { "code": "checkmo", "title": "Check / Money order" } ]*