문서 메뉴

Shopify#

쇼핑몰 도메인과 Admin API 토큰을 사용해 Shopify에 연결합니다. 이 소스는 titan.shopify 아래에 고정 테이블 19개를 기록합니다.

sql
select
  id,
  email,
  created_at
from titan.shopify.customers
limit 10

Shopify 연결#

  1. 을 열고 앱 연결을 선택한 뒤 Shopify 항목을 선택합니다.

  2. 쇼핑몰 도메인과 Admin API 토큰을 입력합니다.

  3. 테이블을 확인한 뒤 소스를 저장합니다.

  4. 첫 실행이 완료될 때까지 동기화 기록을 확인합니다.

자격 증명은 비밀 정보로 저장됩니다. 레이크 열이 되거나 쿼리 결과에 나타나지 않습니다.

동기화 동작#

Shopify 데이터는 재개 가능한 GraphQL 대량 작업으로 가져옵니다. 저장된 대량 작업 ID를 사용하면 다음 실행에서 처음부터 시작하지 않고 이어서 진행할 수 있습니다.

새 소스는 연결할 때 동기화한 다음 설정된 일정을 따릅니다. 기본 반복 간격은 4시간입니다. 실행이 중단되어도 완료한 진행 상황을 유지하며 안전하게 재시도합니다.

모든 레이크 테이블에는 시스템 열_synced_at_deleted도 있습니다. 아래 열 참조에는 소스 열만 나열합니다.

테이블 참조#

customers#

titan.shopify.customers의 소스 열 수는 17개입니다.

shopify.customers열 17개
idintegerpk

id 소스 필드.

emailstring

email 소스 필드.

created_atdatetime

createdAt 소스 필드.

updated_atdatetime

updatedAt 소스 필드.

first_namestring

firstName 소스 필드.

last_namestring

lastName 소스 필드.

phonestring

phone 소스 필드.

number_of_ordersinteger

numberOfOrders 소스 필드.

multipass_identifierstring

multipassIdentifier 소스 필드.

notestring

note 소스 필드.

statestring

state 소스 필드.

tax_exemptboolean

taxExempt 소스 필드.

amount_spentjson

amountSpent 소스 필드.

verified_emailboolean

verifiedEmail 소스 필드.

currency_codestring

currencyCode 소스 필드.

tagsjson

tags 소스 필드.

mailing_addresses#

titan.shopify.mailing_addresses의 소스 열 수는 17개입니다.

shopify.mailing_addresses열 17개
idintegerpk

id 소스 필드.

customer_idinteger

customerId 소스 필드.

first_namestring

firstName 소스 필드.

last_namestring

lastName 소스 필드.

address1string

address1 소스 필드.

address2string

address2 소스 필드.

citystring

city 소스 필드.

companystring

company 소스 필드.

coordinates_validatedboolean

coordinatesValidated 소스 필드.

phonestring

phone 소스 필드.

countrystring

country 소스 필드.

country_codestring

countryCode 소스 필드.

provincestring

province 소스 필드.

province_codestring

provinceCode 소스 필드.

zipstring

zip 소스 필드.

latitudefloat

latitude 소스 필드.

longitudefloat

longitude 소스 필드.

orders#

titan.shopify.orders의 소스 열 수는 42개입니다.

shopify.orders열 42개
idintegerpk

id 소스 필드.

notestring

note 소스 필드.

emailstring

email 소스 필드.

taxes_includedboolean

taxesIncluded 소스 필드.

currency_codestring

currencyCode 소스 필드.

namestring

name 소스 필드.

created_atdatetime

createdAt 소스 필드.

updated_atdatetime

updatedAt 소스 필드.

subtotal_price_setjson

subtotalPriceSet 소스 필드.

total_tax_setjson

totalTaxSet 소스 필드.

total_price_setjson

totalPriceSet 소스 필드.

total_discounts_setjson

totalDiscountsSet 소스 필드.

total_tip_received_setjson

totalTipReceivedSet 소스 필드.

total_shipping_price_setjson

totalShippingPriceSet 소스 필드.

current_total_price_setjson

currentTotalPriceSet 소스 필드.

current_total_discounts_setjson

currentTotalDiscountsSet 소스 필드.

current_subtotal_price_setjson

currentSubtotalPriceSet 소스 필드.

current_total_tax_setjson

currentTotalTaxSet 소스 필드.

original_total_duties_setjson

