Barcode format for shipping order #

Comments

3 comments

  • Official comment
    Avatar
    Erin E.

     Hello James, 

     

    Thanks for your post and for joining our Community.

     

     Our barcodes use Code 128 Auto by default. Also, each order that imports into ShipStation has a unique order id that is generated for it. We use that order id and hex encode it to make for the fastest action in ShipStation.

     

    We do know that some users have used the ShipStation API to pull the OrderID and generate the barcode outside of ShipStation, however this is not something we would support as we cannot guarantee the functionality.

     

    Let me know if this helps you out. 

     

    -Erin: Your Friendly ShipStation Community Moderator 

    Comment actions Permalink
  • Avatar
    James Moore

    Thanks so much for you answer.  

    I can get the orderid from the API and generate a 128 barcode. To convert to hex is it a simple bin2hex function call (PHP)?

    so orderid = 451354270
    bin2hex(451354270) = 343531333534323730

    Which does not seem to scan in our shipstation. The scan is successful (like in wordpad/notepad) but shipstation just beeps and does not load the order. The order id is a valid shipstation order awaiting shipment. Any help (I understand not officially supported) would be great!

    0
    Comment actions Permalink
  • Avatar
    Erin E.

    Hey James, 

    Apologies that I did not see this sooner. Were you able to figure this out and get your barcodes to work or are you still having trouble with the encoding? 

    Please let us know either way. 

     

    -Erin: Your Friendly ShipStation Community Moderator

    0
    Comment actions Permalink

Please sign in to leave a comment.