Getting order number from api

our interface can not get the order number only a long ID reference that means nothing to us. We also see frequent cases where the address is not sent via the api yet its on the square receipt email.

Is your interface pulling order information from Square Online Store orders or Checkout Links?