originalTotalDutiesSet 소스 필드.

total_weightinteger

totalWeight 소스 필드.

source_namestring

sourceName 소스 필드.

client_ipstring

clientIp 소스 필드.

shipping_addressjson

shippingAddress 소스 필드.

billing_addressjson

billingAddress 소스 필드.

customer_idinteger

customerId 소스 필드.

retail_locationjson

retailLocation 소스 필드.

app_idinteger

appId 소스 필드.

po_numberstring

poNumber 소스 필드.

display_financial_statusstring

displayFinancialStatus 소스 필드.

display_fulfillment_statusstring

displayFulfillmentStatus 소스 필드.

processed_atdatetime

processedAt 소스 필드.

customer_journey_summaryjson

customerJourneySummary 소스 필드.

cancel_reasonstring

cancelReason 소스 필드.

cancelled_atdatetime

cancelledAt 소스 필드.

closed_atdatetime

closedAt 소스 필드.

customer_accepts_marketingboolean

customerAcceptsMarketing 소스 필드.

confirmedboolean

confirmed 소스 필드.

presentment_currency_codestring

presentmentCurrencyCode 소스 필드.

status_page_urlstring

statusPageUrl 소스 필드.

tagsjson

tags 소스 필드.

transactionsjson

transactions 소스 필드.

custom_attributesjson

customAttributes 소스 필드.

order_line_items#

titan.shopify.order_line_items의 소스 열 수는 23개입니다.

shopify.order_line_items열 23개
idintegerpk

id 소스 필드.

order_idinteger

orderId 소스 필드.

product_idinteger

productId 소스 필드.

variant_idinteger

variantId 소스 필드.

titlestring

title 소스 필드.

namestring

name 소스 필드.

quantityinteger

quantity 소스 필드.

current_quantityinteger

currentQuantity 소스 필드.

variantjson

variant 소스 필드.

tax_linesjson

taxLines 소스 필드.

vendorstring

vendor 소스 필드.

skustring

sku 소스 필드.

custom_attributesjson

customAttributes 소스 필드.

discounted_unit_price_after_all_discounts_setjson

discountedUnitPriceAfterAllDiscountsSet 소스 필드.

discounted_total_setjson

discountedTotalSet 소스 필드.

discounted_unit_price_setjson

discountedUnitPriceSet 소스 필드.

original_total_setjson

originalTotalSet 소스 필드.

original_unit_price_setjson

originalUnitPriceSet 소스 필드.

taxableboolean

taxable 소스 필드.

total_discount_setjson

totalDiscountSet 소스 필드.

unfulfilled_original_total_setjson

unfulfilledOriginalTotalSet 소스 필드.

unfulfilled_quantityinteger

unfulfilledQuantity 소스 필드.

variant_titlestring

variantTitle 소스 필드.

discount_applications#

titan.shopify.discount_applications의 소스 열 수는 8개입니다.

shopify.discount_applications열 8개
order_idintegerpk

orderId 소스 필드.

indexintegerpk

index 소스 필드.

target_selectionstring

targetSelection 소스 필드.

target_typestring

targetType 소스 필드.

valuejson

value 소스 필드.

codestring

code 소스 필드.

typestring

type 소스 필드.

allocation_methodstring

allocationMethod 소스 필드.

refunds#

titan.shopify.refunds의 소스 열 수는 6개입니다.

shopify.refunds열 6개
idintegerpk

id 소스 필드.

created_atdatetime

createdAt 소스 필드.

updated_atdatetime

updatedAt 소스 필드.

notestring

note 소스 필드.

restockboolean

restock 소스 필드.

order_idinteger

orderId 소스 필드.

order_adjustments#

titan.shopify.order_adjustments의 소스 열 수는 6개입니다.

shopify.order_adjustments열 6개
idintegerpk

id 소스 필드.

order_idinteger

orderId 소스 필드.

refund_idinteger

refundId 소스 필드.

amount_setjson

amountSet 소스 필드.

tax_amount_setjson

taxAmountSet 소스 필드.

reasonstring

reason 소스 필드.

refund_line_items#

titan.shopify.refund_line_items의 소스 열 수는 10개입니다.

shopify.refund_line_items열 10개
idintegerpk

id 소스 필드.

refund_idinteger

refundId 소스 필드.

location_idinteger

locationId 소스 필드.

line_item_idinteger

lineItemId 소스 필드.

subtotal_setjson

