post http://staging-apigateway.snapdeal.com/seller-api/orders/print
This API prints packslip and invoice for given orders. OrderCodes here means packageReferenceCodes.
Note
Orders belonging to any Fulfillment mode except SD+.
Allowed status: PFF
API supports to print packslip and invoice for upto 10 Order codes at a time.Request allowed values:
fulfillmentType - DROPSHIP, VENDOR_SELF, ONESHIP, OCPLUS
Request
ParameterName | DataType | ParameterType | Requirement | Description |
---|---|---|---|---|
fulfillmentType | String | Body | Mandatory | Fulfillment model |
orderCodes | Set | Body | Mandatory | Set of packageReferenceCode |
thermalEnabled | boolean | Body | --- | Thermal Enabled packSlip Flag |
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 |
---|---|---|
downloadLink | String | Download link |
orderDetails | Map<String, UpdateResponse> | Map of 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. |