Miss Manners: Who’s responsible for returning a gift that was ordered online?

We received a gift that had been ordered online by our relatives. Unfortunately, the item was damaged and needed to be returned.