Pulling data from the Shopify API is only the first part of your reporting. You also need to understand the relationships between different endpoints - something that APIs typically fail to convey.
At SyncHub, we not only sync your Shopify API endpoints down into a reportable format, we also describe their relationships (e.g. in terms of foreign keys) so that you can quickly get a grasp of your data and how it fits together. This page is intended as technical documentation of these relationships.
Documentation: https://shopify.dev/docs/admin-api/rest/reference/products/collection
Documentation: https://shopify.dev/docs/admin-api/rest/reference/products/product
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
CollectionRemoteID | string | Collection → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
ProductID | long | Product → ID | - |
CollectionID | long | Collection → ID | - |
CreatedAt | datetime | - | - |
UpdatedAt | datetime | - | - |
Documentation: https://shopify.dev/docs/admin-api/rest/reference/customers/customer
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
string | - | - | |
AcceptsMarketing | boolean | - | - |
FirstName | string | - | - |
LastName | string | - | - |
OrdersCount | int | - | - |
State | string | - |
|
TotalSpent | decimal | - | - |
LastOrderID | long | - | - |
Note | string | - | - |
VerifiedEmail | boolean | - | - |
MultipassIdentifier | string | - | - |
TaxExempt | boolean | - | - |
Phone | string | - | - |
Tags | string | - | - |
LastOrderName | string | - | - |
Currency | string | - | - |
AcceptsMarketingUpdatedAt | datetime | - | - |
MarketingOptInLevel | string | - | - |
DefaultAddressID | long | CustomerAddress → ID | - |
CreatedAt | datetime | - | - |
UpdatedAt | datetime | - | - |
Documentation: https://shopify.dev/docs/admin-api/rest/reference/customers/customer
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
CustomerRemoteID | string | Customer → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
Name | string | - | - |
CustomerID | long | Customer → ID | - |
FirstName | string | - | - |
LastName | string | - | - |
Company | string | - | - |
Address1 | string | - | - |
Address2 | string | - | - |
City | string | - | - |
Province | string | - | - |
Country | string | - | - |
Zip | string | - | - |
Phone | string | - | - |
ProvinceCode | string | - | - |
CountryCode | string | - | - |
CountryName | string | - | - |
Default | boolean | - | - |
CreatedAt | datetime | - | - |
UpdatedAt | datetime | - | - |
Documentation: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
OrderRemoteID | string | Order → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
Name | string | - | - |
OrderID | long | Order → ID | - |
Status | string | - | - |
Service | string | - | - |
TrackingCompany | string | - | - |
ShipmentStatus | string | - | - |
LocationID | long | Location → ID | - |
TrackingNumber | string | - | - |
TrackingUrl | string | - | - |
CreatedAt | datetime | - | - |
UpdatedAt | datetime | - | - |
Documentation: https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
InventoryItemID | long | - | - |
LocationID | long | Location → ID | - |
Available | decimal | - | - |
CreatedAt | datetime | - | - |
UpdatedAt | datetime | - | - |
Documentation: https://shopify.dev/docs/admin-api/rest/reference/inventory/location
Documentation: https://shopify.dev/docs/admin-api/rest/reference/orders/order
Documentation: https://shopify.dev/docs/storefront-api/reference/object/orderlineitem
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
OrderRemoteID | string | Order → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
Name | string | - | - |
OrderID | long | Order → ID | - |
VariantID | long | - | - |
Title | string | - | - |
Quantity | decimal | - | - |
Sku | string | - | - |
VariantTitle | string | - | - |
Vendor | string | - | - |
FulfillmentService | string | - | - |
ProductID | long | Product → ID | - |
RequiresShipping | boolean | - | - |
Taxable | boolean | - | - |
GiftCard | boolean | - | - |
VariantInventoryManagement | string | - | - |
ProductExists | boolean | - | - |
FulfillableQuantity | decimal | - | - |
Grams | decimal | - | - |
Price | decimal | - | - |
TotalDiscount | decimal | - | - |
FulfillmentStatus | string | - | - |
PriceSetShopAmount | decimal | - | - |
PriceSetShopCurrencyCode | string | - | - |
PriceSetPresentmentAmount | decimal | - | - |
PriceSetPresentmentCurrencyCode | string | - | - |
TotalDiscountSetShopAmount | decimal | - | - |
TotalDiscountSetShopCurrencyCode | string | - | - |
TotalDiscountSetPresentmentAmount | decimal | - | - |
TotalDiscountSetPresentmentCurrencyCode | string | - | - |
CurrentQuantity | decimal | - | - |
Documentation: https://shopify.dev/docs/admin-api/rest/reference/products/product
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
ProductRemoteID | string | Product → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
ProductID | long | Product → ID | - |
Position | int | - | - |
Width | string | - | - |
Height | string | - | - |
Src | string | - | - |
CreatedAt | datetime | - | - |
UpdatedAt | datetime | - | - |
Documentation: https://shopify.dev/api/admin-rest/2022-01/resources/refund#resource-object
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
OrderRemoteID | string | Order → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
OrderID | long | Order → ID | - |
Note | string | - | - |
UserID | long | - | - |
ProcessedAt | datetime | - | - |
Restock | boolean | - | - |
CreatedAt | datetime | - | - |
UpdatedAt | datetime | - | - |
Documentation: https://shopify.dev/docs/admin-api/rest/reference/store-properties/shop
Documentation: https://shopify.dev/docs/admin-api/rest/reference/products/collection
Documentation: https://shopify.dev/docs/admin-api/rest/reference/products/product
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
SmartCollectionRemoteID | string | SmartCollection → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
ProductID | long | Product → ID | - |
SmartCollectionID | long | SmartCollection → ID | - |
CreatedAt | datetime | - | - |
UpdatedAt | datetime | - | - |
Documentation: https://shopify.dev/docs/admin-api/rest/reference/tendertransaction
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
OrderID | long | Order → ID | - |
Amount | decimal | - | - |
Currency | string | - | - |
UserID | long | - |
|
Test | boolean | - | - |
ProcessedAt | datetime | - | - |
RemoteReference | string | - | - |
PaymentDetailsCreditCardNumber | string | - | - |
PaymentDetailsCreditCardCompany | string | - | - |
PaymentMethod | string | - | - |
UpdatedAt | datetime | - | - |
CreatedAt | datetime | - | - |
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
FulfillmentRemoteID | string | Fulfillment → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | OrderLineItem → ID | - |
OrderID | long | Order → ID | - |
FulfillmentID | long | - | - |
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
OrderRemoteID | string | Order → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
OrderID | long | Order → ID | - |
DiscountNumber | int | - |
|
Code | string | - | - |
Amount | decimal | - | - |
Type | string | - | - |
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
OrderRemoteID | string | Order → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
OrderID | long | Order → ID | - |
ChannelLiable | boolean | - | - |
Price | decimal | - | - |
Rate | decimal | - | - |
Title | string | - | - |
ShopAmount | decimal | - | - |
ShopCurrencyCode | string | - | - |
PresentmentAmount | decimal | - | - |
PresentmentCurrencyCode | string | - | - |
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
OrderLineItemRemoteID | string | OrderLineItem → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
OrderLineItemID | long | OrderLineItem → ID | - |
Iterator | int | - | - |
Amount | decimal | - | - |
DiscountApplicationIndex | string | - | - |
ShopAmount | decimal | - | - |
ShopCurrencyCode | string | - | - |
PresentmentAmount | decimal | - | - |
PresentmentCurrencyCode | string | - | - |
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
OrderLineItemRemoteID | string | OrderLineItem → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
OrderLineItemID | long | OrderLineItem → ID | - |
ChannelLiable | boolean | - | - |
Price | decimal | - | - |
Rate | decimal | - | - |
Title | string | - | - |
ShopAmount | decimal | - | - |
ShopCurrencyCode | string | - | - |
PresentmentAmount | decimal | - | - |
PresentmentCurrencyCode | string | - | - |
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
ProductRemoteID | string | Product → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
ProductID | long | - | - |
Title | string | - | - |
Price | decimal | - | - |
Sku | string | - | - |
Position | int | - | - |
InventoryPolicy | string | - | - |
CompareAtPrice | decimal | - | - |
FulfillmentService | string | - | - |
InventoryManagement | string | - | - |
Option1 | string | - | - |
Option2 | string | - | - |
Option3 | string | - | - |
Taxable | boolean | - | - |
Barcode | string | - | - |
Grams | decimal | - | - |
ImageID | long | - | - |
Weight | decimal | - | - |
WeightUnit | string | - | - |
InventoryItemID | long | - | - |
InventoryQuantity | decimal | - | - |
OldInventoryQuantity | decimal | - | - |
RequiresShipping | boolean | - | - |
CreatedAt | datetime | - | - |
UpdatedAt | datetime | - | - |
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
ProductRemoteID | string | Product → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ProductID | long | - | - |
Tag | string | - | - |
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
ProductRemoteID | string | Product → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
Name | string | - | - |
ProductID | long | - | - |
Position | int | - | - |
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
RefundRemoteID | string | Refund → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
RefundID | long | Refund → ID | - |
Quantity | decimal | - | - |
LineItemID | long | OrderLineItem → ID | - |
LocationID | long | Location → ID | - |
RestockType | string | - | - |
Subtotal | decimal | - | - |
TotalTax | decimal | - | - |
SubTotalShopMoneyAccount | decimal | - | - |
SubTotalShopMoneyCurrencyCode | string | - | - |
SubTotalPresentmentMoneyAccount | decimal | - | - |
SubTotalPresentmentMoneyCurrencyCode | string | - | - |
TotalTaxShopMoneyAccount | decimal | - | - |
TotalTaxShopMoneyCurrencyCode | string | - | - |
TotalTaxPresentmentMoneyAccount | decimal | - | - |
TotalTaxPresentmentMoneyCurrencyCode | string | - | - |
Column | Type | Relates to | Notes |
---|---|---|---|
RemoteID | string | - | - |
RefundRemoteID | string | Refund → RemoteID | - |
WhenUpsertedIntoDataStore | datetime | - | - |
MirrorRemoteID | int | - | - |
IsDeleted | boolean | - | - |
WhenCreated | datetime | - | - |
WhenModified | datetime | - | - |
ID | long | - | - |
RefundID | long | Refund → ID | - |
OrderID | long | Order → ID | - |
Amount | decimal | - | - |
TaxAmount | decimal | - | - |
Kind | string | - | - |
Reason | string | - | - |
AmountSetShopMoneyAmount | decimal | - | - |
AmountSetShopMoneyCurrencyCode | string | - | - |
AmountSetPresentmentMoneyAmount | decimal | - | - |
AmountSetPresentmentMoneyCurrencyCode | string | - | - |
TaxAmountSetShopMoneyAmount | decimal | - | - |
TaxAmountSetShopMoneyCurrencyCode | string | - | - |
TaxAmountSetPresentmentMoneyAmount | decimal | - | - |
TaxAmountSetPresentmentMoneyCurrencyCode | string | - | - |
SyncHub lives and breathes APIs and data. Keep exploring using the links below.