Cdn API - CPG Source

<back to all web services

WebShoppingCartUpdateRequest

Cdn.Api

The following routes are available for this service:
POST/WebShoppingCartUpdateRequest
WebShoppingCartUpdateRequest Parameters:
NameParameterData TypeRequiredDescription
CartIdbodylongNo
CustIdbodystringNo
BillAddressIdbodylongNo
BillFullNamebodystringNo
BillCompanybodystringNo
BillAddress1bodystringNo
BillAddress2bodystringNo
BillCitybodystringNo
BillStatebodystringNo
BillZipCodebodystringNo
BillProvincebodystringNo
BillCountrybodystringNo
ShipAddressIdbodylongNo
ShipFullNamebodystringNo
ShipCompanybodystringNo
ShipAddress1bodystringNo
ShipAddress2bodystringNo
ShipCitybodystringNo
ShipStatebodystringNo
ShipZipCodebodystringNo
ShipProvincebodystringNo
ShipCountrybodystringNo
EmailAddressbodystringNo
PhoneNumberbodystringNo
PhoneExtbodystringNo
CardIdbodylongNo
CardHolderNamebodystringNo
CardNumberbodystringNo
CardExpbodystringNo
CardCcvbodystringNo
ShipTypebodyintNo
ShippingbodydecimalNo
PayMethodIdbodylongNo
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
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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /WebShoppingCartUpdateRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"CartId":0,"CustId":"String","BillAddressId":0,"BillFullName":"String","BillCompany":"String","BillAddress1":"String","BillAddress2":"String","BillCity":"String","BillState":"String","BillZipCode":"String","BillProvince":"String","BillCountry":"String","ShipAddressId":0,"ShipFullName":"String","ShipCompany":"String","ShipAddress1":"String","ShipAddress2":"String","ShipCity":"String","ShipState":"String","ShipZipCode":"String","ShipProvince":"String","ShipCountry":"String","EmailAddress":"String","PhoneNumber":"String","PhoneExt":"String","CardId":0,"CardHolderName":"String","CardNumber":"String","CardExp":"String","CardCcv":"String","ShipType":0,"Shipping":0,"PayMethodId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Data":{"CustId":"String","LastActivity":"\/Date(-62135596800000-0000)\/","lastActivityDisplay":"String","BilladdressId":0,"ShipaddressId":0,"EmailId":0,"CreditCardId":0,"PhoneId":0,"PayMethodId":0,"BillName":"String","BillCompany":"String","BillAddress1":"String","BillAddress2":"String","BillAddress3":"String","BillCity":"String","BillState":"String","BillZipCode":"String","BillProvince":"String","BillCountry":"String","ShipName":"String","ShipCompany":"String","ShipAddress1":"String","ShipAddress2":"String","ShipAddress3":"String","ShipCity":"String","ShipState":"String","ShipZipCode":"String","ShipProvince":"String","ShipCountry":"String","EmailAddress":"String","PhoneNumber":"String","PhoneExt":"String","CardHolderName":"String","CardNumber":"String","CardExp":"String","CardCcv":"String","CartItems":[{}],"Id":0,"Active":false,"LastMod":"\/Date(-62135596800000-0000)\/","LastModBy":"String"},"Total":0,"RequestTime":"String","ResponseTime":"String"}