--- title: Use cart.deliveryGroups.groupType in Function APIs to determine the type of delivery group - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/use-cartdeliverygroupsgrouptype-in-function-apis-to-determine-the-type-of-delivery-group md: https://shopify.dev/changelog/use-cartdeliverygroupsgrouptype-in-function-apis-to-determine-the-type-of-delivery-group.md --- [Back to Developer changelog](https://shopify.dev/changelog) June 23, 2025 Tags: * Functions * 2025-07 # Use `cart.deliveryGroups.groupType` in Function APIs to determine the type of delivery group With the 2025-07 version release of the Function APIs, you can now use the `cart.deliveryGroups.groupType` to determine the type of delivery group. The `groupType` field indicates whether the delivery is a one-time purchase (`ONE_TIME_PURCHASE`) or part of a recurring subscription (`SUBSCRIPTION`). Delivery groups streamline fulfillment by organizing items that can be shipped together, based on the customer's shipping address. For example, if a customer orders a t-shirt and a pair of shoes that can be shipped together, then the items are included in the same delivery group.