POST /v2/services/attempt
Description - API to mark service attempt done by the service partner. The next scheduled service date is also marked.
Request and Response Parameters
URL: https://api.flipkart.net/sellers/v2/services/attempt
Request Body Parameters: services
Parameter |
Type |
Requirement |
Description |
deliveryDate |
Date |
Mandatory |
The deliveryDate for the item
that has been ordered |
newDeliveryDate |
Date |
Mandatory |
new delivery attempt date for the
order |
reason |
String |
Mandatory |
reason for failure |
subReason |
String |
Mandatory |
sub reason for failure |
comments |
String |
Optional |
comments on service attempt if any |
service
FulfilmentId |
String |
Mandatory |
service fulfilment ID corresponding
to the order |
Response Body Parameters
Parameter/Attribute |
Type |
Description |
serviceFulfilmentId |
String |
Primary identifier for a specific shipment |
Status |
String |
SUCCESS or FAILURE |
failureReason |
String |
Failure reason of the attempt |
Validations
serviceFulfilmentId: should be valid serviceFulfilmentId.
Maximum 100 services per request.
Possible Error Response Codes
Error Codes |
Reason for Error |
DEPENDENT_SYSTEM_CALL_FAILED |
Error in servicing the order |
UNPROCESSABLE_ENTITY |
When invalid request is received i.e, when some mandatory requirement validations are failed. |