Cart Coupon Input

A cart coupon input.
Root XML tag
<cartCouponInput>
JSON example
1{
2  "couponCode": "COUP10",
3  "customFields": [
4    {
5      "attributes": {
6        "type": "WebCartAdjustmentBasis"
7      },
8      "Test__C": "test@salesforce.com"
9    }
10  ]
11}
Properties
Name Type Description Required or Optional Available Version
couponCode String Coupon code. Required 54.0
customFields sObject Attributes Input[] An array of sObjects and their associated custom fields. Standard fields are ignored. The custom fields must already be defined for the sObject. Currently, only the WebCart and WebCartAdjustmentBasis sObjects is supported. Field-level security rules configured by the web store admin in the shopper profileshopper profile are applied to the custom fields. The rules are applied for registered shoppers and for the guest shopper profile. Optional 63.0