curl --request POST \
--url https://panel.sendcloud.sc/api/v2/labels \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"label": {
"parcels": [
1,
2,
3
]
}
}
'{
"label": {
"normal_printer": [
"https://panel.sendcloud.sc/api/v2/label/normal_printer?ids=1,2,3?start_from=0",
"https://panel.sendcloud.sc/api/v2/label/normal_printer?ids=1,2,3?start_from=1",
"https://panel.sendcloud.sc/api/v2/label/normal_printer?ids=1,2,3?start_from=2",
"https://panel.sendcloud.sc/api/v2/label/normal_printer?ids=1,2,3?start_from=3"
],
"label_printer": "https://panel.sendcloud.sc/api/v2/label/label_printer?ids=1,2,3"
}
}Request multiple shipping labels for an array of parcels at the same time. You will receive URLs to download the labels in PDF format, for both normal and label printers.
curl --request POST \
--url https://panel.sendcloud.sc/api/v2/labels \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"label": {
"parcels": [
1,
2,
3
]
}
}
'{
"label": {
"normal_printer": [
"https://panel.sendcloud.sc/api/v2/label/normal_printer?ids=1,2,3?start_from=0",
"https://panel.sendcloud.sc/api/v2/label/normal_printer?ids=1,2,3?start_from=1",
"https://panel.sendcloud.sc/api/v2/label/normal_printer?ids=1,2,3?start_from=2",
"https://panel.sendcloud.sc/api/v2/label/normal_printer?ids=1,2,3?start_from=3"
],
"label_printer": "https://panel.sendcloud.sc/api/v2/label/label_printer?ids=1,2,3"
}
}Basic Authentication using API key and secrets is currently the main authentication mechanism.
Show child attributes
OK
Response for multiple labels in bulk
Label
Show child attributes