Creates a new shopping cart. Carts act as a container for pending orders.

POST {{baseUrl}}/api/ecom/shop/carts

Request Body

{"TypeOfOrder"=>"MSP", "Locale"=>"en_US", "ItemsByLicenseKey"=>nil, "ItemsByAttributes"=>[{"LicenseSeats"=>150, "LicenseCategoryName"=>"SAEP", "Years"=>"1", "LicenseKeycodeTypeId"=>3, "ItemHierarchyId"=>1, "ExpirationDate"=>nil, "VendorOrderItemCode"=>nil, "CartItemBundleId"=>1, "LicenseAttributeValue"=>110, "UsagePricingModelId"=>nil, "VaultId"=>nil, "ProductPlatformId"=>nil, "RetentionModelId"=>nil, "ProductPricingLevelId"=>nil}, {"LicenseSeats"=>150, "LicenseCategoryName"=>"SDNS", "Years"=>"1", "LicenseKeycodeTypeId"=>3, "ItemHierarchyId"=>2, "ExpirationDate"=>nil, "VendorOrderItemCode"=>nil, "CartItemBundleId"=>1, "LicenseAttributeValue"=>110, "UsagePricingModelId"=>nil, "VaultId"=>nil, "ProductPlatformId"=>nil, "RetentionModelId"=>nil, "ProductPricingLevelId"=>nil}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"VendorOrderCode":"MSP0046543056","CartOrderStatusId":1,"TypeOfOrder":"MSP","TotalAmount":1647,"TotalAmountFmt":"$1647.00","SubTotalAmount":1647,"SubTotalAmountFmt":"$1647.00","TaxAmount":0,"TaxAmountFmt":"$0.00","Locale":"en_US","SalesOrderDate":"2022-11-29T00:00:00Z","CurrencyCode":"USD","Items":[[{"CartOrderItemId":11223344,"LineItem":1,"Quantity":150,"Years":"1","ListPrice":4.99,"ListPriceFmt":"$4.99","UnitPrice":4.99,"UnitPriceFmt":"$4.99 Today","SubTotalAmount":748.5,"SubTotalAmountFmt":"$748.50 Today","SubTotalListAmount":748.5,"SubTotalListAmountFmt":"$748.50","ProductId":152200101,"ProductDescription":"Webroot Business Endpoint Protection 1 Year Parent","ProductTypeId":1,"ProductTypeDescription":"New","LicenseKeycodeTypeId":3,"LicenseCategoryName":"SAEP","LicenseCategoryDescription":"Webroot Endpoint Protection","ProductFamilyDescription":"Webroot Secure Anywhere Business","StartDate":"2022-11-29T00:00:00Z","ExpirationDate":"2023-11-29T00:00:00Z","CartItemBundleId":1,"ItemHierarchyId":1,"DependentCartOrderItemId":null,"Keycode":null,"LicenseAttributeValue":110,"LicenseAttributeValueDescription":"Monthly Sold","UsagePricingModelId":null,"UsagePricingModelName":null,"VendorOrderItemCode":null,"OrderItemUpdateTypeId":null,"LicenseSeats":1,"VaultId":null,"VaultName":null,"ProductPlatformId":null,"ProductPlatformName":null,"RetentionModelId":null,"RetentionModelName":null,"ProductPricingLevelId":1,"ProductPricingLevelDescription":"Standard"},{"CartOrderItemId":11223345,"LineItem":2,"Quantity":150,"Years":"1","ListPrice":5.99,"ListPriceFmt":"$5.99","UnitPrice":5.99,"UnitPriceFmt":"$5.99 Today","SubTotalAmount":898.5,"SubTotalAmountFmt":"$898.50 Today","SubTotalListAmount":898.5,"SubTotalListAmountFmt":"$898.50","ProductId":152300101,"ProductDescription":"Webroot DNS Protection 1 Year Parent","ProductTypeId":1,"ProductTypeDescription":"New","LicenseKeycodeTypeId":3,"LicenseCategoryName":"SDNS","LicenseCategoryDescription":"Webroot DNS Protection","ProductFamilyDescription":"Webroot Secure Anywhere Business","StartDate":"2022-11-29T00:00:00Z","ExpirationDate":"2023-11-29T00:00:00Z","CartItemBundleId":1,"ItemHierarchyId":2,"DependentCartOrderItemId":null,"Keycode":null,"LicenseAttributeValue":110,"LicenseAttributeValueDescription":"Monthly Sold","UsagePricingModelId":null,"UsagePricingModelName":null,"VendorOrderItemCode":null,"OrderItemUpdateTypeId":null,"LicenseSeats":1,"VaultId":null,"VaultName":null,"ProductPlatformId":null,"ProductPlatformName":null,"RetentionModelId":null,"RetentionModelName":null,"ProductPricingLevelId":1,"ProductPricingLevelDescription":"Standard"}]],"Customers":{"Billing":{"FirstName":"John","LastName":"Doe","Address1":"Webroot Way 21","Address2":null,"City":"Broomfield","PostalCode":"80021","State":"CO","Country":"US","CustomerEmail":"jdoe@webroot.com","CompanyName":"ACME, Inc.","ExternalCustomerKey":"E000958819","VatId":"A123456","CustomerTypeId":1,"CustomerTypeDescription":"Billing"},"Shipping":null,"Reseller":null}}