Is order_id globally unique?

kaipengliu
New Member
10 0 0

hello, guys 

 

When I was developing an application, I considered whether order_id is a globally unique identifier.

 

This overall situation includes the following meanings:

1. In a specific store, order_id will not be repeated. 2. The order_id will not be the same as other (seller's) store order_id.

0 Likes
Jason
Shopify Expert
10260 142 1940

The order id will be unique on the shop so you can safely develop under that assumption. You'll have the shop id at hand as well so you should generally use that to help isolate any data your gathering from multiple shops.

I jump on these forums to help and share some insights. Not looking to be hired, and not looking for work.

Don't hand out staff invites or give admin password to forum members unless absolutely needed. In most cases the help you need can be handled without that.


★ http://freakdesign.com.au ★
0 Likes
kaipengliu
New Member
10 0 0

thank you for your help

what I want to know more is  that

Judging from your answer. It can be considered that such a situation may happen: the order numbers of different stores or other id databases may be duplicated?

0 Likes