Cdn API - CPG Source

<back to all web services

WebShoppingCartRemoveItemRequest

Cdn.Api

WebShoppingCartRemoveItemRequest Parameters:
NameParameterData TypeRequiredDescription
CartIdbodylongNo
ProductIdbodylongNo
PricebodydecimalNo
SkipbodyintNo
TakebodyintNo
WebShoppingCartResponse Parameters:
NameParameterData TypeRequiredDescription
DataformWebShoppingCartDtoNo
TotalformintNo
RequestTimeformstringNo
ResponseTimeformstringNo
WebShoppingCartDto Parameters:
NameParameterData TypeRequiredDescription
CustIdformstringNo
LastActivityformDateTimeNo
lastActivityDisplayformstringNo
BilladdressIdformlongNo
ShipaddressIdformlongNo
EmailIdformlongNo
CreditCardIdformlongNo
PhoneIdformlongNo
PayMethodIdformlongNo
BillNameformstringNo
BillCompanyformstringNo
BillAddress1formstringNo
BillAddress2formstringNo
BillAddress3formstringNo
BillCityformstringNo
BillStateformstringNo
BillZipCodeformstringNo
BillProvinceformstringNo
BillCountryformstringNo
ShipNameformstringNo
ShipCompanyformstringNo
ShipAddress1formstringNo
ShipAddress2formstringNo
ShipAddress3formstringNo
ShipCityformstringNo
ShipStateformstringNo
ShipZipCodeformstringNo
ShipProvinceformstringNo
ShipCountryformstringNo
EmailAddressformstringNo
PhoneNumberformstringNo
PhoneExtformstringNo
CardHolderNameformstringNo
CardNumberformstringNo
CardExpformstringNo
CardCcvformstringNo
CartItemsformList<WebShoppingCartItemDto>No
DtoBase Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
ActiveformboolNo
LastModformDateTimeNo
LastModByformstringNo
WebShoppingCartItemDto Parameters:
NameParameterData TypeRequiredDescription
PriceformdecimalNo
TaxformdecimalNo
TaxRateformdecimalNo
IssuesformintNo
IsOnlineformboolNo
IsPrintformboolNo
IsSingleIssueformboolNo
OrderItemTypeformlongNo
ProductIdformlongNo
ProductformProductDtoNo
CartformWebShoppingCartDtoNo
SubscriptionformSubscriptionDtoNo
ProductDto Parameters:
NameParameterData TypeRequiredDescription
ProductDisplayNameformstringNo
ProductNameformstringNo
SubTitleformstringNo
WebTitleformstringNo
WebLineItemTitleformstringNo
WebOnlinePlugformstringNo
WebPrintPlugformstringNo
WebComboPlugformstringNo
ShipMethodformstringNo
IssuesPerYearformintNo
OnlinePriceformdecimalNo
PrintedPriceformdecimalNo
ComboPriceformdecimalNo
OnlinePriceSaleformdecimalNo
PrintedPriceSaleformdecimalNo
ComboPriceSaleformdecimalNo
AllowFirstClassformboolNo
FirstClassPriceformdecimalNo
RenewalDiscountformdecimalNo
MinSubscriptionLengthformintNo
IsSubscribableformboolNo
IsSingleIssueformboolNo
IsTaxableformboolNo
IsTaxableEverywhereformboolNo
IsDealerTaxaExemptformboolNo
IsRecurringformboolNo
BillingFrequencyMonthsformintNo
WebPurchaseableformboolNo
BundlePurchaseOverrideformboolNo
SortOrderformintNo
ProductCategoryformProductCategoryDtoNo
ProductCategoryImageformProductCategoryImageDtoNo
ProductCategoryDto Parameters:
NameParameterData TypeRequiredDescription
ProductCategoryNameformstringNo
DisplayNameformstringNo
SubTitleformstringNo
ProductCategoryDescriptionformstringNo
SubscriptionDescriptionformstringNo
FilePrefixformstringNo
IsSubscribableformboolNo
IsHiddenformboolNo
IssuesPerSubscriptionformintNo
RenewalTriggerformintNo
WebsiteTitleformstringNo
WebsiteMetaTitleformstringNo
WebsiteHeaderformstringNo
WebsiteIconformstringNo
WebsiteHighlightTextformstringNo
WebsiteInformationformstringNo
WebsiteAboutBoxformstringNo
WebsiteISSNformstringNo
WebsitePublicationInfoformstringNo
WebsiteSubscriptionInfoformstringNo
WebsiteReturnInfoformstringNo
WebsiteVideo1TitleformstringNo
WebsiteVideo1IdformstringNo
WebsiteVideo2TitleformstringNo
WebsiteVideo2IdformstringNo
WebsiteVideo3TitleformstringNo
WebsiteVideo3IdformstringNo
WebsiteKindleUrlformstringNo
WebsiteOnlineDisclaimerformstringNo
WebsitePrintDisclaimerformstringNo
WebsiteComboDisclaimerformstringNo
WebsiteSubscriptionDisclaimerformstringNo
WebsiteSingleDisclaimerformstringNo
WebsiteSubTitleformstringNo
WebsiteSubOrderPrefixformstringNo
WebsiteShipTitleOverrideformstringNo
WebsiteCarouselNameformstringNo
PermalinkformstringNo
KlaviyoNameformstringNo
PdfSampleformstringNo
PdfSpecificNameformstringNo
CurrentCoverUrlformstringNo
NumberOfSubscribersformintNo
NumberOfSubscribersStdformintNo
NumberOfSubscribersFirstClassformintNo
NumberOfSubscribersInternationalformintNo
NumberOfSubscribersOnlineformintNo
NumberOfSubscribersComboformintNo
ShowNewBenefitBoxformboolNo
IsBundleformboolNo
IsReferenceformboolNo
SubscriberDiscountPercentformdecimalNo
SortOrderformintNo
ProductCarouselVisibleformboolNo
DigitalOnlyExpirationformboolNo
HideFromSubscribePageformboolNo
DigitalOnlyformboolNo
SubscribePageCategoryformstringNo
CategoryformstringNo
IsNewformboolNo
AllProductsPageformboolNo
IncludeInWebsiteMenuformboolNo
WebsiteMenuCategoryformstringNo
ProductsformList<ProductDto>No
XProductCategoryFeaturesformList<XProductCategoryFeatureDto>No
BundledProductCategoriesformList<ProductCategoryDto>No
XProductCategoryFeatureDto Parameters:
NameParameterData TypeRequiredDescription
FeatureGroupformstringNo
FeatureTitleformstringNo
AccessOnlineRetailPricingformboolNo
AccessOnlineWholesalePricingformboolNo
GetPrintedPublicationformboolNo
PrintedPublicationDigitalOnlyformboolNo
CatalogsAllowedformstringNo
GroupSortOrderformintNo
SortOrderformintNo
ProductCategoryImageDto Parameters:
NameParameterData TypeRequiredDescription
ImageUrlformstringNo
SortOrderformintNo
SubscriptionDto Parameters:
NameParameterData TypeRequiredDescription
TitleformstringNo
SubtitleformstringNo
IssuesRemainingformintNo
TotalIssuesformintNo
FirstIssueDateformDateTimeNo
StartDateformDateTimeNo
StartDateDisplayformstringNo
ExpirationDateformDateTimeNo
ExpirationDateDisplayformstringNo
ShipMethodformstringNo
ActiveDaysRemainingformintNo
ListPriceformdecimalNo
PriceformdecimalNo
FirstClassPriceformdecimalNo
IsFirstClassformboolNo
SpecialPriceformdecimalNo
SpecialPriceExpirationformDateTime?No
IsOnlineformboolNo
IsPrintformboolNo
IsRecurringformboolNo
NumberOfSeatsformintNo
NextBillingDateformDateTimeNo
LastChargeDateformDateTimeNo
LastChargeSuccessformboolNo
IssueNowformboolNo
DoNotMailformboolNo
IsAutorenewformboolNo
IsSuspendedformboolNo
SuspendStartformDateTime?No
SuspendEndformDateTime?No
IsCancelledformboolNo
EmailAddressformstringNo
PhoneNumberformstringNo
Customer_IdformlongNo
ParentProductCategory_IdformlongNo
ProductCategory_IdformlongNo
Product_IdformlongNo
DateCreatedformDateTimeNo
LastRenewalDateformDateTime?No
LastRenewalDateDisplayformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .soap12 suffix or ?format=soap12

