I want to place orders on behalf of a customer. I have an integration token for this. I have followed the below steps.
- Create Empty Cart = POST
/V1/carts(Passing customer Id as param)
- Add product to cart = POST
"/V1/carts/".$quote_id."/items"(Passing product data)
- Get Shipping methods = POST
- Set shipping and billing = POST
The above steps are working fine. Now I need to set the payment method and place the order. How can I do it?