Newer Version Available
ConnectApi.CartInput
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| currencyIsoCode | String | Currency ISO code of the cart. | Optional | 57.0 |
| customFields | List<SObject> | Array of sObjects and custom fields for the sObjects. Standard fields are ignored. The custom fields must already be defined for the sObject. Currently, only the WebCart sObject is supported. Field-level security rules from the shopper profile are applied to the custom fields. The rules are applied for registered shoppers and for the guest shopper profile. See Create a Cart and Cart Item with Custom Fields in a Commerce Store. | Optional | 61.0 |
| effectiveAccountId | String | ID of the buyer account or guest buyer profile for which the request is made. If unspecified, the default value is determined from context. | Optional | 49.0 |
| isSecondary | Boolean | Specifies whether the cart is secondary (true) or not (false). If unspecified, defaults to false. | Optional | 53.0 |
| name | String | Name of the cart. The name can have up to 250 Unicode characters. If unspecified, defaults to the generated name. | Optional | 49.0 |
| orderOwnerId | String | ID of the owner of the order. | Optional | 58.0 |
| type | ConnectApi.CartType | Type of
cart. Vaues
are:
|
Optional | 49.0 |
| typeAsString | String | Type of the cart provided as a string. | Optional | 59.0 |