shoppingCartId |
Yes |
Shopping cart ID to which this item is being added |
shoppingCartItem.quantity |
Yes |
Quantity of the item being added. |
shoppingCartItem.itemInfo.itemType |
Yes * |
Used if adding a membership or donation to a shopping cart. Possible values: Donation, Membership. |
Store Products |
|
|
The following fields are used if you are adding a store product to a shopping cart. |
|
|
shoppingCartItem.product.productId |
Yes |
Product ID. Possible values can be retrieved from List Products method. |
shoppingCartItem.selectedOptionIds.selectedOption.optionId |
|
Required if the given product has options. |
shoppingCartItem.selectedOptionIds.selectedOption.optionValueId |
|
Required if the given product has options. |
Donation Details |
|
|
The following fields are used if adding a donation to a shopping cart. |
|
|
shoppingCartItem.itemInfo.donation.accountId |
Yes |
Account ID of constituent to whom this donation will be credited |
shoppingCartItem.itemInfo.donation.amount |
Yes |
Dollar amount of donation |
shoppingCartItem.itemInfo.donation.date |
Yes |
Donation date. Format: 2012-12-30 |
shoppingCartItem.itemInfo.donation.anonymousType |
|
Possible values: No, DonorNameAnonymous, DonationAmountAnonymous |
shoppingCartItem.itemInfo.donation.donorName |
|
Specify the donor name if it is different from the account being credited for the donation. |
shoppingCartItem.itemInfo.donation.campaign.id |
|
Possible values can be retrieved from List Campaigns method. Required if campaign.name is not provided. |
shoppingCartItem.itemInfo.donation.campaign.name |
|
Possible values can be retrieved from List Campaigns method. Required if campaign.id is not provided. |
shoppingCartItem.itemInfo.donation.purpose.id |
|
Possible values can be retrieved from List Purposes method. Required if purpose.name is not provided. |
shoppingCartItem.itemInfo.donation.purpose.name |
|
Possible values can be retrieved from List Purposes method. Required if purpose.id is not provided. |
shoppingCartItem.itemInfo.donation.fund.id |
|
Possible values can be retrieved from List Funds method. Required if fund.name is not provided. |
shoppingCartItem.itemInfo.donation.fund.name |
|
Possible values can be retrieved from List Funds method. Required if fund.id is not provided. |
shoppingCartItem.itemInfo.donation.source.id |
|
Possible values can be retrieved from List Sources method. Required if source.name is not provided. |
shoppingCartItem.itemInfo.donation.source.name |
|
Possible values can be retrieved from List Sources method. Required if source.id is not provided. |
shoppingCartItem.itemInfo.donation.solicitation.id |
|
|
shoppingCartItem.itemInfo.donation.solicitation.name |
|
|
Donation Acknowledgee |
|
|
If you specify the acknowledgee fields, a new account will be created and credited as the acknowledgee for this donation. |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.name |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.email |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address.shippingAddress |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address.addressType.id |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address.addressType.name |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address. addressLine1 |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address. addressLine2 |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address. addressLine3 |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address. addressLine4 |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address. city |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address.state.code |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address.state.name |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address.province |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address.county |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address.country.id |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address.country.name |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address.zipCode |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address.zipCodeSuffix |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address.startDate |
|
|
shoppingCartItem.itemInfo.donation.acknowledgee.address.endDate |
|
|
Donation Honor / Memory |
|
|
shoppingCartItem.itemInfo.donation.honorMemory.name |
|
|
shoppingCartItem.itemInfo.donation.honorMemory.hmType |
|
|
Donation Custom Fields |
|
|
shoppingCartItem.itemInfo.donation.customFieldDataList.fieldId |
|
Donation custom fields can be retrieved from the List Custom Fields method. |
shoppingCartItem.itemInfo.donation.customFieldDataList.fieldValue |
|
Donation custom fields can be retrieved from the List Custom Fields method. |
shoppingCartItem.itemInfo.donation.customFieldDataList.fieldOptionId |
|
Donation custom fields can be retrieved from the List Custom Fields method. |
Membership Details |
|
|
The following fields are used if you are adding a membership to a shopping cart. |
|
|
shoppingCartItem.itemInfo.membership.accountId |
Yes |
The account to which this membership is being added. |
shoppingCartItem.itemInfo.membership.membershipTerm.termInfo.id |
Yes * |
Membership Term ID. Possible values can be retrieved from List Membership Terms method. Required if termInfo.name is not provided. |
shoppingCartItem.itemInfo.membership.membershipTerm.termInfo.name |
Yes * |
Membership Term Name. Possible values can be retrieved from List Membership Terms method. Required if termInfo.id is not provided. |
shoppingCartItem.itemInfo.membership.autoRenewal |
|
Should this membership term automatically renew? Possible values: true, false |
shoppingCartItem.itemInfo.membership.source.id |
|
Possible values can be retrieved from List Sources method. |
shoppingCartItem.itemInfo.membership.source.name |
|
Possible values can be retrieved from List Sources method. |
shoppingCartItem.itemInfo.membership.customFieldDataList.customFieldData.fieldId |
|
Membership custom fields can be populated. Possible values can be retrieved from List Custom Fields method. This field can be repeated. |
shoppingCartItem.itemInfo.membership.customFieldDataList.customFieldData.fieldName |
|
Membership custom fields can be populated. Possible values can be retrieved from List Custom Fields method. This field can be repeated. |
shoppingCartItem.itemInfo.membership.customFieldDataList.customFieldData.fieldOptionId |
|
Membership custom fields can be populated. Possible values can be retrieved from List Custom Fields method. This field can be repeated. |