EMUN1 ASP.NET

<back to all web services

CreateMailchimpOrderLine

The following routes are available for this service:
All Verbs/service/CreateMailchimpOrderLine
CreateMailchimpOrderLine Parameters:
NameParameterData TypeRequiredDescription
StoreIdquerystringNo
OrderIdquerystringNo
Line Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
ProductIdformstringNo
ProductTitleformstringNo
ProductVariantIdformstringNo
ProductVariantTitleformstringNo
QuantityformintNo
PriceformdoubleNo
LinksformIList<Link>No
Link Parameters:
NameParameterData TypeRequiredDescription
HrefformstringNo
MethodformMethodNo
RelformstringNo
SchemaformstringNo
TargetSchemaformstringNo

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

HTTP + JSV

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

POST /service/CreateMailchimpOrderLine HTTP/1.1 
Host: www.bernhardt.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	storeId: String,
	orderId: String,
	id: String,
	productId: String,
	productTitle: String,
	productVariantId: String,
	productVariantTitle: String,
	quantity: 0,
	price: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	id: String,
	productId: String,
	productTitle: String,
	productVariantId: String,
	productVariantTitle: String,
	quantity: 0,
	price: 0
}