checkout_write
Arguments
The experience and its new widgets.
Returns
A block a store shows at checkout. It reaches shoppers when
global is true or an experience uses it.Replace the widgets a checkout experience shows, and return them. This changes checkout right away for an experience in the live checkout tree, so confirmLiveChange must be true or it fails with CHECKOUT_WIDGET_LIVE (409). Fails with CHECKOUT_WIDGETS_UNAVAILABLE (409) while availability.available is false, unless the list only removes widgets the experience already has. A shipping option widget fails with INVALID_CHECKOUT_WIDGET (400). Null when the experience or any widget is from another account or does not exist.
checkout_write
global is true or an experience uses it.