Order Detail
Request Parameters:
Retrieve the order detail by customer and order identifier.
URL ../Api/Client/GetOrderDetail
Header:
Content-Type:application/json
Required Parameters :
Case-1. Exception Response :
Parameter :
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"B0B93485-CBB2-40DC-AB06-7D98583AA404",
"LanguageId":"1",
"OrderId":"10"
}
Response :
{
"Status": 0,
"Message": "Order not found",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Exception-2 :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"B0B93485-CBB2-40DC-AB06-7D98583AA411",
"LanguageId":"1",
"OrderId":"10"
}
Response :
{
"Status": 0,
"Message": "No customer found with id b0b93485-cbb2-40dc-ab06-7d98583aa411",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-2. Success Response :
Parameter:
{
"ApiSecretKey":"e108y110o106r113e99c102t109o105",
"CustomerGUID":"A22D997F-3D87-4FD1-8D41-22915F1A386F",
"LanguageId":"1",
"OrderId":"1"
}
Response :
{
"Status": 1,
"Message": "Success.",
"Data": {
"Items": [
{
"ProductType": "Simple",
"OrderItemGuid": "20e492fb-af52-4174-824f-a0a31f4c8916",
"Sku": "APPLE_CAM",
"ProductId": 17,
"ProductName": "Apple iCam",
"ProductSeName": "apple-icam",
"UnitPrice": "$1,300.00",
"SubTotal": "$1,300.00",
"Quantity": 1,
"AttributeInfo": "",
"RentalInfo": null,
"VendorName": "",
"DownloadId": 0,
"LicenseId": 0,
"Id": 1,
"CustomProperties": {}
},
{
"ProductType": "Simple",
"OrderItemGuid": "31fc5d93-df7b-4021-9f10-b2874b5fd225",
"Sku": "LT_MIR_DC",
"ProductId": 16,
"ProductName": "Leica T Mirrorless Digital Camera",
"ProductSeName": "leica-t-mirrorless-digital-camera",
"UnitPrice": "$530.00",
"SubTotal": "$530.00",
"Quantity": 1,
"AttributeInfo": "",
"RentalInfo": null,
"VendorName": "",
"DownloadId": 0,
"LicenseId": 0,
"Id": 2,
"CustomProperties": {}
},
{
"ProductType": "Simple",
"OrderItemGuid": "daa3bd6d-ef86-42bd-b6c4-cfa12b272202",
"Sku": "VG_CR_025",
"ProductId": 43,
"ProductName": "$25 Virtual Gift Card",
"ProductSeName": "25-virtual-gift-card",
"UnitPrice": "$25.00",
"SubTotal": "$25.00",
"Quantity": 1,
"AttributeInfo": "From: Steve Gates <steve_gates@nopCommerce.com><br />For: Brenda Lindgren <brenda_lindgren@nopCommerce.com>",
"RentalInfo": null,
"VendorName": "",
"DownloadId": 0,
"LicenseId": 0,
"Id": 3,
"CustomProperties": {}
}
],
"PrintMode": false,
"PdfInvoiceDisabled": false,
"CustomOrderNumber": "1",
"CreatedOn": "2019-06-26T16:58:05.0691448",
"OrderStatus": "Processing",
"IsReOrderAllowed": true,
"IsReturnRequestAllowed": false,
"IsShippable": true,
"PickupInStore": false,
"PickupAddress": {
"FirstName": null,
"LastName": null,
"Email": null,
"CompanyEnabled": false,
"CompanyRequired": false,
"Company": null,
"CountryEnabled": false,
"CountryId": null,
"CountryName": null,
"StateProvinceEnabled": false,
"StateProvinceId": null,
"StateProvinceName": null,
"CountyEnabled": false,
"CountyRequired": false,
"County": null,
"CityEnabled": false,
"CityRequired": false,
"City": null,
"StreetAddressEnabled": false,
"StreetAddressRequired": false,
"Address1": null,
"StreetAddress2Enabled": false,
"StreetAddress2Required": false,
"Address2": null,
"ZipPostalCodeEnabled": false,
"ZipPostalCodeRequired": false,
"ZipPostalCode": null,
"PhoneEnabled": false,
"PhoneRequired": false,
"PhoneNumber": null,
"FaxEnabled": false,
"FaxRequired": false,
"FaxNumber": null,
"AvailableCountries": [],
"AvailableStates": [],
"FormattedCustomAddressAttributes": null,
"CustomAddressAttributes": [],
"Id": 0,
"CustomProperties": {}
},
"ShippingStatus": "Not yet shipped",
"ShippingAddress": {
"FirstName": "Steve",
"LastName": "Gates",
"Email": "steve_gates@nopCommerce.com",
"CompanyEnabled": true,
"CompanyRequired": false,
"Company": "Steve Company",
"CountryEnabled": true,
"CountryId": 1,
"CountryName": "United States",
"StateProvinceEnabled": true,
"StateProvinceId": 47,
"StateProvinceName": "California",
"CountyEnabled": false,
"CountyRequired": false,
"County": null,
"CityEnabled": true,
"CityRequired": true,
"City": "Los Angeles",
"StreetAddressEnabled": true,
"StreetAddressRequired": true,
"Address1": "750 Bel Air Rd.",
"StreetAddress2Enabled": true,
"StreetAddress2Required": false,
"Address2": "",
"ZipPostalCodeEnabled": true,
"ZipPostalCodeRequired": true,
"ZipPostalCode": "90077",
"PhoneEnabled": true,
"PhoneRequired": true,
"PhoneNumber": "87654321",
"FaxEnabled": true,
"FaxRequired": false,
"FaxNumber": "",
"AvailableCountries": [],
"AvailableStates": [],
"FormattedCustomAddressAttributes": "",
"CustomAddressAttributes": [],
"Id": 11,
"CustomProperties": {}
},
"ShippingMethod": "Ground",
"Shipments": [],
"BillingAddress": {
"FirstName": "Steve",
"LastName": "Gates",
"Email": "steve_gates@nopCommerce.com",
"CompanyEnabled": true,
"CompanyRequired": false,
"Company": "Steve Company",
"CountryEnabled": true,
"CountryId": 1,
"CountryName": "United States",
"StateProvinceEnabled": true,
"StateProvinceId": 47,
"StateProvinceName": "California",
"CountyEnabled": false,
"CountyRequired": false,
"County": null,
"CityEnabled": true,
"CityRequired": true,
"City": "Los Angeles",
"StreetAddressEnabled": true,
"StreetAddressRequired": true,
"Address1": "750 Bel Air Rd.",
"StreetAddress2Enabled": true,
"StreetAddress2Required": false,
"Address2": "",
"ZipPostalCodeEnabled": true,
"ZipPostalCodeRequired": true,
"ZipPostalCode": "90077",
"PhoneEnabled": true,
"PhoneRequired": true,
"PhoneNumber": "87654321",
"FaxEnabled": true,
"FaxRequired": false,
"FaxNumber": "",
"AvailableCountries": [],
"AvailableStates": [],
"FormattedCustomAddressAttributes": "",
"CustomAddressAttributes": [],
"Id": 10,
"CustomProperties": {}
},
"VatNumber": "",
"PaymentMethod": "Check / Money Order",
"PaymentMethodStatus": "Paid",
"CanRePostProcessPayment": false,
"CustomValues": {},
"OrderSubtotal": "$1,855.00",
"OrderSubTotalDiscount": null,
"OrderShipping": "$0.00",
"PaymentMethodAdditionalFee": null,
"CheckoutAttributeInfo": "",
"PricesIncludeTax": true,
"DisplayTaxShippingInfo": false,
"Tax": "$0.00",
"TaxRates": [
{
"Rate": "0",
"Value": "$0.00",
"CustomProperties": {}
}
],
"DisplayTax": true,
"DisplayTaxRates": false,
"OrderTotalDiscount": null,
"RedeemedRewardPoints": 0,
"RedeemedRewardPointsAmount": null,
"OrderTotal": "$1,855.00",
"GiftCards": [],
"ShowSku": true,
"OrderNotes": [],
"ShowVendorName": false,
"Id": 1,
"CustomProperties": {}
},
"ValidationMessage": [],
"ErrorMessage": null
}