Information needed to specify a shipment to be made

interface LabelCreationInput {
    additional?: null | AdditionalDomesticInfoInput;
    carrier_specific?: null | LabelCarrierInput;
    order_info?: null | OrderInfo;
    override_service?: null | CarrierServiceLabelInput;
    package: DomesticPackageLabelInput;
    transaction_id: string;
    [field_name: string]: undefined | JsonValue;
}

Hierarchy (View Summary)

Indexable

Properties

additional?: null | AdditionalDomesticInfoInput

Additional information about the package

carrier_specific?: null | LabelCarrierInput

Shipment information only needed/supported by specific carriers

order_info?: null | OrderInfo

Additional information and requests for the shipment

override_service?: null | CarrierServiceLabelInput

Use a different service for this shipment than what was specified for the batch

Required if no service was specified for the batch

The package to be shipped

transaction_id: string

A UUID that uniquely identifies this shipment.

This ID can be used in ShipGeniusOmsClient.recoverLabel to recover the label if the label is lost in the transaction.

Warning

This ID must be a UUID and must be unique. If either of these assumptions are not met, and error will be returned.

You can use crypto.randomUUID to generate UUIDs