Merge Label


This feature can be used to merge multiple shipment labels. Note that it will only work if the labels are already generated

Endpoint

Method URI Headers
POST parcel-orders/merge-labels default

Request

Field | Required | Type | Description
- | : | :- | ids | Yes | Array | An array container for the merged label shipment_order_ids (can be obtained from ship method)

Request Example

{
    "ids": [123412341234, 1234512345]
}

Response

Field | Type | Description
- | : | success | Boolean | true or false message | String | Message data | Object | Data container +url | String | Url for the merged label

Response Examples

Successful

{
    "success": true,
    "data": {
        "url": "https://example.com/merged-labels/url/..."
    }
}

Failed

{
    "success": false,
    "message": "2 labels could not be found. Unmatched Labels: 1530898727, 1754942186"
}