Specify the department number field on the label (FedEx and UPS only).
import { DepartmentNumber } from "shippo/models/components";
let value: DepartmentNumber = {
refSort: 3,
};
Field | Type | Required | Description | Example |
---|---|---|---|---|
prefix |
string | ➖ | Custom prefix for department number field (ZPL labels only). Up to 11 characters, including trailing spaces. Empty string indicates removal of default prefix. To use the default prefix, do not include this property. |
|
value |
string | ➖ | Optional text to be printed on the shipping label for department number. Up to 40 characters. | |
refSort |
number | ➖ | Order UPS reference fields are printed on ZPL labels. For UPS shipments, if you choose to set ref_sort for one reference, you must set ref_sort for all other supported UPS references using unique integers. |
3 |