POST api/Orders
Request Information
URI Parameters
None.
Body Parameters
UpdateOrderStatusArgs| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId | globally unique identifier |
None. |
|
| Status | StockOrderStatus |
None. |
|
| StatusDate | date |
None. |
|
| StatusNotes | string |
None. |
|
| ExpectedDeliveryDate | date |
None. |
|
| CustomerCode | string |
None. |
|
| UpdateOrderDetails | Collection of StockDetailResponse |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderId": "339cb64b-38f6-417f-a3d1-b139aa66901e",
"Status": 0,
"StatusDate": "2026-02-04T02:33:02.3616776+00:00",
"StatusNotes": "sample string 3",
"ExpectedDeliveryDate": "2026-02-04T02:33:02.3616776+00:00",
"CustomerCode": "sample string 4",
"UpdateOrderDetails": [
{
"StockDetailId": "db0f9070-493d-4e9e-a611-3995f5b77cc0",
"ProductId": "7fd71fbb-17f0-41ed-81a7-b64e0a25a71d",
"ProviderStatus": 0,
"ProviderNotes": "sample string 3",
"ExpectedDeliveryDate": "2026-02-04T02:33:02.3616776+00:00",
"CurrentStatus": 1,
"QuantityRequested": 1.1,
"QuantityAccepted": 1.1,
"QuantityRejected": 1.1,
"QuantitySubstituted": 1.1,
"isOrder": true,
"isDelivery": true,
"isInvoice": true
},
{
"StockDetailId": "db0f9070-493d-4e9e-a611-3995f5b77cc0",
"ProductId": "7fd71fbb-17f0-41ed-81a7-b64e0a25a71d",
"ProviderStatus": 0,
"ProviderNotes": "sample string 3",
"ExpectedDeliveryDate": "2026-02-04T02:33:02.3616776+00:00",
"CurrentStatus": 1,
"QuantityRequested": 1.1,
"QuantityAccepted": 1.1,
"QuantityRejected": 1.1,
"QuantitySubstituted": 1.1,
"isOrder": true,
"isDelivery": true,
"isInvoice": true
}
]
}
application/xml, text/xml
Sample:
<UpdateOrderStatusArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fidelity.Fusion.Catalogue.Common.Models">
<CustomerCode>sample string 4</CustomerCode>
<ExpectedDeliveryDate>2026-02-04T02:33:02.3616776+00:00</ExpectedDeliveryDate>
<OrderId>339cb64b-38f6-417f-a3d1-b139aa66901e</OrderId>
<Status>AwaitingPickup</Status>
<StatusDate>2026-02-04T02:33:02.3616776+00:00</StatusDate>
<StatusNotes>sample string 3</StatusNotes>
<UpdateOrderDetails>
<StockDetailResponse>
<CurrentStatus>1</CurrentStatus>
<ExpectedDeliveryDate>2026-02-04T02:33:02.3616776+00:00</ExpectedDeliveryDate>
<ProductId>7fd71fbb-17f0-41ed-81a7-b64e0a25a71d</ProductId>
<ProviderNotes>sample string 3</ProviderNotes>
<ProviderStatus>NoComment</ProviderStatus>
<QuantityAccepted>1.1</QuantityAccepted>
<QuantityRejected>1.1</QuantityRejected>
<QuantityRequested>1.1</QuantityRequested>
<QuantitySubstituted>1.1</QuantitySubstituted>
<StockDetailId>db0f9070-493d-4e9e-a611-3995f5b77cc0</StockDetailId>
<isDelivery>true</isDelivery>
<isInvoice>true</isInvoice>
<isOrder>true</isOrder>
</StockDetailResponse>
<StockDetailResponse>
<CurrentStatus>1</CurrentStatus>
<ExpectedDeliveryDate>2026-02-04T02:33:02.3616776+00:00</ExpectedDeliveryDate>
<ProductId>7fd71fbb-17f0-41ed-81a7-b64e0a25a71d</ProductId>
<ProviderNotes>sample string 3</ProviderNotes>
<ProviderStatus>NoComment</ProviderStatus>
<QuantityAccepted>1.1</QuantityAccepted>
<QuantityRejected>1.1</QuantityRejected>
<QuantityRequested>1.1</QuantityRequested>
<QuantitySubstituted>1.1</QuantitySubstituted>
<StockDetailId>db0f9070-493d-4e9e-a611-3995f5b77cc0</StockDetailId>
<isDelivery>true</isDelivery>
<isInvoice>true</isInvoice>
<isOrder>true</isOrder>
</StockDetailResponse>
</UpdateOrderDetails>
</UpdateOrderStatusArgs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Order| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId | globally unique identifier |
None. |
|
| CatalogueId | integer |
None. |
|
| Catalogue | Catalogue |
None. |
|
| UserId | string |
None. |
|
| User | ApplicationUser |
None. |
|
| SiteCode | integer |
None. |
|
| TCPReferenceCode | integer |
None. |
|
| TCPTransactionReference | string |
None. |
|
| TCPDateGenerated | date |
None. |
|
| TCPNote | string |
None. |
|
| TCPDateCreated | date |
None. |
|
| TCPDateModified | date |
None. |
|
| TCPDateDelivery | date |
None. |
|
| TCPSupplier | integer |
None. |
|
| DateReceived | date |
None. |
|
| DateSending | date |
None. |
|
| DateSent | date |
None. |
|
| DateResponded | date |
None. |
|
| DateResponseNotified | date |
None. |
|
| DateFailed | date |
None. |
|
| CurrentStatus | StockOrderStatus |
None. |
|
| Retries | integer |
None. |
|
| Attempt | integer |
None. |
|
| TCPDiscount | decimal number |
None. |
|
| TCPCharge | decimal number |
None. |
|
| ExpectedDeliveryDate | date |
None. |
|
| Temperature | Temperature |
None. |
|
| Details | Collection of OrderDetail |
None. |
|
| History | Collection of OrderHistory |
None. |
|
| Deliveries | Collection of Delivery |
None. |
|
| CustomerCode | string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.