POST api/Order/AddOrder
Request Information
URI Parameters
None.
Body Parameters
OrderName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
Type | string |
None. |
|
Marketplace | string |
None. |
|
OrderNumber | integer |
None. |
|
NSOrderNumber | string |
None. |
|
NSOrderInternalId | string |
None. |
|
AppliedOrderNumber | string |
None. |
|
OrderStatus | string |
None. |
|
NSOrderStatus | string |
None. |
|
AccountNumber | string |
None. |
|
UserName | string |
None. |
|
UserId | string |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
MiddleName | string |
None. |
|
EmailAddress | string |
None. |
|
PayPalEmailAddress | string |
None. |
|
Notes | string |
None. |
|
TrackingNumber | string |
None. |
|
LabelLocation | string |
None. |
|
TrackingNumbers | Collection of string |
None. |
|
LabelLocations | Collection of string |
None. |
|
CouponCode | string |
None. |
|
PaymentMethod | string |
None. |
|
CompanyName | string |
None. |
|
StoreCreditBonus | integer |
None. |
|
CouponDiscount | integer |
None. |
|
AdditionalStoreCredit | decimal number |
None. |
|
OrderSubTotal | decimal number |
None. |
|
OrderTotal | decimal number |
None. |
|
OrderBonus | decimal number |
None. |
|
OrderCoupon | decimal number |
None. |
|
OrderShipping | decimal number |
None. |
|
OrderPaymentFee | decimal number |
None. |
|
RewardsPoints | integer |
None. |
|
IsTotalAdjusted | boolean |
None. |
|
CreatedDate | date |
None. |
|
ModifiedDate | date |
None. |
|
ReminderDate | date |
None. |
|
Reminder2Date | date |
None. |
|
ReceivedDate | date |
None. |
|
CreatedBy | string |
None. |
|
ModifiedBy | string |
None. |
|
BillingAddress | Address |
None. |
|
ShippingAddress | Address |
None. |
|
OrderLines | Collection of OrderLine |
None. |
|
NumberOfLabels | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "Type": "sample string 2", "Marketplace": "sample string 3", "OrderNumber": 4, "NSOrderNumber": "sample string 5", "NSOrderInternalId": "sample string 6", "AppliedOrderNumber": "sample string 7", "OrderStatus": "sample string 8", "NSOrderStatus": "sample string 9", "AccountNumber": "sample string 10", "UserName": "sample string 11", "UserId": "sample string 12", "FirstName": "sample string 13", "LastName": "sample string 14", "MiddleName": "sample string 15", "EmailAddress": "sample string 16", "PayPalEmailAddress": "sample string 17", "Notes": "sample string 18", "TrackingNumber": "sample string 19", "LabelLocation": "sample string 20", "TrackingNumbers": [ "sample string 1", "sample string 2" ], "LabelLocations": [ "sample string 1", "sample string 2" ], "CouponCode": "sample string 21", "PaymentMethod": "sample string 22", "CompanyName": "sample string 23", "StoreCreditBonus": 24, "CouponDiscount": 25, "AdditionalStoreCredit": 26.1, "OrderSubTotal": 27.1, "OrderTotal": 28.1, "OrderBonus": 29.1, "OrderCoupon": 30.1, "OrderShipping": 31.1, "OrderPaymentFee": 32.1, "RewardsPoints": 33, "IsTotalAdjusted": true, "CreatedDate": "2025-03-21T19:33:48.831319+00:00", "ModifiedDate": "2025-03-21T19:33:48.831319+00:00", "ReminderDate": "2025-03-21T19:33:48.831319+00:00", "Reminder2Date": "2025-03-21T19:33:48.831319+00:00", "ReceivedDate": "2025-03-21T19:33:48.831319+00:00", "CreatedBy": "sample string 40", "ModifiedBy": "sample string 41", "BillingAddress": { "Name": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3", "AddressName": "sample string 4", "CompanyName": "sample string 5", "AddressLine1": "sample string 6", "AddressLine2": "sample string 7", "City": "sample string 8", "State": "sample string 9", "Zip": "sample string 10", "Country": "sample string 11", "HomePhone": "sample string 12", "MobilePhone": "sample string 13" }, "ShippingAddress": { "Name": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3", "AddressName": "sample string 4", "CompanyName": "sample string 5", "AddressLine1": "sample string 6", "AddressLine2": "sample string 7", "City": "sample string 8", "State": "sample string 9", "Zip": "sample string 10", "Country": "sample string 11", "HomePhone": "sample string 12", "MobilePhone": "sample string 13" }, "OrderLines": [ { "Sku": "sample string 1", "NSInternalId": "sample string 2", "Quantity": 3, "ClubCount": 4, "ClubType": "sample string 5", "ClubDexterity": "sample string 6", "ShaftType": "sample string 7", "ClubBrand": "sample string 8", "ClubModel": "sample string 9", "Condition": "sample string 10", "Location": "sample string 11", "Premium": "sample string 12", "Value": 13.1, "Cost": 14.1, "Headcover": true, "HeadcoverValue": 1.1, "Tool": true, "ToolValue": 1.1, "ShaftUpgrade": true, "ShaftUpgradeValue": 1.1 }, { "Sku": "sample string 1", "NSInternalId": "sample string 2", "Quantity": 3, "ClubCount": 4, "ClubType": "sample string 5", "ClubDexterity": "sample string 6", "ShaftType": "sample string 7", "ClubBrand": "sample string 8", "ClubModel": "sample string 9", "Condition": "sample string 10", "Location": "sample string 11", "Premium": "sample string 12", "Value": 13.1, "Cost": 14.1, "Headcover": true, "HeadcoverValue": 1.1, "Tool": true, "ToolValue": 1.1, "ShaftUpgrade": true, "ShaftUpgradeValue": 1.1 } ], "NumberOfLabels": 42 }
application/xml, text/xml
Sample:
<Order xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>sample string 1</Id> <Type>sample string 2</Type> <Marketplace>sample string 3</Marketplace> <OrderNumber>4</OrderNumber> <NSOrderNumber>sample string 5</NSOrderNumber> <NSOrderInternalId>sample string 6</NSOrderInternalId> <AppliedOrderNumber>sample string 7</AppliedOrderNumber> <OrderStatus>sample string 8</OrderStatus> <NSOrderStatus>sample string 9</NSOrderStatus> <AccountNumber>sample string 10</AccountNumber> <UserName>sample string 11</UserName> <UserId>sample string 12</UserId> <FirstName>sample string 13</FirstName> <LastName>sample string 14</LastName> <MiddleName>sample string 15</MiddleName> <EmailAddress>sample string 16</EmailAddress> <PayPalEmailAddress>sample string 17</PayPalEmailAddress> <Notes>sample string 18</Notes> <TrackingNumber>sample string 19</TrackingNumber> <LabelLocation>sample string 20</LabelLocation> <TrackingNumbers> <string>sample string 1</string> <string>sample string 2</string> </TrackingNumbers> <LabelLocations> <string>sample string 1</string> <string>sample string 2</string> </LabelLocations> <CouponCode>sample string 21</CouponCode> <PaymentMethod>sample string 22</PaymentMethod> <CompanyName>sample string 23</CompanyName> <StoreCreditBonus>24</StoreCreditBonus> <CouponDiscount>25</CouponDiscount> <AdditionalStoreCredit>26.1</AdditionalStoreCredit> <OrderSubTotal>27.1</OrderSubTotal> <OrderTotal>28.1</OrderTotal> <OrderBonus>29.1</OrderBonus> <OrderCoupon>30.1</OrderCoupon> <OrderShipping>31.1</OrderShipping> <OrderPaymentFee>32.1</OrderPaymentFee> <RewardsPoints>33</RewardsPoints> <IsTotalAdjusted>true</IsTotalAdjusted> <CreatedDate>2025-03-21T19:33:48.831319+00:00</CreatedDate> <ModifiedDate>2025-03-21T19:33:48.831319+00:00</ModifiedDate> <ReminderDate>2025-03-21T19:33:48.831319+00:00</ReminderDate> <Reminder2Date>2025-03-21T19:33:48.831319+00:00</Reminder2Date> <ReceivedDate>2025-03-21T19:33:48.831319+00:00</ReceivedDate> <CreatedBy>sample string 40</CreatedBy> <ModifiedBy>sample string 41</ModifiedBy> <BillingAddress> <Name>sample string 1</Name> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> <AddressName>sample string 4</AddressName> <CompanyName>sample string 5</CompanyName> <AddressLine1>sample string 6</AddressLine1> <AddressLine2>sample string 7</AddressLine2> <City>sample string 8</City> <State>sample string 9</State> <Zip>sample string 10</Zip> <Country>sample string 11</Country> <HomePhone>sample string 12</HomePhone> <MobilePhone>sample string 13</MobilePhone> </BillingAddress> <ShippingAddress> <Name>sample string 1</Name> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> <AddressName>sample string 4</AddressName> <CompanyName>sample string 5</CompanyName> <AddressLine1>sample string 6</AddressLine1> <AddressLine2>sample string 7</AddressLine2> <City>sample string 8</City> <State>sample string 9</State> <Zip>sample string 10</Zip> <Country>sample string 11</Country> <HomePhone>sample string 12</HomePhone> <MobilePhone>sample string 13</MobilePhone> </ShippingAddress> <OrderLines> <OrderLine> <Sku>sample string 1</Sku> <NSInternalId>sample string 2</NSInternalId> <Quantity>3</Quantity> <ClubCount>4</ClubCount> <ClubType>sample string 5</ClubType> <ClubDexterity>sample string 6</ClubDexterity> <ShaftType>sample string 7</ShaftType> <ClubBrand>sample string 8</ClubBrand> <ClubModel>sample string 9</ClubModel> <Condition>sample string 10</Condition> <Location>sample string 11</Location> <Premium>sample string 12</Premium> <Value>13.1</Value> <Cost>14.1</Cost> <Headcover>true</Headcover> <HeadcoverValue>1.1</HeadcoverValue> <Tool>true</Tool> <ToolValue>1.1</ToolValue> <ShaftUpgrade>true</ShaftUpgrade> <ShaftUpgradeValue>1.1</ShaftUpgradeValue> </OrderLine> <OrderLine> <Sku>sample string 1</Sku> <NSInternalId>sample string 2</NSInternalId> <Quantity>3</Quantity> <ClubCount>4</ClubCount> <ClubType>sample string 5</ClubType> <ClubDexterity>sample string 6</ClubDexterity> <ShaftType>sample string 7</ShaftType> <ClubBrand>sample string 8</ClubBrand> <ClubModel>sample string 9</ClubModel> <Condition>sample string 10</Condition> <Location>sample string 11</Location> <Premium>sample string 12</Premium> <Value>13.1</Value> <Cost>14.1</Cost> <Headcover>true</Headcover> <HeadcoverValue>1.1</HeadcoverValue> <Tool>true</Tool> <ToolValue>1.1</ToolValue> <ShaftUpgrade>true</ShaftUpgrade> <ShaftUpgradeValue>1.1</ShaftUpgradeValue> </OrderLine> </OrderLines> <NumberOfLabels>42</NumberOfLabels> </Order>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.