Get payment methods via graph api

Ethnique
Visitor
3 0 0

In order to import sale orders into another system, I need to create payment methods, appropriate journals, etc in the destination so that when I retrieve a sales order, I can set the appropriate payment method for the order. However, I don't seem to be able to find a way to get all available payment methods from the graph api.

Can anyone point me to a query that will give me payment methods?

Replies 2 (2)
magecomp
Shopify Partner
255 19 28

Hello @Ethnique 

To get all available payment methods from the Shopify Graph API, you can use the following request:

 

 

https://{SHOPIFY_STORE_URL}/admin/api/2023-04/payment_methods.json

 

 

Helping voluntarily. Please like and accept the solution if it helps. Thanks!
Our Bestseller Shopify Apps    |      Mobile App Builder by MageComp    |      Limit Qty Purchase

Need a developer?  Just visit MageComp website
Ethnique
Visitor
3 0 0

Thanks for responding. The response is;

{"errors":"Not Found"}

Is there a way to get this via the graph API?