How can I add an X-Robots-Tag to restrict indexing?

I need these pages to be closed from indexation by adding an HTTP header: X-Robots-Tag noindex but how i do this?

/cart

/carts

/admin

/orders

/checkout

/account

/search

/login_with_shop

1 Like