How to access/modify the field "orderClosing" from the admin API

I am trying to access settings → Checkout → “Automatically archive the order” from the Admin API.

I found out that the shopify is using graphQL to access the checkout information via “admin/internal/web/graphql/core?operation=CheckoutSettingsIndex&type=query” and the corresponding field is “orderClosing”, I am wondering does Admin API provide access to modify this field, I did not find any related information from the API documentation?

If the API does not provide any access, are there any alternatives to access the field via some rest API?

Hey @shop_newbie ,

Neither of the REST or GraphQL admin APIs currently have the option to manage that checkout setting.

I will add this as a feature request on your behalf, but for now the only option would be to continue to manage it from directly within the Shopify admin.

Cheers,