Shopify#
쇼핑몰 도메인과 Admin API 토큰을 사용해 Shopify에 연결합니다. 이 소스는 titan.shopify 아래에 고정 테이블 19개를 기록합니다.
select
id,
email,
created_at
from titan.shopify.customers
limit 10Shopify 연결#
앱을 열고 앱 연결을 선택한 뒤 Shopify 항목을 선택합니다.
쇼핑몰 도메인과 Admin API 토큰을 입력합니다.
테이블을 확인한 뒤 소스를 저장합니다.
첫 실행이 완료될 때까지 동기화 기록을 확인합니다.
자격 증명은 비밀 정보로 저장됩니다. 레이크 열이 되거나 쿼리 결과에 나타나지 않습니다.
동기화 동작#
Shopify 데이터는 재개 가능한 GraphQL 대량 작업으로 가져옵니다. 저장된 대량 작업 ID를 사용하면 다음 실행에서 처음부터 시작하지 않고 이어서 진행할 수 있습니다.
새 소스는 연결할 때 동기화한 다음 설정된 일정을 따릅니다. 기본 반복 간격은 4시간입니다. 실행이 중단되어도 완료한 진행 상황을 유지하며 안전하게 재시도합니다.
모든 레이크 테이블에는 시스템 열인 _synced_at과 _deleted도 있습니다. 아래 열 참조에는 소스 열만 나열합니다.
테이블 참조#
customers#
titan.shopify.customers의 소스 열 수는 17개입니다.
id 소스 필드.
email 소스 필드.
createdAt 소스 필드.
updatedAt 소스 필드.
firstName 소스 필드.
lastName 소스 필드.
phone 소스 필드.
numberOfOrders 소스 필드.
multipassIdentifier 소스 필드.
note 소스 필드.
state 소스 필드.
taxExempt 소스 필드.
amountSpent 소스 필드.
verifiedEmail 소스 필드.
emailMarketingConsent 소스 필드.
currencyCode 소스 필드.
mailing_addresses#
titan.shopify.mailing_addresses의 소스 열 수는 17개입니다.
id 소스 필드.
customerId 소스 필드.
firstName 소스 필드.
lastName 소스 필드.
address1 소스 필드.
address2 소스 필드.
city 소스 필드.
company 소스 필드.
coordinatesValidated 소스 필드.
phone 소스 필드.
country 소스 필드.
countryCode 소스 필드.
province 소스 필드.
provinceCode 소스 필드.
zip 소스 필드.
latitude 소스 필드.
longitude 소스 필드.
orders#
titan.shopify.orders의 소스 열 수는 42개입니다.
id 소스 필드.
note 소스 필드.
email 소스 필드.
taxesIncluded 소스 필드.
currencyCode 소스 필드.
name 소스 필드.
createdAt 소스 필드.
updatedAt 소스 필드.
subtotalPriceSet 소스 필드.
totalTaxSet 소스 필드.
totalPriceSet 소스 필드.
totalDiscountsSet 소스 필드.
totalTipReceivedSet 소스 필드.
totalShippingPriceSet 소스 필드.
currentTotalPriceSet 소스 필드.
currentTotalDiscountsSet 소스 필드.
currentSubtotalPriceSet 소스 필드.
currentTotalTaxSet 소스 필드.
originalTotalDutiesSet 소스 필드.
totalWeight 소스 필드.
sourceName 소스 필드.
clientIp 소스 필드.
shippingAddress 소스 필드.
billingAddress 소스 필드.
customerId 소스 필드.
retailLocation 소스 필드.
appId 소스 필드.
poNumber 소스 필드.
displayFinancialStatus 소스 필드.
displayFulfillmentStatus 소스 필드.
processedAt 소스 필드.
customerJourneySummary 소스 필드.
cancelReason 소스 필드.
cancelledAt 소스 필드.
closedAt 소스 필드.
customerAcceptsMarketing 소스 필드.
confirmed 소스 필드.
presentmentCurrencyCode 소스 필드.
statusPageUrl 소스 필드.
transactions 소스 필드.
customAttributes 소스 필드.
order_line_items#
titan.shopify.order_line_items의 소스 열 수는 23개입니다.
id 소스 필드.
orderId 소스 필드.
productId 소스 필드.
variantId 소스 필드.
title 소스 필드.
name 소스 필드.
quantity 소스 필드.
currentQuantity 소스 필드.
variant 소스 필드.
taxLines 소스 필드.
vendor 소스 필드.
sku 소스 필드.
customAttributes 소스 필드.
discountedUnitPriceAfterAllDiscountsSet 소스 필드.
discountedTotalSet 소스 필드.
discountedUnitPriceSet 소스 필드.
originalTotalSet 소스 필드.
originalUnitPriceSet 소스 필드.
taxable 소스 필드.
totalDiscountSet 소스 필드.
unfulfilledOriginalTotalSet 소스 필드.
unfulfilledQuantity 소스 필드.
variantTitle 소스 필드.
discount_applications#
titan.shopify.discount_applications의 소스 열 수는 8개입니다.
orderId 소스 필드.
index 소스 필드.
targetSelection 소스 필드.
targetType 소스 필드.
value 소스 필드.
code 소스 필드.
type 소스 필드.
allocationMethod 소스 필드.
refunds#
titan.shopify.refunds의 소스 열 수는 6개입니다.
id 소스 필드.
createdAt 소스 필드.
updatedAt 소스 필드.
note 소스 필드.
restock 소스 필드.
orderId 소스 필드.
order_adjustments#
titan.shopify.order_adjustments의 소스 열 수는 6개입니다.
id 소스 필드.
orderId 소스 필드.
refundId 소스 필드.
amountSet 소스 필드.
taxAmountSet 소스 필드.
reason 소스 필드.
refund_line_items#
titan.shopify.refund_line_items의 소스 열 수는 10개입니다.
id 소스 필드.
refundId 소스 필드.
locationId 소스 필드.
lineItemId 소스 필드.
subtotalSet 소스 필드.
priceSet 소스 필드.
totalTaxSet 소스 필드.
quantity 소스 필드.
restocked 소스 필드.
restockType 소스 필드.
inventory_items#
titan.shopify.inventory_items의 소스 열 수는 16개입니다.
id 소스 필드.
sku 소스 필드.
createdAt 소스 필드.
updatedAt 소스 필드.
requiresShipping 소스 필드.
unitCost 소스 필드.
countryCodeOfOrigin 소스 필드.
provinceCodeOfOrigin 소스 필드.
tracked 소스 필드.
trackedEditable 소스 필드.
inventoryHistoryUrl 소스 필드.
duplicateSkuCount 소스 필드.
measurement 소스 필드.
harmonizedSystemCode 소스 필드.
legacyResourceId 소스 필드.
variantId 소스 필드.
inventory_levels#
titan.shopify.inventory_levels의 소스 열 수는 5개입니다.
id 소스 필드.
inventoryItemId 소스 필드.
locationId 소스 필드.
updatedAt 소스 필드.
quantities 소스 필드.
locations#
titan.shopify.locations의 소스 열 수는 6개입니다.
id 소스 필드.
address 소스 필드.
createdAt 소스 필드.
updatedAt 소스 필드.
isActive 소스 필드.
name 소스 필드.
products#
titan.shopify.products의 소스 열 수는 14개입니다.
id 소스 필드.
title 소스 필드.
createdAt 소스 필드.
updatedAt 소스 필드.
publishedAt 소스 필드.
handle 소스 필드.
productType 소스 필드.
vendor 소스 필드.
status 소스 필드.
templateSuffix 소스 필드.
description 소스 필드.
descriptionHtml 소스 필드.
featuredImage 소스 필드.
product_variants#
titan.shopify.product_variants의 소스 열 수는 23개입니다.
id 소스 필드.
barcode 소스 필드.
compareAtPrice 소스 필드.
createdAt 소스 필드.
updatedAt 소스 필드.
displayName 소스 필드.
inventoryItemId 소스 필드.
inventoryQuantity 소스 필드.
legacyResourceId 소스 필드.
position 소스 필드.
price 소스 필드.
productId 소스 필드.
requiresComponents 소스 필드.
selectedOptions 소스 필드.
sellableOnlineQuantity 소스 필드.
showUnitPrice 소스 필드.
sku 소스 필드.
taxable 소스 필드.
taxCode 소스 필드.
title 소스 필드.
unitPrice 소스 필드.
unitPriceMeasurement 소스 필드.
image 소스 필드.
tender_transactions#
titan.shopify.tender_transactions의 소스 열 수는 7개입니다.
id 소스 필드.
orderId 소스 필드.
amount 소스 필드.
processedAt 소스 필드.
paymentMethod 소스 필드.
remoteReference 소스 필드.
test 소스 필드.
order_transactions#
titan.shopify.order_transactions의 소스 열 수는 22개입니다.
id 소스 필드.
orderId 소스 필드.
createdAt 소스 필드.
processedAt 소스 필드.
amountRoundingSet 소스 필드.
amountSet 소스 필드.
currencyExchangeAdjustment 소스 필드.
errorCode 소스 필드.
formattedGateway 소스 필드.
gateway 소스 필드.
kind 소스 필드.
locationId 소스 필드.
parentTransactionId 소스 필드.
paymentId 소스 필드.
receiptJson 소스 필드.
settlementCurrency 소스 필드.
settlementCurrencyRate 소스 필드.
status 소스 필드.
test 소스 필드.
totalUnsettledSet 소스 필드.
userId 소스 필드.
amount 소스 필드.
fulfillments#
titan.shopify.fulfillments의 소스 열 수는 16개입니다.
id 소스 필드.
createdAt 소스 필드.
updatedAt 소스 필드.
deliveredAt 소스 필드.
displayStatus 소스 필드.
estimatedDeliveryAt 소스 필드.
inTransitAt 소스 필드.
legacyResourceId 소스 필드.
locationId 소스 필드.
orderId 소스 필드.
name 소스 필드.
requiresShipping 소스 필드.
service 소스 필드.
status 소스 필드.
totalQuantity 소스 필드.
trackingInfo 소스 필드.
metafields#
titan.shopify.metafields의 소스 열 수는 11개입니다.
id 소스 필드.
createdAt 소스 필드.
updatedAt 소스 필드.
type 소스 필드.
key 소스 필드.
value 소스 필드.
jsonValue 소스 필드.
namespace 소스 필드.
ownerId 소스 필드.
ownerType 소스 필드.
legacyResourceId 소스 필드.
staff_members#
titan.shopify.staff_members의 소스 열 수는 13개입니다.
id 소스 필드.
accountType 소스 필드.
active 소스 필드.
avatar 소스 필드.
email 소스 필드.
exists 소스 필드.
firstName 소스 필드.
lastName 소스 필드.
name 소스 필드.
initials 소스 필드.
isShopOwner 소스 필드.
locale 소스 필드.
phone 소스 필드.
product_images#
titan.shopify.product_images의 소스 열 수는 6개입니다.
id 소스 필드.
productId 소스 필드.
url 소스 필드.
width 소스 필드.
height 소스 필드.
altText 소스 필드.
삭제와 이력#
행은 소스 키로 병합됩니다. 소스에서 행 삭제를 입증할 수 있으면 Supernova는 행을 유지하고 _deleted를 설정합니다. 따라서 쿼리에서 이력을 포함할지 선택할 수 있습니다. 현재 상태를 조회하는 쿼리에는 where not _deleted 필터를 사용하세요.