The Orders namespace has Entities and Operations used for orders and other related Entities such as DeliveryNotes and Invoices. This namespace has nothing to do with the Checkout process where orders are created, but is more related to order history shown on pages like MyPage and such. The Order history in Storm is mostly a snapshot view of the orders as they looked when they got created in Storm, unless process integrations exists where DeliveryNotes and Invoices are passed to Storm.
Documentation OrderService (1.1)
- application/json
- application/xml
The DeliveryNote to insert.
The external number of the DeliveryNote. Usually a number from the ERP system. MaxLength: 50.
The external order number of the Order related to the DeliveryNote. This usually comes from an ERP. MaxLength: 50.
The culture code of the DeliveryNote. This is the culture code used when asking for DeliveryNotes, not the original. MaxLength: 16.
Package information for the DeliveryNote.
The status text of the DeliveryNote. See ListOrderStatuses for information about available statuses. MaxLength: 50.
https://demo.storm.io/api/1.1/OrderService.svc/rest/InsertDeliveryNote
- cURL
- JS
- C#
curl -i -X POST \
https://demo.storm.io/api/1.1/OrderService.svc/rest/InsertDeliveryNote \
-H 'Content-Type: application/json' \
-d '{
"Id": 0,
"NoteNo": "string",
"DeliveryDate": "2019-08-24T14:15:22Z",
"NoteText": "string",
"DeliveryMode": "string",
"OrderNo": "string",
"OrderDate": "2019-08-24T14:15:22Z",
"Culture": "string",
"YourReference": "string",
"SellTo": {
"Company": {
"Id": 0,
"No": "string",
"Name": "string",
"OrgNo": "string"
},
"Customer": {
"Id": 0,
"No": "string",
"FirstName": "string",
"LastName": "string",
"SSN": "string",
"Email": "string",
"Phone": "string",
"CellPhone": "string"
},
"Address": {
"Line1": "string",
"Line2": "string",
"CareOf": "string",
"City": "string",
"ZipCode": "string",
"Country": "string",
"CountryCode": "string",
"Region": "string",
"ShippingPhoneNumber": "string",
"GlobalLocationNo": "string"
},
"DropPointCode": "string"
},
"BillTo": {
"Company": {
"Id": 0,
"No": "string",
"Name": "string",
"OrgNo": "string"
},
"Customer": {
"Id": 0,
"No": "string",
"FirstName": "string",
"LastName": "string",
"SSN": "string",
"Email": "string",
"Phone": "string",
"CellPhone": "string"
},
"Address": {
"Line1": "string",
"Line2": "string",
"CareOf": "string",
"City": "string",
"ZipCode": "string",
"Country": "string",
"CountryCode": "string",
"Region": "string",
"ShippingPhoneNumber": "string",
"GlobalLocationNo": "string"
},
"DropPointCode": "string"
},
"ShipTo": {
"Company": {
"Id": 0,
"No": "string",
"Name": "string",
"OrgNo": "string"
},
"Customer": {
"Id": 0,
"No": "string",
"FirstName": "string",
"LastName": "string",
"SSN": "string",
"Email": "string",
"Phone": "string",
"CellPhone": "string"
},
"Address": {
"Line1": "string",
"Line2": "string",
"CareOf": "string",
"City": "string",
"ZipCode": "string",
"Country": "string",
"CountryCode": "string",
"Region": "string",
"ShippingPhoneNumber": "string",
"GlobalLocationNo": "string"
},
"DropPointCode": "string"
},
"SMSNotificationNumber": "string",
"Items": [
{
"Id": 0,
"RowNumber": 0,
"ItemNo": "string",
"ItemDescription": "string",
"QtyOrdered": 0,
"QtyDelivered": 0,
"QtyBackordered": 0,
"Comment": "string",
"TrackingCodes": [
{
"Id": 0,
"FreightForwarder": "string",
"TrackingCode": "string"
}
],
"Status": "string"
}
],
"Packages": [
{
"Id": 0,
"ParcelNumber": "string",
"Status": "string"
}
],
"DivisionCode": "string",
"Status": "string",
"Info": [
{
"Code": "string",
"Name": "string",
"Description": "string",
"Value": "string"
}
]
}'
Success
- application/json
- application/xml
The external number of the DeliveryNote. Usually a number from the ERP system. MaxLength: 50.
The external order number of the Order related to the DeliveryNote. This usually comes from an ERP. MaxLength: 50.
The culture code of the DeliveryNote. This is the culture code used when asking for DeliveryNotes, not the original. MaxLength: 16.
Package information for the DeliveryNote.
The status text of the DeliveryNote. See ListOrderStatuses for information about available statuses. MaxLength: 50.
{ "Id": 0, "NoteNo": "string", "DeliveryDate": "2019-08-24T14:15:22Z", "NoteText": "string", "DeliveryMode": "string", "OrderNo": "string", "OrderDate": "2019-08-24T14:15:22Z", "Culture": "string", "YourReference": "string", "SellTo": { "Company": { … }, "Customer": { … }, "Address": { … }, "DropPointCode": "string" }, "BillTo": { "Company": { … }, "Customer": { … }, "Address": { … }, "DropPointCode": "string" }, "ShipTo": { "Company": { … }, "Customer": { … }, "Address": { … }, "DropPointCode": "string" }, "SMSNotificationNumber": "string", "Items": [ { … } ], "Packages": [ { … } ], "DivisionCode": "string", "Status": "string", "Info": [ { … } ] }
- application/json
- application/xml
The DeliveryNotePackage to update. The DeliveryNotePackage must have and Id and Status defined or an exception will be raised.
The external parcel number of the DeliveryNotePackage from the Speditor. Used to track parcels online. MaxLength: 50.
https://demo.storm.io/api/1.1/OrderService.svc/rest/UpdateDeliveryNotePackage
- cURL
- JS
- C#
curl -i -X POST \
https://demo.storm.io/api/1.1/OrderService.svc/rest/UpdateDeliveryNotePackage \
-H 'Content-Type: application/json' \
-d '{
"Id": 0,
"ParcelNumber": "string",
"Status": "string"
}'