HTTP + SOAP12

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap12 HTTP/1.1 
Host: cdnapidev.greysheet.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<WebShoppingCartRemoveItemRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.RequestObjects">
  <CartId>0</CartId>
  <Price>0</Price>
  <ProductId>0</ProductId>
  <Skip>0</Skip>
  <Take>0</Take>
</WebShoppingCartRemoveItemRequest>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<WebShoppingCartResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.ResponseObjects">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.Api.Dto">
    <d2p1:_x003C_Active_x003E_k__BackingField>false</d2p1:_x003C_Active_x003E_k__BackingField>
    <d2p1:_x003C_Id_x003E_k__BackingField>0</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_LastModBy_x003E_k__BackingField>String</d2p1:_x003C_LastModBy_x003E_k__BackingField>
    <d2p1:_x003C_LastMod_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_LastMod_x003E_k__BackingField>
    <d2p1:_x003C_BillAddress1_x003E_k__BackingField>String</d2p1:_x003C_BillAddress1_x003E_k__BackingField>
    <d2p1:_x003C_BillAddress2_x003E_k__BackingField>String</d2p1:_x003C_BillAddress2_x003E_k__BackingField>
    <d2p1:_x003C_BillAddress3_x003E_k__BackingField>String</d2p1:_x003C_BillAddress3_x003E_k__BackingField>
    <d2p1:_x003C_BillCity_x003E_k__BackingField>String</d2p1:_x003C_BillCity_x003E_k__BackingField>
    <d2p1:_x003C_BillCompany_x003E_k__BackingField>String</d2p1:_x003C_BillCompany_x003E_k__BackingField>
    <d2p1:_x003C_BillCountry_x003E_k__BackingField>String</d2p1:_x003C_BillCountry_x003E_k__BackingField>
    <d2p1:_x003C_BillName_x003E_k__BackingField>String</d2p1:_x003C_BillName_x003E_k__BackingField>
    <d2p1:_x003C_BillProvince_x003E_k__BackingField>String</d2p1:_x003C_BillProvince_x003E_k__BackingField>
    <d2p1:_x003C_BillState_x003E_k__BackingField>String</d2p1:_x003C_BillState_x003E_k__BackingField>
    <d2p1:_x003C_BillZipCode_x003E_k__BackingField>String</d2p1:_x003C_BillZipCode_x003E_k__BackingField>
    <d2p1:_x003C_BilladdressId_x003E_k__BackingField>0</d2p1:_x003C_BilladdressId_x003E_k__BackingField>
    <d2p1:_x003C_CardCcv_x003E_k__BackingField>String</d2p1:_x003C_CardCcv_x003E_k__BackingField>
    <d2p1:_x003C_CardExp_x003E_k__BackingField>String</d2p1:_x003C_CardExp_x003E_k__BackingField>
    <d2p1:_x003C_CardHolderName_x003E_k__BackingField>String</d2p1:_x003C_CardHolderName_x003E_k__BackingField>
    <d2p1:_x003C_CardNumber_x003E_k__BackingField>String</d2p1:_x003C_CardNumber_x003E_k__BackingField>
    <d2p1:_x003C_CartItems_x003E_k__BackingField>
      <d2p1:WebShoppingCartItemDto i:nil="true" />
    </d2p1:_x003C_CartItems_x003E_k__BackingField>
    <d2p1:_x003C_CreditCardId_x003E_k__BackingField>0</d2p1:_x003C_CreditCardId_x003E_k__BackingField>
    <d2p1:_x003C_CustId_x003E_k__BackingField>String</d2p1:_x003C_CustId_x003E_k__BackingField>
    <d2p1:_x003C_EmailAddress_x003E_k__BackingField>String</d2p1:_x003C_EmailAddress_x003E_k__BackingField>
    <d2p1:_x003C_EmailId_x003E_k__BackingField>0</d2p1:_x003C_EmailId_x003E_k__BackingField>
    <d2p1:_x003C_LastActivity_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_LastActivity_x003E_k__BackingField>
    <d2p1:_x003C_PayMethodId_x003E_k__BackingField>0</d2p1:_x003C_PayMethodId_x003E_k__BackingField>
    <d2p1:_x003C_PhoneExt_x003E_k__BackingField>String</d2p1:_x003C_PhoneExt_x003E_k__BackingField>
    <d2p1:_x003C_PhoneId_x003E_k__BackingField>0</d2p1:_x003C_PhoneId_x003E_k__BackingField>
    <d2p1:_x003C_PhoneNumber_x003E_k__BackingField>String</d2p1:_x003C_PhoneNumber_x003E_k__BackingField>
    <d2p1:_x003C_ShipAddress1_x003E_k__BackingField>String</d2p1:_x003C_ShipAddress1_x003E_k__BackingField>
    <d2p1:_x003C_ShipAddress2_x003E_k__BackingField>String</d2p1:_x003C_ShipAddress2_x003E_k__BackingField>
    <d2p1:_x003C_ShipAddress3_x003E_k__BackingField>String</d2p1:_x003C_ShipAddress3_x003E_k__BackingField>
    <d2p1:_x003C_ShipCity_x003E_k__BackingField>String</d2p1:_x003C_ShipCity_x003E_k__BackingField>
    <d2p1:_x003C_ShipCompany_x003E_k__BackingField>String</d2p1:_x003C_ShipCompany_x003E_k__BackingField>
    <d2p1:_x003C_ShipCountry_x003E_k__BackingField>String</d2p1:_x003C_ShipCountry_x003E_k__BackingField>
    <d2p1:_x003C_ShipName_x003E_k__BackingField>String</d2p1:_x003C_ShipName_x003E_k__BackingField>
    <d2p1:_x003C_ShipProvince_x003E_k__BackingField>String</d2p1:_x003C_ShipProvince_x003E_k__BackingField>
    <d2p1:_x003C_ShipState_x003E_k__BackingField>String</d2p1:_x003C_ShipState_x003E_k__BackingField>
    <d2p1:_x003C_ShipZipCode_x003E_k__BackingField>String</d2p1:_x003C_ShipZipCode_x003E_k__BackingField>
    <d2p1:_x003C_ShipaddressId_x003E_k__BackingField>0</d2p1:_x003C_ShipaddressId_x003E_k__BackingField>
    <d2p1:_x003C_lastActivityDisplay_x003E_k__BackingField>String</d2p1:_x003C_lastActivityDisplay_x003E_k__BackingField>
  </Data>
  <RequestTime>String</RequestTime>
  <ResponseTime>String</ResponseTime>
  <Total>0</Total>
</WebShoppingCartResponse>

    </soap12:Body>
</soap12:Envelope>