How to add a custom field to WooCommerce checkout page

How to modify the WooCommerce API orders response?