Set checkout app blocks
PUT
/ admin/ v1/ stores/ {store_id}/ checkout-settings/ app-blocks- settings:write
Place apps' blocks: every placement in order, each block once, in one of its places; blocks left out are off.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
placementsarray of objectsrequired
Returns
200 Saved.
Errors
- 403
forbiddenMissing permission. - 422
validation_failedA block no installed app offers, a place it can't go, or one placed twice.