EMUN1 ASP.NET

<back to all web services

GetMailchimpOrder

The following routes are available for this service:
All Verbs/service/GetMailchimpOrder
GetMailchimpOrder Parameters:
NameParameterData TypeRequiredDescription
idquerystringNo

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/GetMailchimpOrder HTTP/1.1 
Host: www.bernhardt.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	id: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	id: String,
	customer: 
	{
		id: String,
		emailAddress: String,
		optInStatus: False,
		company: String,
		firstName: String,
		lastName: String,
		ordersCount: 0,
		totalSpent: 0,
		address: 
		{
			address1: String,
			address2: String,
			city: String,
			country: String,
			countryCode: String,
			postalCode: String,
			province: String,
			provinceCode: String
		},
		createdAt: 0001-01-01,
		updatedAt: 0001-01-01
	},
	storeId: String,
	campaignId: String,
	landingSite: String,
	financialStatus: String,
	fulfillmentStatus: String,
	currencyCode: AED,
	orderTotal: 0,
	orderUrl: String,
	discountTotal: 0,
	taxTotal: 0,
	shippingTotal: 0,
	trackingCode: String,
	processedAtForeign: String,
	cancelledAtForeign: String,
	shippingAddress: 
	{
		name: String,
		latitude: 0,
		longitude: 0,
		phone: String,
		company: String,
		address1: String,
		address2: String,
		city: String,
		country: String,
		countryCode: String,
		postalCode: String,
		province: String,
		provinceCode: String
	},
	billingAddress: 
	{
		name: String,
		latitude: 0,
		longitude: 0,
		phone: String,
		company: String,
		address1: String,
		address2: String,
		city: String,
		country: String,
		countryCode: String,
		postalCode: String,
		province: String,
		provinceCode: String
	},
	updatedAtForeign: String,
	outreach: 
	{
		id: String
	}
}