Shopify#
Połącz Shopify za pomocą domeny sklepu i tokenu Admin API. Źródło zapisuje 19 stałych tabel w schemacie titan.shopify.
select
id,
email,
created_at
from titan.shopify.customers
limit 10Połącz Shopify#
Otwórz Aplikacje, wybierz Połącz aplikację, a następnie Shopify.
Podaj domenę sklepu i token Admin API.
Sprawdź tabele, a następnie zapisz źródło.
Obserwuj Historię synchronizacji, aż pierwsze uruchomienie się zakończy.
Dane uwierzytelniające są przechowywane jako sekrety. Nigdy nie stają się kolumnami jeziora ani nie pojawiają się w wynikach zapytań.
Sposób synchronizacji#
Dane Shopify są pobierane przez wznawialne operacje zbiorcze GraphQL. Zapisany identyfikator operacji pozwala kolejnemu uruchomieniu kontynuować pracę zamiast zaczynać od początku.
Nowe źródło synchronizuje się po połączeniu, a następnie zgodnie z harmonogramem. Domyślny interwał cykliczny wynosi 4 godziny. Przerwane uruchomienie zachowuje ukończone postępy i jest bezpiecznie ponawiane.
Każda tabela jeziora ma też kolumny systemowe _synced_at i _deleted; poniższa dokumentacja kolumn obejmuje wyłącznie kolumny źródłowe.
Dokumentacja tabel#
customers#
titan.shopify.customers ma 17 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe email.
Pole źródłowe createdAt.
Pole źródłowe updatedAt.
Pole źródłowe firstName.
Pole źródłowe lastName.
Pole źródłowe phone.
Pole źródłowe numberOfOrders.
Pole źródłowe multipassIdentifier.
Pole źródłowe note.
Pole źródłowe state.
Pole źródłowe taxExempt.
Pole źródłowe amountSpent.
Pole źródłowe verifiedEmail.
Pole źródłowe emailMarketingConsent.
Pole źródłowe currencyCode.
mailing_addresses#
titan.shopify.mailing_addresses ma 17 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe customerId.
Pole źródłowe firstName.
Pole źródłowe lastName.
Pole źródłowe address1.
Pole źródłowe address2.
Pole źródłowe city.
Pole źródłowe company.
Pole źródłowe coordinatesValidated.
Pole źródłowe phone.
Pole źródłowe country.
Pole źródłowe countryCode.
Pole źródłowe province.
Pole źródłowe provinceCode.
Pole źródłowe zip.
Pole źródłowe latitude.
Pole źródłowe longitude.
orders#
titan.shopify.orders ma 42 kolumny źródłowe.
Pole źródłowe id.
Pole źródłowe note.
Pole źródłowe email.
Pole źródłowe taxesIncluded.
Pole źródłowe currencyCode.
Pole źródłowe name.
Pole źródłowe createdAt.
Pole źródłowe updatedAt.
Pole źródłowe subtotalPriceSet.
Pole źródłowe totalTaxSet.
Pole źródłowe totalPriceSet.
Pole źródłowe totalDiscountsSet.
Pole źródłowe totalTipReceivedSet.
Pole źródłowe totalShippingPriceSet.
Pole źródłowe currentTotalPriceSet.
Pole źródłowe currentTotalDiscountsSet.
Pole źródłowe currentSubtotalPriceSet.
Pole źródłowe currentTotalTaxSet.
Pole źródłowe originalTotalDutiesSet.
Pole źródłowe totalWeight.
Pole źródłowe sourceName.
Pole źródłowe clientIp.
Pole źródłowe shippingAddress.
Pole źródłowe billingAddress.
Pole źródłowe customerId.
Pole źródłowe retailLocation.
Pole źródłowe appId.
Pole źródłowe poNumber.
Pole źródłowe displayFinancialStatus.
Pole źródłowe displayFulfillmentStatus.
Pole źródłowe processedAt.
Pole źródłowe customerJourneySummary.
Pole źródłowe cancelReason.
Pole źródłowe cancelledAt.
Pole źródłowe closedAt.
Pole źródłowe customerAcceptsMarketing.
Pole źródłowe confirmed.
Pole źródłowe presentmentCurrencyCode.
Pole źródłowe statusPageUrl.
Pole źródłowe transactions.
Pole źródłowe customAttributes.
order_line_items#
titan.shopify.order_line_items ma 23 kolumny źródłowe.
Pole źródłowe id.
Pole źródłowe orderId.
Pole źródłowe productId.
Pole źródłowe variantId.
Pole źródłowe title.
Pole źródłowe name.
Pole źródłowe quantity.
Pole źródłowe currentQuantity.
Pole źródłowe variant.
Pole źródłowe taxLines.
Pole źródłowe vendor.
Pole źródłowe sku.
Pole źródłowe customAttributes.
Pole źródłowe discountedUnitPriceAfterAllDiscountsSet.
Pole źródłowe discountedTotalSet.
Pole źródłowe discountedUnitPriceSet.
Pole źródłowe originalTotalSet.
Pole źródłowe originalUnitPriceSet.
Pole źródłowe taxable.
Pole źródłowe totalDiscountSet.
Pole źródłowe unfulfilledOriginalTotalSet.
Pole źródłowe unfulfilledQuantity.
Pole źródłowe variantTitle.
discount_applications#
titan.shopify.discount_applications ma 8 kolumn źródłowych.
Pole źródłowe orderId.
Pole źródłowe index.
Pole źródłowe targetSelection.
Pole źródłowe targetType.
Pole źródłowe value.
Pole źródłowe code.
Pole źródłowe type.
Pole źródłowe allocationMethod.
refunds#
titan.shopify.refunds ma 6 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe createdAt.
Pole źródłowe updatedAt.
Pole źródłowe note.
Pole źródłowe restock.
Pole źródłowe orderId.
order_adjustments#
titan.shopify.order_adjustments ma 6 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe orderId.
Pole źródłowe refundId.
Pole źródłowe amountSet.
Pole źródłowe taxAmountSet.
Pole źródłowe reason.
refund_line_items#
titan.shopify.refund_line_items ma 10 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe refundId.
Pole źródłowe locationId.
Pole źródłowe lineItemId.
Pole źródłowe subtotalSet.
Pole źródłowe priceSet.
Pole źródłowe totalTaxSet.
Pole źródłowe quantity.
Pole źródłowe restocked.
Pole źródłowe restockType.
inventory_items#
titan.shopify.inventory_items ma 16 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe sku.
Pole źródłowe createdAt.
Pole źródłowe updatedAt.
Pole źródłowe requiresShipping.
Pole źródłowe unitCost.
Pole źródłowe countryCodeOfOrigin.
Pole źródłowe provinceCodeOfOrigin.
Pole źródłowe tracked.
Pole źródłowe trackedEditable.
Pole źródłowe inventoryHistoryUrl.
Pole źródłowe duplicateSkuCount.
Pole źródłowe measurement.
Pole źródłowe harmonizedSystemCode.
Pole źródłowe legacyResourceId.
Pole źródłowe variantId.
inventory_levels#
titan.shopify.inventory_levels ma 5 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe inventoryItemId.
Pole źródłowe locationId.
Pole źródłowe updatedAt.
Pole źródłowe quantities.
locations#
titan.shopify.locations ma 6 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe address.
Pole źródłowe createdAt.
Pole źródłowe updatedAt.
Pole źródłowe isActive.
Pole źródłowe name.
products#
titan.shopify.products ma 14 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe title.
Pole źródłowe createdAt.
Pole źródłowe updatedAt.
Pole źródłowe publishedAt.
Pole źródłowe handle.
Pole źródłowe productType.
Pole źródłowe vendor.
Pole źródłowe status.
Pole źródłowe templateSuffix.
Pole źródłowe description.
Pole źródłowe descriptionHtml.
Pole źródłowe featuredImage.
product_variants#
titan.shopify.product_variants ma 23 kolumny źródłowe.
Pole źródłowe id.
Pole źródłowe barcode.
Pole źródłowe compareAtPrice.
Pole źródłowe createdAt.
Pole źródłowe updatedAt.
Pole źródłowe displayName.
Pole źródłowe inventoryItemId.
Pole źródłowe inventoryQuantity.
Pole źródłowe legacyResourceId.
Pole źródłowe position.
Pole źródłowe price.
Pole źródłowe productId.
Pole źródłowe requiresComponents.
Pole źródłowe selectedOptions.
Pole źródłowe sellableOnlineQuantity.
Pole źródłowe showUnitPrice.
Pole źródłowe sku.
Pole źródłowe taxable.
Pole źródłowe taxCode.
Pole źródłowe title.
Pole źródłowe unitPrice.
Pole źródłowe unitPriceMeasurement.
Pole źródłowe image.
tender_transactions#
titan.shopify.tender_transactions ma 7 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe orderId.
Pole źródłowe amount.
Pole źródłowe processedAt.
Pole źródłowe paymentMethod.
Pole źródłowe remoteReference.
Pole źródłowe test.
order_transactions#
titan.shopify.order_transactions ma 22 kolumny źródłowe.
Pole źródłowe id.
Pole źródłowe orderId.
Pole źródłowe createdAt.
Pole źródłowe processedAt.
Pole źródłowe amountRoundingSet.
Pole źródłowe amountSet.
Pole źródłowe currencyExchangeAdjustment.
Pole źródłowe errorCode.
Pole źródłowe formattedGateway.
Pole źródłowe gateway.
Pole źródłowe kind.
Pole źródłowe locationId.
Pole źródłowe parentTransactionId.
Pole źródłowe paymentId.
Pole źródłowe receiptJson.
Pole źródłowe settlementCurrency.
Pole źródłowe settlementCurrencyRate.
Pole źródłowe status.
Pole źródłowe test.
Pole źródłowe totalUnsettledSet.
Pole źródłowe userId.
Pole źródłowe amount.
fulfillments#
titan.shopify.fulfillments ma 16 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe createdAt.
Pole źródłowe updatedAt.
Pole źródłowe deliveredAt.
Pole źródłowe displayStatus.
Pole źródłowe estimatedDeliveryAt.
Pole źródłowe inTransitAt.
Pole źródłowe legacyResourceId.
Pole źródłowe locationId.
Pole źródłowe orderId.
Pole źródłowe name.
Pole źródłowe requiresShipping.
Pole źródłowe service.
Pole źródłowe status.
Pole źródłowe totalQuantity.
Pole źródłowe trackingInfo.
metafields#
titan.shopify.metafields ma 11 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe createdAt.
Pole źródłowe updatedAt.
Pole źródłowe type.
Pole źródłowe key.
Pole źródłowe value.
Pole źródłowe jsonValue.
Pole źródłowe namespace.
Pole źródłowe ownerId.
Pole źródłowe ownerType.
Pole źródłowe legacyResourceId.
staff_members#
titan.shopify.staff_members ma 13 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe accountType.
Pole źródłowe active.
Pole źródłowe avatar.
Pole źródłowe email.
Pole źródłowe exists.
Pole źródłowe firstName.
Pole źródłowe lastName.
Pole źródłowe name.
Pole źródłowe initials.
Pole źródłowe isShopOwner.
Pole źródłowe locale.
Pole źródłowe phone.
product_images#
titan.shopify.product_images ma 6 kolumn źródłowych.
Pole źródłowe id.
Pole źródłowe productId.
Pole źródłowe url.
Pole źródłowe width.
Pole źródłowe height.
Pole źródłowe altText.
Usunięcia i historia#
Wiersze są scalane według klucza źródłowego. Gdy źródło może potwierdzić usunięcie wiersza, Supernova zachowuje go i ustawia _deleted, dzięki czemu zapytania mogą zdecydować, czy uwzględniać historię. Aby pobierać bieżący stan, filtruj zapytania przez where not _deleted.