POST /v3/shipments/selfShip/deliveryAttempt
Description - Self Ship API to mark an attempted delivery. The next delivery date must be mentioned.
Request and Response Parameters
URL: https://api.flipkart.net/sellers/v3/shipments/selfShip/deliveryAttempt
Request Body Parameters: shipments
Parameter |
Type |
Requirement |
Description |
deliveryDate |
Date |
Mandatory |
The deliveryDate for the item
that has been ordered |
failureAttributes |
List<String> |
Mandatory |
attributes to the order that was not
delivered. will contain new delivery
date and reasons for failure |
newDeliveryDate |
Date |
Mandatory |
new delivery attempt date for the
order |
reason |
String |
Mandatory |
reason for failure |
subReason |
String |
Optional |
sub reason for failure |
locationId |
String |
Mandatory |
location ID for the order |
shipmentId |
String |
Mandatory |
Shipment ID corresponding to the
order |
Response Body Parameters
Parameter/Attribute |
Type |
Description |
shipmentId |
String |
Primary identifier for a specific shipment |
processingStatus |
String |
SUCCESS or FAILURE |
errorCode |
String |
Error code for any error |
errorMessage |
String |
Error message |
Validations
shipmentId: should be valid return id for this seller
Maximum 100 shipments per request.
Possible Error Response Codes
Error Codes |
Reason for Error |
DEPENDENT_SYSTEM_CALL_FAILED |
Error in marking the item as delivered for the shipment |
UNPROCESSABLE_ENTITY |
When invalid request is received i.e, when some mandatory requirement validations are failed. |