Label Reference Fields
How to send additional text that will display on your shipping labels
See this documentation for label creation: https://idrivelogistics.readme.io/reference/post_api-v1-labels
Custom messages can be printed on the label in two separate ways, both are controlled via the shipment.packages[].options object.
On that object, there are three custom message fields that can be sent. These fields customMessage1, customMessage2 and customMessage3 will be printed on the label. There are carrier-specific length limits that apply as well. Any messages longer than those limits will be truncated.
Also on the options object is the labelFields array. These are special fields reserved by certain carriers for specific types of data. For example, a purchase order number or an RMA number will be printed on the label if provided in the labelFields array. FedEx allows for more types of label fields than UPS and the other carriers, but in general all carriers will support PURCHASE_ORDER, DEPARTMENT_NUMBER, and RMA_NUMBER.
Example:
"labelFields": [
{
"type": "PURCHASE_ORDER",
"value": "12345"
},
{
"type": "DEPARTMENT_NUMBER",
"value": "dept 1"
}
]Updated about 2 months ago
