Length of Order ID

numcha
New Member
1 0 0

The example payloads here contain order IDs and line item IDs that are larger than the max safe integer as defined in IEEE754.

For example, pasting the order ID to a browser console:

 

820982911946154508 > Number.MAX_SAFE_INTEGER
true

 

 

Should I expect IDs from Shopify that are larger than `MAX_SAFE_INTEGER`? Or is this unlikely?

 

Thanks,
Numcha

0 Likes