subtotalSet 소스 필드.

price_setjson

priceSet 소스 필드.

total_tax_setjson

totalTaxSet 소스 필드.

quantityinteger

quantity 소스 필드.

restockedboolean

restocked 소스 필드.

restock_typestring

restockType 소스 필드.

inventory_items#

titan.shopify.inventory_items의 소스 열 수는 16개입니다.

shopify.inventory_items열 16개
idintegerpk

id 소스 필드.

skustring

sku 소스 필드.

created_atdatetime

createdAt 소스 필드.

updated_atdatetime

updatedAt 소스 필드.

requires_shippingboolean

requiresShipping 소스 필드.

unit_costjson

unitCost 소스 필드.

country_code_of_originstring

countryCodeOfOrigin 소스 필드.

province_code_of_originstring

provinceCodeOfOrigin 소스 필드.

trackedboolean

tracked 소스 필드.

tracked_editablejson

trackedEditable 소스 필드.

inventory_history_urlstring

inventoryHistoryUrl 소스 필드.

duplicate_sku_countinteger

duplicateSkuCount 소스 필드.

measurementjson

measurement 소스 필드.

harmonized_system_codestring

harmonizedSystemCode 소스 필드.

legacy_resource_idinteger

legacyResourceId 소스 필드.

variant_idinteger

variantId 소스 필드.

inventory_levels#

titan.shopify.inventory_levels의 소스 열 수는 5개입니다.

shopify.inventory_levels열 5개
idintegerpk

id 소스 필드.

inventory_item_idintegerpk

inventoryItemId 소스 필드.

location_idintegerpk

locationId 소스 필드.

updated_atdatetime

updatedAt 소스 필드.

quantitiesjson

quantities 소스 필드.

locations#

titan.shopify.locations의 소스 열 수는 6개입니다.

shopify.locations열 6개
idintegerpk

id 소스 필드.

addressjson

address 소스 필드.

created_atdatetime

createdAt 소스 필드.

updated_atdatetime

updatedAt 소스 필드.

is_activeboolean

isActive 소스 필드.

namestring

name 소스 필드.

products#

titan.shopify.products의 소스 열 수는 14개입니다.

shopify.products열 14개
idintegerpk

id 소스 필드.

titlestring

title 소스 필드.

created_atdatetime

createdAt 소스 필드.

updated_atdatetime

updatedAt 소스 필드.

published_atdatetime

publishedAt 소스 필드.

handlestring

handle 소스 필드.

product_typestring

productType 소스 필드.

vendorstring

vendor 소스 필드.

statusstring

status 소스 필드.

template_suffixstring

templateSuffix 소스 필드.

tagsjson

tags 소스 필드.

descriptionstring

description 소스 필드.

description_htmlstring

descriptionHtml 소스 필드.

product_variants#

titan.shopify.product_variants의 소스 열 수는 23개입니다.

shopify.product_variants열 23개
idintegerpk

id 소스 필드.

barcodestring

barcode 소스 필드.

compare_at_pricefloat

compareAtPrice 소스 필드.

created_atdatetime

createdAt 소스 필드.

updated_atdatetime

updatedAt 소스 필드.

display_namestring

displayName 소스 필드.

inventory_item_idinteger

inventoryItemId 소스 필드.

inventory_quantityinteger

inventoryQuantity 소스 필드.

legacy_resource_idinteger

legacyResourceId 소스 필드.

positioninteger

position 소스 필드.

pricefloat

price 소스 필드.

product_idinteger

productId 소스 필드.

requires_componentsboolean

requiresComponents 소스 필드.

selected_optionsjson

selectedOptions 소스 필드.

sellable_online_quantityinteger

sellableOnlineQuantity 소스 필드.

show_unit_priceboolean

showUnitPrice 소스 필드.

skustring

sku 소스 필드.

taxableboolean

taxable 소스 필드.

tax_codestring

taxCode 소스 필드.

titlestring

title 소스 필드.

unit_pricejson

unitPrice 소스 필드.

unit_price_measurementjson

unitPriceMeasurement 소스 필드.

imagejson

image 소스 필드.

tender_transactions#

titan.shopify.tender_transactions의 소스 열 수는 7개입니다.

shopify.tender_transactions열 7개
idintegerpk

id 소스 필드.

order_idinteger

orderId 소스 필드.

amountjson

amount 소스 필드.

processed_atdatetime

processedAt 소스 필드.

