Store language for checkout

basterbruggebasterbrugge Member Posts: 3

Hi,

I'm trying to find out in which language the store was when a checkout was created by a customer. I can't find a field in the checkout payload that indicates in which language the order was created (which is useful for multilingual communication to our users).

Can you help me out?


Thx,

Bas

1 comment

  • LeahLeah Moderator, Lightspeed Staff Posts: 115 moderator

    Hi @Bas there is no indication in the checkout response what the selected shop language was, since this is managed on the front end and these details are not sent to the database. The best way to ensure customers are communicated with in their chosen language would be to call the customer endpoint and check the language settings there. Note: email notifications coming directly from the shop are already sent in this selected language.

    API Support
    Lightspeed HQ
Sign In or Register to comment.