Cdn API

<back to all web services

WebShoppingCartAddItemRequest

Cdn.Api

The following routes are available for this service:
POST/WebShoppingCartAddItemRequest
WebShoppingCartAddItemRequest Parameters:
NameParameterData TypeRequiredDescription
CartIdbodylongNo
ProductIdbodylongNo
OrderItemTypebodylongNo
PricebodydecimalNo
IssuesbodyintNo
IsOnlinebodyboolNo
IsPrintbodyboolNo
IsSingleIssuebodyboolNo
IsSalebodyboolNo
ShipStatebodystringNo
SubscriptionIdbodylongNo
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
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 .csv suffix or ?format=csv

HTTP + CSV

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

POST /WebShoppingCartAddItemRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"CartId":0,"ProductId":0,"OrderItemType":0,"Price":0,"Issues":0,"IsOnline":false,"IsPrint":false,"IsSingleIssue":false,"IsSale":false,"ShipState":"String","SubscriptionId":0,"Skip":0,"Take":0}
HTTP/1.1 200 OK
Content-Type: text/csv
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"}