Skip to main content
Answer

Changing Labels in Easy Post

  • April 23, 2024
  • 5 replies
  • 138 views

Hi I have a question I’m trying to change the labels display names in Easy Post but I’m not sure on how that works. I copied someone’s code from over 5 years and but I tried using it and it’s not working on my end can does someone know how to change the display name from Acumatica. 

Shipment shipment = new Shipment() {
to_address = toAddress,
from_address = fromAddress,
parcel = parcel
};

//DO THIS BEFORE CREATING!
shipment.options = new Dictionary<string, object>();
shipment.options.Add("print_custom_1", "this is some sample text");
shipment.options.Add("print_custom_2", "abc");
shipment.options.Add("print_custom_3", "xyz");

shipment.Create();
var lowestRate = shipment.LowestRate(includeServices: new List<string>() { "First" }, includeCarriers: new List<string>() { "USPS" });

shipment.Buy(lowestRate);

shipment.GenerateLabel("pdf");

Best answer by schneur96

On a packages level there are Custom Ref. Fields. If these field are filled the information will show up on carrier label. 

 

 

5 replies

Forum|alt.badge.img
  • Semi-Pro III
  • December 1, 2024

Are you trying to inject your own information to what shows up on the custom ref fields, or add new fields completely?


  • Freshman I
  • December 9, 2024

Frank,

I would also like to add the order number and the items on the order to the print_custom fields.  Were you able to get this done?  it seems like it should be a setting instead of a customization.

Thank you!

Bob Cundiff


Forum|alt.badge.img
  • Semi-Pro III
  • Answer
  • December 9, 2024

On a packages level there are Custom Ref. Fields. If these field are filled the information will show up on carrier label. 

 

 


  • Freshman I
  • December 9, 2024

Interesting. Thank you for the info.  Let me check this.  I think we could create a Business event or customization to auto-populate these fields.   

Bob Cundiff


  • Freshman I
  • December 9, 2024

Thanks for the feedback. We are testing this to see.

We simply want the order number or shipment number to be in print_custom1 and the items (concatenated if there is more than one) in print_custom2.  Seems like a lot of trouble to duplicate that info in those two fields, when that information is already being sent to EasyPost.

Feeback?

Bob