Development discussions around Shopify APIs
Hi,
i'm working on Shopify Pos Ebmedded app and having an issue while trying to set customer to an order, so dispatching customer object, something like this:
let customerPayload = {
email: email,
firstName: first_name,
lastName: last_name,
id: parseInt(id)
}
cart.dispatch(Cart.Action.SET_CUSTOMER, {
data: customerPayload
});
On android everything works fine, but on iOS i get the message: "Type mismatch for idL Expected to decode UInt64 but found a string"
So obviously Integer is expected, but its as if dispatch does this conversion somehow by itself.
As stated in example, i even parsed ID, though it was already integer, but it still doesn't work..
Any kind of help would be appreciated.
Thanks in advance
Cheers
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By