I have an app where I'm trying to model sales. I'm looking at knowing where an order was made.
To expand a bit further, I would also like to know more about the relationship between
1. Locations and OriginLocations
2. Channels and OriginLocations
3. Product Availability and Locations. This is just governed by InventoryLevels, right?
4. "Physical" Location and Location. I think there isn't a difference, but the API docs make reference to both.
It seems like there is an OriginLocation created for each Location, right? But they have different IDs. Is there any way to find a mapping between the two?
Additionally there is an OriginLocation created for the store itself.
Then a Channel can have 1 or more OriginLocations, right? Like, "web"/"online store" has a single OriginLocation, while "pos" has multiple OriginLocations.
An Order will only have a location_id if it was a POS order, right?
Fulfillments are a whole 'nother ball-game, which I won't ask about here.