I am trying to auto fill email and name from query params but the only way to update name is to also have a billing address set.
Hi @SunrabCela,
At the moment, the email can be filled independently using the JavaScript SDK.
However since the name is part of the billing address, it needs to be filled along side a valid address.
Here’s an example snippet to pre-fill only the email:
try {
await Snipcart.api.cart.update({
email: 'john.doe@example.com',
});
} catch (error) {
console.log(error);
}