EMUN1 ASP.NET

<back to all web services

ImportCartItems

The following routes are available for this service:
All Verbs/service/ImportCartItems
ImportCartItems Parameters:
NameParameterData TypeRequiredDescription
itemsqueryList<CartItemImport>No
CartItemImport Parameters:
NameParameterData TypeRequiredDescription
OrderIdformstringNo
ItemformstringNo
ItemDescformstringNo
UPCformstringNo
FilenameformstringNo
QuantityformintNo
ShipNameformstringNo
ShipAddress1formstringNo
ShipAddress2formstringNo
ShipCityformstringNo
ShipStateformstringNo
ShipZipformstringNo
ShipCountryformstringNo
ShipMethodformstringNo
ShipAccountformstringNo

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

HTTP + OTHER

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

POST /service/ImportCartItems HTTP/1.1 
Host: www.bernhardt.com 
Accept: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Length: length

{"items":[{"orderId":"String","item":"String","itemDesc":"String","upc":"String","filename":"String","quantity":0,"shipName":"String","shipAddress1":"String","shipAddress2":"String","shipCity":"String","shipState":"String","shipZip":"String","shipCountry":"String","shipMethod":"String","shipAccount":"String"}]}
HTTP/1.1 200 OK
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Length: length

{}