put http://staging-apigateway.snapdeal.com/seller-api/ocplus/stn/
This API adds orders to an existing STN handover. Here orderCodes means packageReferenceCode
Note
Orders belonging to only Oneship Plus.
Request
ParameterName | DataType | ParameterType | Requirement | Description |
---|---|---|---|---|
orderCodes | Set | Body | Mandatory | Set of package reference codes |
handOverCode | String | Path | Mandatory | handOverCode(STN code) |
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 |
---|---|---|
handOverDetails | Map<String, UpdateResponse> | Map of Order code and UpdateResponse |
handOverCode | String | Handover code |
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. |