X-API-KEY: ********************{
"ids": "string",
"parcelNrs": "string",
"senderParcelNrs": "string",
"updateBagNr": "string",
"linkShipmentId": 0,
"allowPartialSuccess": true
}curl --location --request POST 'https://api.test.post-plus.io/api/v1/parcels/update-references-many' \
--header 'Accept: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ids": "string",
"parcelNrs": "string",
"senderParcelNrs": "string",
"updateBagNr": "string",
"linkShipmentId": 0,
"allowPartialSuccess": true
}'{
"successParcelsCount": 5,
"failedParcelsCount": 1,
"parcels": [
{
"identifiers": {
"id": 1234,
"parcelNr": "RS12345678US",
"senderParcelNr": "client-id-123"
},
"references": {
"shipmentId": 0,
"shipmentNr": "123-000000123",
"bagNr": "bag-001",
"carrier": "string",
"carrierServiceCode": "string",
"carrierParcelNr": "string",
"manifestParcelNr": "string",
"printId": 1234567890,
"externalIds": 1234567890
},
"error": "Parcel is already linked to manifested shipment SH001"
}
],
"failedParcels": [
{
"identifiers": {
"id": 1234,
"parcelNr": "RS12345678US",
"senderParcelNr": "client-id-123"
},
"references": {
"shipmentId": 0,
"shipmentNr": "123-000000123",
"bagNr": "bag-001",
"carrier": "string",
"carrierServiceCode": "string",
"carrierParcelNr": "string",
"manifestParcelNr": "string",
"printId": 1234567890,
"externalIds": 1234567890
},
"error": "Parcel is already linked to manifested shipment SH001"
}
],
"bagNrs": [
"string"
],
"failedBagNrs": [
"string"
]
}