Checkouts

Last updated

get
GET /backend/api/customer-address HTTP/1.1
Host: 139.59.67.17
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully Get the customer Address</message>
	<address>
		<addressId>1</addressId>
		<addressLine1>text</addressLine1>
		<addressLine2>text</addressLine2>
		<city>text</city>
		<state>text</state>
		<postalCode>text</postalCode>
		<country>text</country>
	</address>
</object>
post
POST /backend/api/cart HTTP/1.1
Host: 139.59.67.17
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 183

"productId=2085&productPrice='190.00'&quantity=2&type=''&productOptionValueId=''&productVarientOptionId=''&varientName=''&skuName='tedy1'&tirePrice=''&vendorId=10"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully updated cart.</message>
</object>
post
POST /backend/api/orders/customer-checkout HTTP/1.1
Host: 139.59.67.17
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 861

"shippingFirstName='text'&shippingLastName='text'&shippingCompany='text'&shippingAddress_1='text'&shippingAddress_2='text'&shippingCity='text'&shippingPostCode='text'&shippingCountryId=1&phoneNumber='text'&paymentFirstName='text'&paymentLastName='text'&paymentCompany='text'&paymentAddress_1='text'&paymentAddress_2='text'&paymentCity='text'&paymentPostCode='text'&paymentCountryId=1&paymentZone='text'&shippingAddressFormat='text'&emailId='text'&paymentMethod=1&productDetails=[{'id':1,'productPrice':'text','tirePrice':'text','total':'text','skuName':'text','productId':1,'taxType':1,'taxValue':1,'name':'text','quantity':1,'description':'text','dateAvailable':'text'}]&couponCode='text'&couponDiscountAmount=1&couponData='text'&taxNumber='text'&state=1&shippingZone='text'&paymentMobileNumber='text'"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>You have successfully placed order. order details sent to your mail</message>
</object>