In India a side-to-side movement of the head often answers a question. Wikipedia’s article on the head bobble says that “most frequently it means yes, or is used to indicate understanding.” It can also take the place of a thank-you.
The meaning depends on context. “An unenthusiastic head bobble can be a polite way of declining something without saying no directly.”