cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 REST API how to create an order on behalf of customer with Admin or integration token

Magento 2 REST API how to create an order on behalf of customer with Admin or integration token

Hi,

 

In our integration with Magento we need to create an order for a customer (not a guest) without the customer token. We're hoping that it is possible using Admin or Integration token. Every thing works fine up to the point the order needs to be created by posting the payment information. We only see APIs to do it with customer token (/carts/mine/payment-information) or for guest customer (/guest-carts/{cartId}/payment-information).

Does this means it is not possible to create an order on behalf of a customer using an Admin or Integration token ?

Thank you!