GET api/GetOrderShippingLabels?OrderId={OrderId}&NumberOfLabels={NumberOfLabels}
Here shipping labels can be generated and retrieved by ByteCode for the desired order
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
OrderId | string |
Required |
|
NumberOfLabels | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OrderShippingResponseName | Description | Type | Additional information |
---|---|---|---|
Status | Status |
None. |
|
ErrorMessage | string |
None. |
|
Labels | Collection of Labels |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": "SUCCESS", "ErrorMessage": "sample string 1", "Labels": [ { "Trackingnummer": "sample string 1", "LabelByteCode": "QEA=" }, { "Trackingnummer": "sample string 1", "LabelByteCode": "QEA=" } ] }
application/xml, text/xml
Sample:
<GetOrderShippingLabelsController.OrderShippingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bandel.Dropshipping.API.Controllers"> <ErrorMessage>sample string 1</ErrorMessage> <Labels> <GetOrderShippingLabelsController.Labels> <LabelByteCode>QEA=</LabelByteCode> <Trackingnummer>sample string 1</Trackingnummer> </GetOrderShippingLabelsController.Labels> <GetOrderShippingLabelsController.Labels> <LabelByteCode>QEA=</LabelByteCode> <Trackingnummer>sample string 1</Trackingnummer> </GetOrderShippingLabelsController.Labels> </Labels> <Status>SUCCESS</Status> </GetOrderShippingLabelsController.OrderShippingResponse>