payment_methodstring

paymentMethod 소스 필드.

remote_referencestring

remoteReference 소스 필드.

testboolean

test 소스 필드.

order_transactions#

titan.shopify.order_transactions의 소스 열 수는 22개입니다.

shopify.order_transactions열 22개
idintegerpk

id 소스 필드.

order_idinteger

orderId 소스 필드.

created_atdatetime

createdAt 소스 필드.

processed_atdatetime

processedAt 소스 필드.

amount_rounding_setjson

amountRoundingSet 소스 필드.

amount_setjson

amountSet 소스 필드.

currency_exchange_adjustmentjson

currencyExchangeAdjustment 소스 필드.

error_codestring

errorCode 소스 필드.

formatted_gatewaystring

formattedGateway 소스 필드.

gatewaystring

gateway 소스 필드.

kindstring

kind 소스 필드.

location_idinteger

locationId 소스 필드.

parent_transaction_idinteger

parentTransactionId 소스 필드.

payment_idstring

paymentId 소스 필드.

receipt_jsonjson

receiptJson 소스 필드.

settlement_currencystring

settlementCurrency 소스 필드.

settlement_currency_ratefloat

settlementCurrencyRate 소스 필드.

statusstring

status 소스 필드.

testboolean

test 소스 필드.

total_unsettled_setjson

totalUnsettledSet 소스 필드.

user_idinteger

userId 소스 필드.

amountfloat

amount 소스 필드.

fulfillments#

titan.shopify.fulfillments의 소스 열 수는 16개입니다.

shopify.fulfillments열 16개
idintegerpk

id 소스 필드.

created_atdatetime

createdAt 소스 필드.

updated_atdatetime

updatedAt 소스 필드.

delivered_atdatetime

deliveredAt 소스 필드.

display_statusstring

displayStatus 소스 필드.

estimated_delivery_atdatetime

estimatedDeliveryAt 소스 필드.

in_transit_atdatetime

inTransitAt 소스 필드.

legacy_resource_idinteger

legacyResourceId 소스 필드.

location_idinteger

locationId 소스 필드.

order_idinteger

orderId 소스 필드.

namestring

name 소스 필드.

requires_shippingboolean

requiresShipping 소스 필드.

servicejson

service 소스 필드.

statusstring

status 소스 필드.

total_quantityinteger

totalQuantity 소스 필드.

tracking_infojson

trackingInfo 소스 필드.

metafields#

titan.shopify.metafields의 소스 열 수는 11개입니다.

shopify.metafields열 11개
idintegerpk

id 소스 필드.

created_atdatetime

createdAt 소스 필드.

updated_atdatetime

updatedAt 소스 필드.

typestring

type 소스 필드.

keystring

key 소스 필드.

valuestring

value 소스 필드.

json_valuejson

jsonValue 소스 필드.

namespacestring

namespace 소스 필드.

owner_idinteger

ownerId 소스 필드.

owner_typestring

ownerType 소스 필드.

legacy_resource_idinteger

legacyResourceId 소스 필드.

staff_members#

titan.shopify.staff_members의 소스 열 수는 13개입니다.

shopify.staff_members열 13개
idintegerpk

id 소스 필드.

account_typestring

accountType 소스 필드.

activeboolean

active 소스 필드.

avatarjson

avatar 소스 필드.

emailstring

email 소스 필드.

existsboolean

exists 소스 필드.

first_namestring

firstName 소스 필드.

last_namestring

lastName 소스 필드.

namestring

name 소스 필드.

initialsjson

initials 소스 필드.

is_shop_ownerboolean

isShopOwner 소스 필드.

localestring

locale 소스 필드.

phonestring

phone 소스 필드.

product_images#

titan.shopify.product_images의 소스 열 수는 6개입니다.

shopify.product_images열 6개
idintegerpk

id 소스 필드.

product_idinteger

productId 소스 필드.

urlstring

url 소스 필드.

widthinteger

width 소스 필드.

heightinteger

height 소스 필드.

alt_textstring

altText 소스 필드.

삭제와 이력#

행은 소스 키로 병합됩니다. 소스에서 행 삭제를 입증할 수 있으면 Supernova는 행을 유지하고 _deleted를 설정합니다. 따라서 쿼리에서 이력을 포함할지 선택할 수 있습니다. 현재 상태를 조회하는 쿼리에는 where not _deleted 필터를 사용하세요.