Appearance
Label generation
Label generation is provided by generateLabel().
Example
ts
const result = await sdk.generateLabel({
shipment_id: [456],
});
console.log(result.label_created);
console.log(result.url);Output
The documented return type is:
label_createdurl
The SDK does not post-process the label URL. Pass one or more shipment ids in shipment_id; the same format is used by pickup and manifest generation.
See the shipments guide for the full flow.