EMUN1 ASP.NET

<back to all web services

UpdateMailchimpProduct

The following routes are available for this service:
All Verbs/service/UpdateMailchimpProduct
UpdateMailchimpProduct Parameters:
NameParameterData TypeRequiredDescription
StoreIdquerystringNo
Product Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
TitleformstringNo
HandleformstringNo
UrlformstringNo
DescriptionformstringNo
TypeformstringNo
VendorformstringNo
ImageUrlformstringNo
VariantsformIList<Variant>No
PublishedAtForeignformstringNo
ImagesformIList<Image>No
LinksformIList<Link>No
Variant Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
TitleformstringNo
UrlformstringNo
SkuformstringNo
PriceformdoubleNo
InventoryQuantityformintNo
ImageUrlformstringNo
BackordersformstringNo
VisibilityformstringNo
CreatedAtformDateTime?No
UpdatedAtformDateTime?No
LinksformIList<Link>No
Link Parameters:
NameParameterData TypeRequiredDescription
HrefformstringNo
MethodformMethodNo
RelformstringNo
SchemaformstringNo
TargetSchemaformstringNo
Image Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
UrlformstringNo
VariantIdsformIList<string>No
LinksformIList<Link>No

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

HTTP + XML

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

POST /service/UpdateMailchimpProduct HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<UpdateMailchimpProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mailchimp">
  <Description xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models">String</Description>
  <Handle xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models">String</Handle>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models">String</Id>
  <ImageUrl xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models">String</ImageUrl>
  <Images i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models" />
  <Links i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models" />
  <PublishedAtForeign xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models">String</PublishedAtForeign>
  <Title xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models">String</Title>
  <Type xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models">String</Type>
  <Url xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models">String</Url>
  <Variants i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models" />
  <Vendor xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models">String</Vendor>
  <StoreId>String</StoreId>
</UpdateMailchimpProduct>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models">
  <Description>String</Description>
  <Handle>String</Handle>
  <Id>String</Id>
  <ImageUrl>String</ImageUrl>
  <Images i:nil="true" />
  <Links i:nil="true" />
  <PublishedAtForeign>String</PublishedAtForeign>
  <Title>String</Title>
  <Type>String</Type>
  <Url>String</Url>
  <Variants i:nil="true" />
  <Vendor>String</Vendor>
</Product>