Get Order Detail
Request Parameters:
This Method allows user to get details of particular order.
URL for nopCommerce 4.10 :
Api/Admin/GetOrderDetail
Headers :
Content-Type : application/json
Parameter:
{
"ApiSecretKey" :"k104r106p102g98k116q107x114x118" ,
"RestAPIAdminAccessKey" :"4fbdf629-be68-4371-a81d-4b191c98a52e",
"OrderId": "10"
}
Response Parameters:
{
"IsLoggedInAsVendor": false,
"Id": 10,
"OrderGuid": "9a8dbbba-db0a-47a5-b790-d0bf12391934",
"CustomOrderNumber": "10",
"StoreName": "store1",
"CustomerId": 1,
"CustomerInfo": "admin@yourStore.com",
"CustomerEmail": null,
"CustomerFullName": null,
"CustomerIp": "127.0.0.1",
"CustomValues": {},
"AffiliateId": 0,
"AffiliateName": null,
"UsedDiscounts": [],
"AllowCustomersToSelectTaxDisplayType": false,
"TaxDisplayType": 10,
"OrderSubtotalInclTax": "$1,315.00",
"OrderSubtotalExclTax": "$1,315.00",
"OrderSubTotalDiscountInclTax": null,
"OrderSubTotalDiscountExclTax": null,
"OrderShippingInclTax": "$0.00",
"OrderShippingExclTax": "$0.00",
"PaymentMethodAdditionalFeeInclTax": null,
"PaymentMethodAdditionalFeeExclTax": null,
"Tax": "$0.00",
"TaxRates": [
{
"Rate": "0",
"Value": "$0.00",
"Form": null,
"CustomProperties": {}
}
],
"DisplayTax": true,
"DisplayTaxRates": false,
"OrderTotalDiscount": null,
"RedeemedRewardPoints": 0,
"RedeemedRewardPointsAmount": null,
"OrderTotal": "$1,315.00",
"RefundedAmount": null,
"Profit": "$1,315.00",
"OrderSubtotalInclTaxValue": 1315,
"OrderSubtotalExclTaxValue": 1315,
"OrderSubTotalDiscountInclTaxValue": 0,
"OrderSubTotalDiscountExclTaxValue": 0,
"OrderShippingInclTaxValue": 0,
"OrderShippingExclTaxValue": 0,
"PaymentMethodAdditionalFeeInclTaxValue": 0,
"PaymentMethodAdditionalFeeExclTaxValue": 0,
"TaxValue": 0,
"TaxRatesValue": "0:0; ",
"OrderTotalDiscountValue": 0,
"OrderTotalValue": 1315,
"RecurringPaymentId": 0,
"OrderStatus": "Pending",
"OrderStatusId": 10,
"PaymentStatus": "Pending",
"PaymentStatusId": 0,
"PaymentMethod": "Check / Money Order",
"AllowStoringCreditCardNumber": false,
"CardType": null,
"CardName": null,
"CardNumber": null,
"CardCvv2": null,
"CardExpirationMonth": null,
"CardExpirationYear": null,
"AuthorizationTransactionId": null,
"CaptureTransactionId": null,
"SubscriptionTransactionId": null,
"IsShippable": true,
"PickUpInStore": false,
"PickupAddress": {
"FirstName": null,
"LastName": null,
"Email": null,
"Company": null,
"CountryId": null,
"CountryName": null,
"StateProvinceId": null,
"StateProvinceName": null,
"Address1": null,
"City": null,
"County": null,
"Address2": null,
"ZipPostalCode": null,
"PhoneNumber": null,
"FaxNumber": null,
"AddressHtml": null,
"FormattedCustomAddressAttributes": null,
"CustomAddressAttributes": [],
"AvailableCountries": [],
"AvailableStates": [],
"FirstNameEnabled": false,
"FirstNameRequired": false,
"LastNameEnabled": false,
"LastNameRequired": false,
"EmailEnabled": false,
"EmailRequired": false,
"CompanyEnabled": false,
"CompanyRequired": false,
"CountryEnabled": false,
"CountryRequired": false,
"StateProvinceEnabled": false,
"CityEnabled": false,
"CityRequired": false,
"CountyEnabled": false,
"CountyRequired": false,
"StreetAddressEnabled": false,
"StreetAddressRequired": false,
"StreetAddress2Enabled": false,
"StreetAddress2Required": false,
"ZipPostalCodeEnabled": false,
"ZipPostalCodeRequired": false,
"PhoneEnabled": false,
"PhoneRequired": false,
"FaxEnabled": false,
"FaxRequired": false,
"Id": 0,
"Form": null,
"CustomProperties": {}
},
"PickupAddressGoogleMapsUrl": null,
"ShippingStatus": "Not yet shipped",
"ShippingStatusId": 0,
"ShippingAddress": {
"FirstName": "John",
"LastName": "Smith",
"Email": "admin@yourStore.com",
"Company": "Nop Solutions Ltd",
"CountryId": 1,
"CountryName": "United States",
"StateProvinceId": 16,
"StateProvinceName": "New York",
"Address1": "21 West 52nd Street",
"City": "New York",
"County": null,
"Address2": "",
"ZipPostalCode": "10021",
"PhoneNumber": "12345678",
"FaxNumber": "",
"AddressHtml": null,
"FormattedCustomAddressAttributes": "",
"CustomAddressAttributes": [],
"AvailableCountries": [],
"AvailableStates": [],
"FirstNameEnabled": true,
"FirstNameRequired": true,
"LastNameEnabled": true,
"LastNameRequired": true,
"EmailEnabled": true,
"EmailRequired": true,
"CompanyEnabled": true,
"CompanyRequired": false,
"CountryEnabled": true,
"CountryRequired": true,
"StateProvinceEnabled": true,
"CityEnabled": true,
"CityRequired": true,
"CountyEnabled": false,
"CountyRequired": false,
"StreetAddressEnabled": true,
"StreetAddressRequired": true,
"StreetAddress2Enabled": true,
"StreetAddress2Required": false,
"ZipPostalCodeEnabled": true,
"ZipPostalCodeRequired": true,
"PhoneEnabled": true,
"PhoneRequired": true,
"FaxEnabled": true,
"FaxRequired": false,
"Id": 30,
"Form": null,
"CustomProperties": {}
},
"ShippingMethod": "Ground",
"ShippingAddressGoogleMapsUrl": "https://maps.google.com/maps?f=q&hl=en&ie=UTF8&oe=UTF8&geocode=&q=21+West+52nd+Street+10021+New+York+United+States",
"CanAddNewShipments": true,
"BillingAddress": {
"FirstName": "John",
"LastName": "Smith",
"Email": "admin@yourStore.com",
"Company": "Nop Solutions Ltd",
"CountryId": 1,
"CountryName": "United States",
"StateProvinceId": 16,
"StateProvinceName": "New York",
"Address1": "21 West 52nd Street",
"City": "New York",
"County": null,
"Address2": "",
"ZipPostalCode": "10021",
"PhoneNumber": "12345678",
"FaxNumber": "",
"AddressHtml": null,
"FormattedCustomAddressAttributes": "",
"CustomAddressAttributes": [],
"AvailableCountries": [],
"AvailableStates": [],
"FirstNameEnabled": true,
"FirstNameRequired": true,
"LastNameEnabled": true,
"LastNameRequired": true,
"EmailEnabled": true,
"EmailRequired": true,
"CompanyEnabled": true,
"CompanyRequired": false,
"CountryEnabled": true,
"CountryRequired": true,
"StateProvinceEnabled": true,
"CityEnabled": true,
"CityRequired": true,
"CountyEnabled": false,
"CountyRequired": false,
"StreetAddressEnabled": true,
"StreetAddressRequired": true,
"StreetAddress2Enabled": true,
"StreetAddress2Required": false,
"ZipPostalCodeEnabled": true,
"ZipPostalCodeRequired": true,
"PhoneEnabled": true,
"PhoneRequired": true,
"FaxEnabled": true,
"FaxRequired": false,
"Id": 29,
"Form": null,
"CustomProperties": {}
},
"VatNumber": null,
"GiftCards": [],
"HasDownloadableProducts": false,
"Items": [
{
"ProductId": 1,
"ProductName": "Build your own computer",
"VendorName": "Vendor 1",
"Sku": "COMP_CUST",
"PictureThumbnailUrl": "http://localhost:98/images/thumbs/0000020_build-your-own-computer_75.jpeg",
"UnitPriceInclTax": "$1,315.00 incl tax",
"UnitPriceExclTax": "$1,315.00 excl tax",
"UnitPriceInclTaxValue": 1315,
"UnitPriceExclTaxValue": 1315,
"Quantity": 1,
"DiscountInclTax": "$0.00 incl tax",
"DiscountExclTax": "$0.00 excl tax",
"DiscountInclTaxValue": 0,
"DiscountExclTaxValue": 0,
"SubTotalInclTax": "$1,315.00 incl tax",
"SubTotalExclTax": "$1,315.00 excl tax",
"SubTotalInclTaxValue": 1315,
"SubTotalExclTaxValue": 1315,
"AttributeInfo": "Processor: 2.5 GHz Intel Pentium Dual-Core E2200 [+$15.00]<br />RAM: 2 GB<br />HDD: 320 GB<br />OS: Vista Home [+$50.00]<br />Software: Microsoft Office [+$50.00]",
"RecurringInfo": null,
"RentalInfo": null,
"ReturnRequests": [],
"PurchasedGiftCardIds": [],
"IsDownload": false,
"DownloadCount": 0,
"DownloadActivationType": 0,
"IsDownloadActivated": false,
"LicenseDownloadGuid": "00000000-0000-0000-0000-000000000000",
"Id": 21,
"Form": null,
"CustomProperties": {}
}
],
"CreatedOn": "2018-08-29T11:07:53.7000856",
"CheckoutAttributeInfo": "Gift wrapping: No",
"AddOrderNoteDisplayToCustomer": false,
"AddOrderNoteMessage": null,
"AddOrderNoteHasDownload": false,
"AddOrderNoteDownloadId": 0,
"AmountToRefund": 0,
"MaxAmountToRefund": 1315,
"PrimaryStoreCurrencyCode": "USD",
"CanCancelOrder": true,
"CanCapture": false,
"CanMarkOrderAsPaid": true,
"CanRefund": false,
"CanRefundOffline": false,
"CanPartiallyRefund": false,
"CanPartiallyRefundOffline": false,
"CanVoid": false,
"CanVoidOffline": false,
"OrderShipmentSearchModel": {
"OrderId": 10,
"ShipmentItemSearchModel": {
"ShipmentId": 0,
"Page": 1,
"PageSize": 15,
"AvailablePageSizes": "10, 15, 20, 50, 100",
"Form": null,
"CustomProperties": {}
},
"Page": 1,
"PageSize": 15,
"AvailablePageSizes": "10, 15, 20, 50, 100",
"Form": null,
"CustomProperties": {}
},
"OrderNoteSearchModel": {
"OrderId": 10,
"Page": 1,
"PageSize": 15,
"AvailablePageSizes": "10, 15, 20, 50, 100",
"Form": null,
"CustomProperties": {}
},
"Form": null,
"CustomProperties": {}
}