How to mark an order as paid using Python API?

Hi,

I am using the Python Client. I am managing my payments manually, using advance payments. How can I set an order as payed with the Python API?

Thanks

I think you can run the orderMarkAsPaid mutation with GraphQL API:

https://shopify.dev/docs/admin-api/graphql/reference/orders/ordermarkaspaid

I’m trying to do the same