The issuer of a through bill of lading or other document of title embodying an undertaking to be performed in part by a person acting as its agent or by a performing carrier is liable to any person entitled to recover on the document for any breach by the other person or the performing carrier of its obligation under the document.