post http://staging-apigateway.snapdeal.com/seller-api/orders/suborder/bulk/imei
This API updates the IMEI number/ Serial no. of a suborder. Multiple updates are allowed.
Note
Sub orders belonging to any Fulfillment mode except SD+.
Allowed status: PFFThere is a field called "serializable" in the response of this API: http://sellerapis.snapdeal.com/docs/ordersnew
If the value of this attribute is IMEI then you need to use this API to update the IMEI of suborder/item. It is mandatory to update the IMEI for these type of cases. Else you can not print packslip and invoice, Print packslip and invoice API throws error. This also means IMEI updating can be done in PFF state only.
Request
ParameterName | DataType | ParameterType | Requirement | Description |
---|---|---|---|---|
imeiUpdates | Map<String, String> | Body | Mandatory | It is a Map<String,String> where Sub order code is the key and IMEI number is the value. |
Response
metadata :
FieldName | DataType | Description |
---|---|---|
requestId | String | Unique ID for the request |
clientId | String | Partner Id |
responseTime | Long | Response Time |
requestedURI | String | Requested URI |
message | String | Error message |
payload :
FieldName | DataType | Description |
---|---|---|
imeiUpdatesResponse | Map<String, UpdateResponse> | Map of Sub order code and UpdateResponse |
UpdateResponse
FieldName | DataType | Description |
---|---|---|
operationSuccessful | boolean | Describes whether operation Successful or not |
errorMessage | String | Error message will be given if operationSuccessful is false otherwise it will be null. |