POST api/cart/sync?orderId={orderId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orderId | string |
None. |
Body Parameters
Collection of CartModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CouponCode | string |
None. |
|
| Amount | decimal number |
None. |
|
| Discount | decimal number |
None. |
|
| UserId | integer |
None. |
|
| CreatedDtm | date |
None. |
|
| IpAddress | string |
None. |
|
| UpdatedDtm | date |
None. |
|
| OrderStatus | integer |
None. |
|
| ParentId | integer |
None. |
|
| Quantity | integer |
None. |
|
| UnitPrice | decimal number |
None. |
|
| TotalPrice | decimal number |
None. |
|
| OrderId | integer |
None. |
|
| ApplicationId | integer |
None. |
|
| AddressId | integer |
None. |
|
| ordersId | string |
None. |
|
| UserName | string |
None. |
|
| Address | string |
None. |
|
| Name | string |
None. |
|
| PhoneNumber | string |
None. |
|
| Zip | string |
None. |
|
| State | string |
None. |
|
| Area | string |
None. |
|
| LeadId | integer |
None. |
|
| AvailableStockCount | integer |
None. |
|
| Country | string |
None. |
|
| GatewayId | integer |
None. |
|
| IsRedirect | boolean |
None. |
|
| ReturnUrl | string |
None. |
|
| IsBuyNow | boolean |
None. |
|
| OrderType | integer |
None. |
|
| ReMark | string |
None. |
|
| InvoiceStatus | integer |
None. |
|
| StockName | string |
None. |
|
| DeliveryCharge | decimal number |
None. |
|
| IsQuote | boolean |
None. |
|
| StockId | integer |
None. |
|
| TotalProductQuantity | integer |
None. |
|
| COD | boolean |
None. |
|
| ParentName | string |
None. |
|
| ParentCaption | string |
None. |
|
| Description | string |
None. |
|
| ParentRelativeUrl | string |
None. |
|
| ImageUrl | string |
None. |
|
| CustomerId | integer |
None. |
|
| OrderSource | integer |
None. |
|
| IsExtendedWarranty | boolean |
None. |
|
| WarrantyAmount | decimal number |
None. |
|
| WarrantyType | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"CouponCode": "sample string 2",
"Amount": 1.1,
"Discount": 1.1,
"UserId": 3,
"CreatedDtm": "2026-06-04T00:54:23.6203803+02:00",
"IpAddress": "sample string 4",
"UpdatedDtm": "2026-06-04T00:54:23.6203803+02:00",
"OrderStatus": 5,
"ParentId": 6,
"Quantity": 1,
"UnitPrice": 1.1,
"TotalPrice": 1.1,
"OrderId": 7,
"ApplicationId": 8,
"AddressId": 1,
"ordersId": "sample string 9",
"UserName": "sample string 10",
"Address": "sample string 11",
"Name": "sample string 12",
"PhoneNumber": "sample string 13",
"Zip": "sample string 14",
"State": "sample string 15",
"Area": "sample string 16",
"LeadId": 1,
"AvailableStockCount": 17,
"Country": "sample string 18",
"GatewayId": 1,
"IsRedirect": true,
"ReturnUrl": "sample string 20",
"IsBuyNow": true,
"OrderType": 1,
"ReMark": "sample string 22",
"InvoiceStatus": 1,
"StockName": "sample string 23",
"DeliveryCharge": 1.1,
"IsQuote": true,
"StockId": 1,
"TotalProductQuantity": null,
"COD": null,
"ParentName": null,
"ParentCaption": null,
"Description": null,
"ParentRelativeUrl": null,
"ImageUrl": null,
"CustomerId": 25,
"OrderSource": 26,
"IsExtendedWarranty": true,
"WarrantyAmount": 1.1,
"WarrantyType": 1
},
{
"Id": 1,
"CouponCode": "sample string 2",
"Amount": 1.1,
"Discount": 1.1,
"UserId": 3,
"CreatedDtm": "2026-06-04T00:54:23.6203803+02:00",
"IpAddress": "sample string 4",
"UpdatedDtm": "2026-06-04T00:54:23.6203803+02:00",
"OrderStatus": 5,
"ParentId": 6,
"Quantity": 1,
"UnitPrice": 1.1,
"TotalPrice": 1.1,
"OrderId": 7,
"ApplicationId": 8,
"AddressId": 1,
"ordersId": "sample string 9",
"UserName": "sample string 10",
"Address": "sample string 11",
"Name": "sample string 12",
"PhoneNumber": "sample string 13",
"Zip": "sample string 14",
"State": "sample string 15",
"Area": "sample string 16",
"LeadId": 1,
"AvailableStockCount": 17,
"Country": "sample string 18",
"GatewayId": 1,
"IsRedirect": true,
"ReturnUrl": "sample string 20",
"IsBuyNow": true,
"OrderType": 1,
"ReMark": "sample string 22",
"InvoiceStatus": 1,
"StockName": "sample string 23",
"DeliveryCharge": 1.1,
"IsQuote": true,
"StockId": 1,
"TotalProductQuantity": null,
"COD": null,
"ParentName": null,
"ParentCaption": null,
"Description": null,
"ParentRelativeUrl": null,
"ImageUrl": null,
"CustomerId": 25,
"OrderSource": 26,
"IsExtendedWarranty": true,
"WarrantyAmount": 1.1,
"WarrantyType": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfCartModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.ApplicanProgramInterface.Models">
<CartModel>
<Address>sample string 11</Address>
<AddressId>1</AddressId>
<Amount>1.1</Amount>
<ApplicationId>8</ApplicationId>
<Area>sample string 16</Area>
<AvailableStockCount>17</AvailableStockCount>
<Country>sample string 18</Country>
<CouponCode>sample string 2</CouponCode>
<CreatedDtm>2026-06-04T00:54:23.6203803+02:00</CreatedDtm>
<CustomerId>25</CustomerId>
<DeliveryCharge>1.1</DeliveryCharge>
<Discount>1.1</Discount>
<GatewayId>1</GatewayId>
<Id>1</Id>
<InvoiceStatus>1</InvoiceStatus>
<IpAddress>sample string 4</IpAddress>
<IsBuyNow>true</IsBuyNow>
<IsExtendedWarranty>true</IsExtendedWarranty>
<IsQuote>true</IsQuote>
<IsRedirect>true</IsRedirect>
<LeadId>1</LeadId>
<Name>sample string 12</Name>
<OrderId>7</OrderId>
<OrderSource>26</OrderSource>
<OrderStatus>5</OrderStatus>
<OrderType>1</OrderType>
<ParentId>6</ParentId>
<PhoneNumber>sample string 13</PhoneNumber>
<Quantity>1</Quantity>
<ReMark>sample string 22</ReMark>
<ReturnUrl>sample string 20</ReturnUrl>
<State>sample string 15</State>
<StockId>1</StockId>
<StockName>sample string 23</StockName>
<TotalPrice>1.1</TotalPrice>
<UnitPrice>1.1</UnitPrice>
<UpdatedDtm>2026-06-04T00:54:23.6203803+02:00</UpdatedDtm>
<UserId>3</UserId>
<UserName>sample string 10</UserName>
<WarrantyAmount>1.1</WarrantyAmount>
<WarrantyType>1</WarrantyType>
<Zip>sample string 14</Zip>
<ordersId>sample string 9</ordersId>
</CartModel>
<CartModel>
<Address>sample string 11</Address>
<AddressId>1</AddressId>
<Amount>1.1</Amount>
<ApplicationId>8</ApplicationId>
<Area>sample string 16</Area>
<AvailableStockCount>17</AvailableStockCount>
<Country>sample string 18</Country>
<CouponCode>sample string 2</CouponCode>
<CreatedDtm>2026-06-04T00:54:23.6203803+02:00</CreatedDtm>
<CustomerId>25</CustomerId>
<DeliveryCharge>1.1</DeliveryCharge>
<Discount>1.1</Discount>
<GatewayId>1</GatewayId>
<Id>1</Id>
<InvoiceStatus>1</InvoiceStatus>
<IpAddress>sample string 4</IpAddress>
<IsBuyNow>true</IsBuyNow>
<IsExtendedWarranty>true</IsExtendedWarranty>
<IsQuote>true</IsQuote>
<IsRedirect>true</IsRedirect>
<LeadId>1</LeadId>
<Name>sample string 12</Name>
<OrderId>7</OrderId>
<OrderSource>26</OrderSource>
<OrderStatus>5</OrderStatus>
<OrderType>1</OrderType>
<ParentId>6</ParentId>
<PhoneNumber>sample string 13</PhoneNumber>
<Quantity>1</Quantity>
<ReMark>sample string 22</ReMark>
<ReturnUrl>sample string 20</ReturnUrl>
<State>sample string 15</State>
<StockId>1</StockId>
<StockName>sample string 23</StockName>
<TotalPrice>1.1</TotalPrice>
<UnitPrice>1.1</UnitPrice>
<UpdatedDtm>2026-06-04T00:54:23.6203803+02:00</UpdatedDtm>
<UserId>3</UserId>
<UserName>sample string 10</UserName>
<WarrantyAmount>1.1</WarrantyAmount>
<WarrantyType>1</WarrantyType>
<Zip>sample string 14</Zip>
<ordersId>sample string 9</ordersId>
</CartModel>
</ArrayOfCartModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.