# Checkout UI extensions: New Required Cart Instructions API when updating to 2024-07 API Version — Shopify developer changelog --- ## Checkout UI extensions: New Required Cart Instructions API when updating to 2024-07 API Version In the 2024-07 API version of checkout UI extensions, we have introduced a new `instructions` API. This API will inform checkout UI extensions when a particular extension API is/is not available for the current checkout. For example, if you intend to add a discount code via the `applyDiscountCodeChange` method, check `discounts.canUpdateDiscountCodes` to ensure it's supported in this checkout. All checkout UI extensions updating to `2024-07` will be expected to review the list of APIs that may be restricted, and incorperate fail-safes if a particular API is not available in the current checkout. This will be required for checkout UI extensions to start rendering in draft order invoice checkouts. For more details, please refer to our [`2024-07` update guide](https://shopify.dev/docs/api/checkout-ui-extensions/2024-07/instructions-update) for more details and instructions on how to safely update to `2024-07`. *Published: July 03, 2024* Tags: API, New Link: https://shopify.dev/changelog/checkout-ui-extensions-new-required-cart-instructions-api-when-updating-to-2024-07-api-version ---