post http://staging-apigateway.snapdeal.com/seller-api/ocplus/stn
This API creates STN handover with the given order codes. Here orderCodes means packageReferenceCode
Note
Orders belonging to only Oneship Plus.
If a seller has created a handover but it is not yet printed and he/she tries to create a new handover with a different order, this order will be added to the existing un-printed handover.
eg. Suppose handover HOS11111 has been created with order code SLP11111.
And seller now tries to create a new handover with order SLP22222, this order will be added to previous handover HOS11111 only. No new handover will be created.
This won't be the case if existing handover is already printed. In this case a new handover will be created.
Request
ParameterName | DataType | ParameterType | Requirement | Description |
---|---|---|---|---|
orderCodes | Set | Body | Mandatory | Set of package reference codes |
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. |