Specify the PO number field on the label (FedEx and UPS only).
import { PoNumber } from "shippo/models/components";
let value: PoNumber = {
refSort: 2,
};
Field | Type | Required | Description | Example |
---|---|---|---|---|
prefix |
string | ➖ | Custom prefix for PO 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 PO number. Up to 40 characters. If this is provided, reference_2 will be ignored. |
|
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. |
2 |