Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 5.61 KB

departmentnumber.md

File metadata and controls

21 lines (15 loc) · 5.61 KB

DepartmentNumber

Specify the department number field on the label (FedEx and UPS only).

Example Usage

import { DepartmentNumber } from "shippo/models/components";

let value: DepartmentNumber = {
  refSort: 3,
};

Fields

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