![](/Content/themes/base/images/glyphicons-195-question-sign.png)
GET http://webapi.mymarketing.co.il/api/commerce/Order/{orderId}
Get order by its id.
Request Information
URI Parameters
Name
Description
Type
Additional information
Required
Body Parameters
None.
Response Information
Resource Description
Order
ApiPostOrderName
Description
Type
Additional information
Gets or sets the Order ID.
Gets or sets the name of the order.
Gets or sets the external user ID.
Gets or sets the external name.
Gets or sets the first name of the customer.
Gets or sets the last name of the customer.
Gets or sets the email address of the customer.
Gets or sets the mobile number of the customer.
Gets or sets the net amount of the order.
Gets or sets the tax applied to the order.
Gets or sets the coupon code used for the order.
Gets or sets the quantity of items in the order.
Gets or sets the total amount of the order.
Gets or sets the shipping address of the order.
Gets or sets the city for the shipping address.
Gets or sets the URL associated with the order.
Gets or sets the date of purchase.
Gets or sets the last update date of the order.
Gets or sets the type of purchase.
Gets or sets the store ID associated with the order.
Gets or sets the extra property 1.
Gets or sets the extra property 2.
Gets or sets the extra property 3.
Gets or sets the extra property 4.
Gets or sets the extra property 5.
Gets or sets the extra property 6.
Gets or sets the extra property 7.
Gets or sets the extra property 8.
Gets or sets the extra property 9.
Gets or sets the extra property 10.
Gets or sets the numeric property 1.
Gets or sets the numeric property 2.
Gets or sets the numeric property 3.
Gets or sets the numeric property 4.
Gets or sets the numeric property 5.
Gets or sets the date property 1.
Gets or sets the date property 2.
Gets or sets the date property 3.
Response Formats
application/json, text/json
{ "orderId": "sample string 6", "orderName": "sample string 7", "externalId": "sample string 8", "externalName": "sample string 9", "firstName": "sample string 10", "lastName": "sample string 11", "email": "sample string 12", "mobile": "sample string 13", "netAmount": 14.1, "tax": 15.1, "coupon": "sample string 16", "quantity": 17.1, "totalAmount": 18.1, "address": "sample string 19", "city": "sample string 20", "products": [ { "id": "sample string 1", "name": "sample string 2", "quantity": 3.1, "totalAmount": 4.1, "description": "sample string 5", "sku": "sample string 6", "type": "sample string 7", "category": "sample string 8", "brand": "sample string 9", "color": "sample string 10", "size": "sample string 11", "weight": 12.1, "unitprice": 13.1, "shippingprice": 14.1, "discount": 15.1, "tax": 16.1, "eventdate": "2016-12-24T14:12:12", "scheduleddate": "2016-12-24T14:12:12", "pickupdate": "2016-12-24T14:12:12", "coupon": "sample string 20", "totalprice": 21.1, "image": "sample string 22" }, { "id": "sample string 1", "name": "sample string 2", "quantity": 3.1, "totalAmount": 4.1, "description": "sample string 5", "sku": "sample string 6", "type": "sample string 7", "category": "sample string 8", "brand": "sample string 9", "color": "sample string 10", "size": "sample string 11", "weight": 12.1, "unitprice": 13.1, "shippingprice": 14.1, "discount": 15.1, "tax": 16.1, "eventdate": "2016-12-24T14:12:12", "scheduleddate": "2016-12-24T14:12:12", "pickupdate": "2016-12-24T14:12:12", "coupon": "sample string 20", "totalprice": 21.1, "image": "sample string 22" } ], "url": "sample string 21", "purchaseDate": "2016-12-24T14:12:12", "lastUpdate": "2016-12-24T14:12:12", "purchaseType": "sample string 22", "storeId": 23, "locationType": "unknown", "ext1": "sample string 24", "ext2": "sample string 25", "ext3": "sample string 26", "ext4": "sample string 27", "ext5": "sample string 28", "ext6": "sample string 29", "ext7": "sample string 30", "ext8": "sample string 31", "ext9": "sample string 32", "ext10": "sample string 33", "num1": 1, "num2": 1, "num3": 1, "num4": 1, "num5": 1, "date1": "2016-12-24T14:12:12", "date2": "2016-12-24T14:12:12", "date3": "2016-12-24T14:12:12" }
application/xml, text/xml
<ApiPostOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models"> <address>sample string 19</address> <city>sample string 20</city> <coupon>sample string 16</coupon> <date1>2016-12-24T14:12:12</date1> <date2>2016-12-24T14:12:12</date2> <date3>2016-12-24T14:12:12</date3> <email>sample string 12</email> <ext1>sample string 24</ext1> <ext10>sample string 33</ext10> <ext2>sample string 25</ext2> <ext3>sample string 26</ext3> <ext4>sample string 27</ext4> <ext5>sample string 28</ext5> <ext6>sample string 29</ext6> <ext7>sample string 30</ext7> <ext8>sample string 31</ext8> <ext9>sample string 32</ext9> <externalId>sample string 8</externalId> <externalName>sample string 9</externalName> <firstName>sample string 10</firstName> <lastName>sample string 11</lastName> <lastUpdate>2016-12-24T14:12:12</lastUpdate> <locationType>unknown</locationType> <mobile>sample string 13</mobile> <netAmount>14.1</netAmount> <num1>1</num1> <num2>1</num2> <num3>1</num3> <num4>1</num4> <num5>1</num5> <orderId>sample string 6</orderId> <orderName>sample string 7</orderName> <products> <Product> <brand>sample string 9</brand> <category>sample string 8</category> <color>sample string 10</color> <coupon>sample string 20</coupon> <description>sample string 5</description> <discount>15.1</discount> <eventdate>2016-12-24T14:12:12</eventdate> <id>sample string 1</id> <image>sample string 22</image> <name>sample string 2</name> <pickupdate>2016-12-24T14:12:12</pickupdate> <quantity>3.1</quantity> <scheduleddate>2016-12-24T14:12:12</scheduleddate> <shippingprice>14.1</shippingprice> <size>sample string 11</size> <sku>sample string 6</sku> <tax>16.1</tax> <totalAmount>4.1</totalAmount> <totalprice>21.1</totalprice> <type>sample string 7</type> <unitprice>13.1</unitprice> <weight>12.1</weight> </Product> <Product> <brand>sample string 9</brand> <category>sample string 8</category> <color>sample string 10</color> <coupon>sample string 20</coupon> <description>sample string 5</description> <discount>15.1</discount> <eventdate>2016-12-24T14:12:12</eventdate> <id>sample string 1</id> <image>sample string 22</image> <name>sample string 2</name> <pickupdate>2016-12-24T14:12:12</pickupdate> <quantity>3.1</quantity> <scheduleddate>2016-12-24T14:12:12</scheduleddate> <shippingprice>14.1</shippingprice> <size>sample string 11</size> <sku>sample string 6</sku> <tax>16.1</tax> <totalAmount>4.1</totalAmount> <totalprice>21.1</totalprice> <type>sample string 7</type> <unitprice>13.1</unitprice> <weight>12.1</weight> </Product> </products> <purchaseDate>2016-12-24T14:12:12</purchaseDate> <purchaseType>sample string 22</purchaseType> <quantity>17.1</quantity> <storeId>23</storeId> <tax>15.1</tax> <totalAmount>18.1</totalAmount> <url>sample string 21</url> </ApiPostOrder>