--- 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 metadata: effectiveApiVersion: 2025-07 affectedApi: - displayName: Functions handle: functions-api primaryTag: displayName: API handle: api secondaryTag: displayName: New handle: new indicatesActionRequired: false createdAt: '2025-06-03T16:07:05-04:00' postedAt: '2025-06-23T12:00:00-04:00' updatedAt: '2025-06-12T13:54:31-04:00' effectiveAt: '2025-06-04T12:00:00-04:00' --- 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.