---
schema_version: "1"
id: 75a711dfda06ae7dd573d4c4bb4c4c697a99cb71cced3ecf9c917e65b34f16c6
title: ConnectApi.PromotionCartDeliveryGroupInput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_promotion_cart_delivery_group.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_promotion_cart_delivery_group.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a35fd8ab77dae4d73554c68eed1e98393a91a321f5a5682bdef1f24b6edac6ab
description: IDs of the cart delivery group and its delivery method.
---
# ConnectApi.PromotionCartDeliveryGroupInput

IDs of the cart delivery group and its delivery method.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| cartDelivery​GroupId | String | ID of the cart delivery group. | Required | 57.0 |
| deliveryMethodId | String | ID of the order delivery method. | Required | 57.0 |

#### See Also

- [ConnectApi.PromotionEvaluateInput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_promotion_evaluate.htm "Find promotions that the customer is eligible for and compute their discounts.")
- [evaluate(salesTransaction)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CommercePromotions_static_methods.htm#apex_ConnectAPI_CommercePromotions_evaluate_1 "Determine which promotions the customer is eligible for based on the store and buyer group, and compute the applicable price adjustments based on the coupons and the items in the cart. This API evaluates only the first 50 active manual promotions and first 50 active automatic promotions, based on priority. This API computes and returns applicable price adjustments, but it does not apply those adjustments to the webcart record. If you want to enable promotions based on shipping, contact Salesforce Customer Support.")