REST Admin API Checkouts.json endpoint gives error write_checkouts scope is needed

REST Admin API POST endpoint Checkouts.json gives error

“errors”: “[API] This action requires merchant approval for write_checkouts scope.”
But I’ve checked all the scopes for REST Admin api is selected. Can anyone help me with this issue?

Hi @product-airpay ,

If I was right, you are building a custom app. The scope “write_checkouts” is in the Storefront API Integration.

Step 1: Go to the app config, and click Configure Storefront API scopes

Step 2: Tick checkouts scopes.

You might update or reinstall to get the token with new scopes. Hope this is helpful to you.

Have already tried doing this but still having the same error. Tried reinstalling the custom app again.

Sorry about the previous answer. I did some research, and I think that custom app is not allowed to call Checkout API because it cannot be configured as a Sale Channel.

Here the app development section in admin.

With the Custom Distribution app created in Partner Dashboard, I don’t see the Sale Channel section like other Public Distribution apps.