ShipmentDetails
Request Parameters:
Submits the return request for order.
URL: ../Api/Client/ShipmentDetails
Header:
Content-Type:application/json
Required Parameters : CustomerGUID, ShipmentId
Resource string : Plugins.XcellenceIT.WebApiClient.Message.Order.NotFoundForShipment
Case-1. Exception Response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"ShipmentId":""
}
Response :
{
"Status": 0,
"Message": "Request cannot be empty",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-2. Validating parameters :
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"ShipmentId":"1"
}
Response :
{
"Status": 0,
"Message": "Order not found for shipment id : 1",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-3. Success Response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"ShipmentId":"6"
}
Response :
{
"Status": 1,
"Message": "Success",
"Data": {
"TrackingNumber": "abc123",
"TrackingNumberUrl": null,
"ShippedDate": "2018-12-15T09:55:28.7509748+05:30",
"DeliveryDate": "2018-12-15T09:55:33.0676969+05:30",
"ShipmentStatusEvents": [],
"ShowSku": true,
"Items": [
{
"Sku": "N_1020_LU",
"ProductId": 20,
"ProductName": "Nokia Lumia 1020",
"ProductSeName": "nokia-lumia-1020",
"AttributeInfo": "",
"RentalInfo": null,
"QuantityOrdered": 1,
"QuantityShipped": 1,
"Id": 7,
"CustomProperties": {}
}
],
"Order": {
"PrintMode": false,
"PdfInvoiceDisabled": false,
"CustomOrderNumber": "21",
"CreatedOn": "2018-12-15T09:52:13.7129974+05:30",
"OrderStatus": "Complete",
"IsReOrderAllowed": true,
"IsReturnRequestAllowed": true,
"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": "Delivered",
"ShippingAddress": {
"FirstName": "John",
"LastName": "Smith",
"Email": "admin@yourStore.com",
"CompanyEnabled": true,
"CompanyRequired": false,
"Company": "Nop Solutions Ltd",
"CountryEnabled": true,
"CountryId": 1,
"CountryName": "United States",
"StateProvinceEnabled": true,
"StateProvinceId": 16,
"StateProvinceName": "New York",
"CountyEnabled": false,
"CountyRequired": false,
"County": null,
"CityEnabled": false,
"CityRequired": true,
"City": "New York",
"StreetAddressEnabled": true,
"StreetAddressRequired": true,
"Address1": "21 West 52nd Street",
"StreetAddress2Enabled": true,
"StreetAddress2Required": false,
"Address2": "",
"ZipPostalCodeEnabled": true,
"ZipPostalCodeRequired": true,
"ZipPostalCode": "10021",
"PhoneEnabled": true,
"PhoneRequired": true,
"PhoneNumber": "12345678",
"FaxEnabled": true,
"FaxRequired": false,
"FaxNumber": "",
"AvailableCountries": [],
"AvailableStates": [],
"FormattedCustomAddressAttributes": "",
"CustomAddressAttributes": [],
"Id": 61,
"CustomProperties": {}
},
"ShippingMethod": "Ground",
"Shipments": [
{
"TrackingNumber": "abc123",
"ShippedDate": "2018-12-15T09:55:28.7509748+05:30",
"DeliveryDate": "2018-12-15T09:55:33.0676969+05:30",
"Id": 6,
"CustomProperties": {}
}
],
"BillingAddress": {
"FirstName": "John",
"LastName": "Smith",
"Email": "admin@yourStore.com",
"CompanyEnabled": true,
"CompanyRequired": false,
"Company": "Nop Solutions Ltd",
"CountryEnabled": true,
"CountryId": 1,
"CountryName": "United States",
"StateProvinceEnabled": true,
"StateProvinceId": 16,
"StateProvinceName": "New York",
"CountyEnabled": false,
"CountyRequired": false,
"County": null,
"CityEnabled": false,
"CityRequired": true,
"City": "New York",
"StreetAddressEnabled": true,
"StreetAddressRequired": true,
"Address1": "21 West 52nd Street",
"StreetAddress2Enabled": true,
"StreetAddress2Required": false,
"Address2": "",
"ZipPostalCodeEnabled": true,
"ZipPostalCodeRequired": true,
"ZipPostalCode": "10021",
"PhoneEnabled": true,
"PhoneRequired": true,
"PhoneNumber": "12345678",
"FaxEnabled": true,
"FaxRequired": false,
"FaxNumber": "",
"AvailableCountries": [],
"AvailableStates": [],
"FormattedCustomAddressAttributes": "",
"CustomAddressAttributes": [],
"Id": 60,
"CustomProperties": {}
},
"VatNumber": null,
"PaymentMethod": "Check / Money Order",
"PaymentMethodStatus": "Paid",
"CanRePostProcessPayment": false,
"CustomValues": {},
"OrderSubtotal": "$349.00",
"OrderSubTotalDiscount": null,
"OrderShipping": "$0.00",
"PaymentMethodAdditionalFee": null,
"CheckoutAttributeInfo": "Gift wrapping: No",
"PricesIncludeTax": false,
"DisplayTaxShippingInfo": false,
"Tax": "$0.00",
"TaxRates": [
{
"Rate": "0",
"Value": "$0.00",
"CustomProperties": {}
}
],
"DisplayTax": true,
"DisplayTaxRates": false,
"OrderTotalDiscount": null,
"RedeemedRewardPoints": -34,
"RedeemedRewardPointsAmount": "$0.00",
"OrderTotal": "$349.00",
"GiftCards": [],
"ShowSku": true,
"Items": [
{
"OrderItemGuid": "257ff2fb-e63a-43b9-a4c1-72cb3636aadc",
"Sku": "N_1020_LU",
"ProductId": 20,
"ProductName": "Nokia Lumia 1020",
"ProductSeName": "nokia-lumia-1020",
"UnitPrice": "$349.00",
"SubTotal": "$349.00",
"Quantity": 1,
"AttributeInfo": "",
"RentalInfo": null,
"VendorName": "",
"DownloadId": 0,
"LicenseId": 0,
"Id": 31,
"CustomProperties": {}
}
],
"OrderNotes": [],
"ShowVendorName": false,
"Id": 21,
"CustomProperties": {}
},
"Id": 6,
"CustomProperties": {}
},
"ValidationMessage": [],
"ErrorMessage": null
}