post http://staging-apigateway.snapdeal.com/seller-api/orders/suborder/bulk/status
This API updates the status of a suborder. Allowed status in Out of Stock. Multiple updates are allowed at a time. Here we need to use "siReferenceCode" of suborder as key.
siReferenceCode : This is associated with item(suborder) level. This value can be fetched from "/orders/new/{packageReferenceCode}" api under packages -> items -> siReferenceCode
Note
Sub orders belonging to any Fulfillment mode except SD+.
Allowed status: PFFRequest allowed values:
Allowed marking status - OOS
Request
| ParameterName | DataType | ParameterType | Requirement | Description |
|---|---|---|---|---|
| subOrderStatusUpdates | Map<String, String> | Body | Mandatory | It is a Map<String, String> where Sub order item reference code is the key and status 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 |
|---|---|---|
| subOrderStatusUpdatesResponse | Map<String, UpdateResponse> | Map of Sub order item reference 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. |
