
Configuring AnyMarket as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the AnyMarket option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
You’ll need your AnyMarket API Token for this connection. You can generate or find this token in your AnyMarket account settings under API integrations. The following configurations are available:- Token: Your AnyMarket API authentication token. This is required to access your account data.
- Start Date: The earliest date from which records will be synced. Records created or updated after this date will be extracted from the source.
- Lookback Window: (Default: 30 days) The number of days to look back and refetch records based on the creation date. This helps ensure data completeness for recently modified records.
2. Select streams
Choose which data streams you want to sync. AnyMarket provides comprehensive order data that includes marketplace information, buyer details, payments, items, and shipping information.Tip: The stream can be found more easily by typing its name.Select the streams and click Next.
3. Configure data streams
Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.- Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
- Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
- Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
- Incremental: every time the extraction happens, we’ll get only the new data - which is good if, for example, you want to keep every record ever fetched.
- Full table: every time the extraction happens, we’ll get the current state of the data - which is good if, for example, you don’t want to have deleted data in your catalog.
4. Configure data source
Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Optionally, you can define some additional settings:- Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
- Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.
5. Check your new source
You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.Streams and Fields
Below you’ll find all available data streams from AnyMarket and their corresponding fields:Orders
Orders
Stream containing comprehensive order data from all connected marketplaces.Key Fields:
id- Unique order identifieraccountName- Account namemarketPlace- Marketplace name (e.g., Mercado Livre, Amazon, Shopee)marketPlaceId- Marketplace identifiermarketPlaceNumber- Marketplace order numberpartnerId- Partner identifiersubChannel- SubchannelsubChannelNormalized- Normalized subchannelcreatedAt- Order creation timestamplastUpdate- Last update timestampstatus- Order statustransmissionStatus- Transmission statusmarketPlaceStatus- Marketplace order statusmarketPlaceStatusComplement- Marketplace status complementdeliveryStatus- Delivery statusfulfillment- Whether order is fulfilledorderTypeName- Order type name
discount- Order discountfreight- Freight costsellerFreight- Freight cost for sellerinterestValue- Interest valuegross- Gross valuetotal- Total order value
cancelDate- Date of cancellationcancelDetails- Cancellation detailscancellationCode- Cancellation codecancellationOrigin- Cancellation origin
paymentDate- Date of paymentdocumentPaymentInstitution- Payment institution documentdocumentIntermediator- Intermediator documentintermediateRegistrationId- Intermediate registration ID
shippingId- Shipping identifiershippingOptionId- Shipping option identifierlogisticType- Logistic typemarketPlaceShipmentStatus- Marketplace shipment statusmarketPlaceShipmentSubstatus- Marketplace shipment substatusprintTagDate- Print tag date
marketPlaceUrl- Marketplace URLtransmissionMessage- Transmission message
invoice - Invoice details:accessKey- Invoice access key (NFe)series- Invoice seriesnumber- Invoice numberdate- Invoice datecfop- CFOP codecompanyStateTaxId- Company state tax IDlinkNfe- NFe linkinvoiceLink- Invoice linkextraDescription- Extra description
shipping - Shipping address:address- Full addressstreet- Street namenumber- Street numberneighborhood- Neighborhoodcity- Citystate- StatestateNameNormalized- Normalized state namecountry- CountrycountryAcronymNormalized- Normalized country acronymcountryNameNormalized- Normalized country namezipCode- ZIP codecomment- Address commentreference- Address referencereceiverName- Receiver namepromisedShippingTime- Promised shipping timepromisedDispatchTime- Promised dispatch time
billingAddress - Billing address:- Same fields as
shippingplus: shipmentUserDocument- User documentshipmentUserDocumentType- Document typeshipmentUserName- User name
anymarketAddress - AnyMarket normalized address:address,street,number,neighborhoodcity,state,stateAcronymNormalizedcountry,zipCode,comment,referencereceiverName,promisedShippingTime
buyer - Buyer information:name- Buyer nameemail- Email addressphone- Phone numbercellPhone- Cell phone numberdocument- Document numberdocumentNumberNormalized- Normalized document numberdocumentType- Document type (CPF/CNPJ)marketPlaceId- Marketplace buyer IDdateOfBirth- Date of birthcompanyStateTaxId- Company state tax ID
payments - Payment information (array):method- Payment methodpaymentMethodNormalized- Normalized payment methodpaymentDetailNormalized- Normalized payment detailstatus- Payment statusvalue- Payment valueinstallments- Number of installmentsmarketplaceId- Marketplace payment IDgatewayFee- Gateway feemarketplaceFee- Marketplace feedocumentPaymentInstitution- Payment institution documentcardOperator- Card operatororderAuthorizationCardCode- Card authorization code
items - Order items (array):product- Product details:id- Product IDtitle- Product titleexternalIdProduct- External product ID
sku- SKU details:id- SKU IDtitle- SKU titleean- EAN codepartnerId- Partner IDexternalId- External SKU ID
amount- Quantityunit- Unit pricegross- Gross valuetotal- Total valuediscount- Item discountmarketPlaceId- Marketplace item IDorderItemId- Order item IDidInMarketPlace- ID in marketplaceofficialStoreId- Official store IDofficialStoreName- Official store namelistingType- Listing typefreeShipping- Free shipping flagisCatalog- Catalog flagidInMarketplaceCatalogOrigin- Catalog origin IDgatewayFee- Gateway feemarketplaceFee- Marketplace feeitemIdInMarketPlace- Item ID in marketplaceshippings- Item shipping methods (array):id- Shipping IDshippingCarrierNormalized- Normalized carriershippingCarrierTypeNormalized- Normalized carrier typeshippingtype- Shipping type
customization- Customization details:customizationType- TypecustomizationQuantity- QuantitycustomizationPrice- PricecustomizationValue- Value
stocks- Stock details (array):amount- Stock amountstockLocalId- Stock location IDstockName- Stock name
tracking - Tracking information:carrier- Carrier namecarrierDocument- Carrier documentnumber- Tracking numberurl- Tracking URLdate- Tracking dateshippedDate- Shipped dateestimateDate- Estimated delivery datedeliveredDate- Delivered datebufferingDate- Buffering date
pickup - Pickup details:id- Pickup IDdescription- DescriptionpartnerId- Partner IDmarketplaceId- Marketplace IDreceiverName- Receiver name
quoteReconciliation - Quote reconciliation:quoteId- Quote IDprice- Quote price
metadata - Order metadata (array):key- Metadata keyvalue- Metadata value
discountMetadata - Discount metadata (array):type- Discount types (array)
idAccount- Account ID