# shopee fields

> The 107 fields of the shopee connector: field ID, name, type and description.

Use the field ID in the `fields` parameter of a request to `https://connectors.windsor.ai/shopee`. This list comes from `GET https://connectors.windsor.ai/shopee/fields`; the same call returns it as JSON, with more detail.

## orders

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `order_buyer_username` | Order Buyer Username | `TEXT` | The username of the buyer. |
| `order_cod` | Order COD | `BOOLEAN` | Whether the order is cash on delivery. |
| `order_create_time` | Order Create Time | `TIMESTAMP` | The time the order was created. ISO 8601 datetime (UTC). |
| `order_currency` | Order Currency | `TEXT` | The currency of the order total. |
| `order_days_to_ship` | Order Days To Ship | `NUMERIC` | The number of days the seller has to ship the order. |
| `order_id` | Order ID | `TEXT` | The Shopee order serial number (order_sn). |
| `order_message_to_seller` | Order Message To Seller | `TEXT` | The message the buyer left for the seller. |
| `order_pay_time` | Order Pay Time | `TIMESTAMP` | The time the order was paid. ISO 8601 datetime (UTC). |
| `order_payment_method` | Order Payment Method | `TEXT` | The payment method used for the order. |
| `order_region` | Order Region | `REGION` | The two-letter region code of the order, for example ID. |
| `order_ship_by_date` | Order Ship By Date | `TIMESTAMP` | The date by which the order must be shipped. ISO 8601 (UTC). |
| `order_shipping_carrier` | Order Shipping Carrier | `TEXT` | The shipping carrier of the order. |
| `order_status` | Order Status | `TEXT` | The order status, for example READY_TO_SHIP or COMPLETED. |
| `order_total_amount` | Order Total Amount | `NUMERIC` | The total amount the buyer paid for the order. |
| `order_update_time` | Order Update Time | `TIMESTAMP` | The time the order was last updated. ISO 8601 datetime (UTC). |

## products

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `product_available_stock` | Product Available Stock | `NUMERIC` | The total available stock of the item. |
| `product_brand` | Product Brand | `TEXT` | The brand name of the item. |
| `product_category_id` | Product Category ID | `TEXT` | The Shopee category ID of the item. |
| `product_condition` | Product Condition | `TEXT` | The item condition, for example NEW or USED. |
| `product_create_time` | Product Create Time | `TIMESTAMP` | The time the item was created. ISO 8601 datetime (UTC). |
| `product_currency` | Product Currency | `TEXT` | The currency of the item price. |
| `product_current_price` | Product Current Price | `NUMERIC` | The current selling price of the item. |
| `product_description` | Product Description | `TEXT` | The item description. |
| `product_id` | Product ID | `TEXT` | The Shopee item ID. |
| `product_image_src` | Product Image URL | `IMAGE_URL` | The URL of the first item image. |
| `product_name` | Product Name | `TEXT` | The item name. |
| `product_original_price` | Product Original Price | `NUMERIC` | The original price of the item before discounts. |
| `product_sku` | Product SKU | `TEXT` | The seller SKU of the item. |
| `product_status` | Product Status | `TEXT` | The item status, for example NORMAL. |
| `product_update_time` | Product Update Time | `TIMESTAMP` | The time the item was last updated. ISO 8601 datetime (UTC). |
| `product_weight` | Product Item Weight | `NUMERIC` | The item weight in kilograms. |

## returns

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `return_amount_before_discount` | Return Amount Before Discount | `NUMERIC` | The item amount before discounts. |
| `return_create_time` | Return Create Time | `TIMESTAMP` | The time the return was created. ISO 8601 datetime (UTC). |
| `return_currency` | Return Currency | `TEXT` | The currency of the refund amount. |
| `return_due_date` | Return Due Date | `TIMESTAMP` | The seller response due date. ISO 8601 datetime (UTC). |
| `return_id` | Return ID | `TEXT` | The Shopee return serial number (return_sn). |
| `return_order_id` | Return Order ID | `TEXT` | The order serial number (order_sn) of the return. |
| `return_reason` | Return Reason | `TEXT` | The return reason code, for example ITEM_DAMAGED. |
| `return_refund_amount` | Return Refund Amount | `NUMERIC` | The amount refunded to the buyer. |
| `return_refund_type` | Return Refund Type | `TEXT` | The type of refund for the return. |
| `return_status` | Return Status | `TEXT` | The return status, for example REFUND_PAID. |
| `return_text_reason` | Return Text Reason | `TEXT` | The free-text reason the buyer gave for the return. |
| `return_update_time` | Return Update Time | `TIMESTAMP` | The time the return was last updated. ISO 8601 datetime (UTC). |

## settlement

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `settlement_actual_shipping_fee` | Settlement Actual Shipping Fee | `NUMERIC` | The actual shipping fee for the order. |
| `settlement_ads_fee` | Settlement Ads Fee | `NUMERIC` | The ads escrow top-up or technical support fee. |
| `settlement_buyer_paid_shipping_fee` | Settlement Buyer Paid Shipping Fee | `NUMERIC` | The shipping fee paid by the buyer. |
| `settlement_buyer_payment_method` | Settlement Buyer Payment Method | `TEXT` | The payment method the buyer used. |
| `settlement_buyer_total_amount` | Settlement Buyer Total Amount | `NUMERIC` | The total amount the buyer paid. |
| `settlement_buyer_transaction_fee` | Settlement Buyer Transaction Fee | `NUMERIC` | The transaction fee charged to the buyer. |
| `settlement_campaign_fee` | Settlement Campaign Fee | `NUMERIC` | The fee charged for participating in a campaign. |
| `settlement_coins` | Settlement Coins | `NUMERIC` | The Shopee coins value applied to the order. |
| `settlement_commission_fee` | Settlement Commission Fee | `NUMERIC` | The Shopee commission fee charged on the order. |
| `settlement_cost_of_goods_sold` | Settlement Cost Of Goods Sold | `NUMERIC` | The cost of goods sold for the order. |
| `settlement_credit_card_transaction_fee` | Settlement Credit Card Transaction Fee | `NUMERIC` | The credit card transaction fee on the order. |
| `settlement_currency` | Settlement Currency | `TEXT` | The currency of the settlement amounts. |
| `settlement_drc_adjustable_refund` | Settlement DRC Adjustable Refund | `NUMERIC` | The dispute-resolution adjustable refund amount. |
| `settlement_escrow_amount` | Settlement Escrow Amount | `NUMERIC` | The net amount released to the seller after Shopee fees. |
| `settlement_escrow_amount_after_adjustment` | Settlement Escrow Amount After Adjustment | `NUMERIC` | The escrow amount after post-release adjustments. |
| `settlement_estimated_shipping_fee` | Settlement Estimated Shipping Fee | `NUMERIC` | The estimated shipping fee for the order. |
| `settlement_final_shipping_fee` | Settlement Final Shipping Fee | `NUMERIC` | The final shipping fee borne by the seller. |
| `settlement_order_discounted_price` | Settlement Order Discounted Price | `NUMERIC` | The order price after discounts. |
| `settlement_order_id` | Settlement Order ID | `TEXT` | The Shopee order serial number (order_sn) of the settlement. |
| `settlement_order_original_price` | Settlement Order Original Price | `NUMERIC` | The order price before discounts. |
| `settlement_order_selling_price` | Settlement Order Selling Price | `NUMERIC` | The order selling price. |
| `settlement_original_cost_of_goods_sold` | Settlement Original Cost Of Goods Sold | `NUMERIC` | The original cost of goods sold before adjustments. |
| `settlement_reverse_shipping_fee` | Settlement Reverse Shipping Fee | `NUMERIC` | The return (reverse) shipping fee. |
| `settlement_seller_discount` | Settlement Seller Discount | `NUMERIC` | The discount funded by the seller. |
| `settlement_seller_return_refund` | Settlement Seller Return Refund | `NUMERIC` | The amount refunded to the buyer by the seller. |
| `settlement_seller_transaction_fee` | Settlement Seller Transaction Fee | `NUMERIC` | The transaction fee charged to the seller. |
| `settlement_service_fee` | Settlement Service Fee | `NUMERIC` | The Shopee service fee charged on the order. |
| `settlement_shopee_discount` | Settlement Shopee Discount | `NUMERIC` | The discount funded by Shopee. |
| `settlement_shopee_shipping_rebate` | Settlement Shopee Shipping Rebate | `NUMERIC` | The shipping rebate funded by Shopee. |
| `settlement_total_adjustment_amount` | Settlement Total Adjustment Amount | `NUMERIC` | The total adjustment amount applied to the order. |
| `settlement_voucher_from_seller` | Settlement Voucher From Seller | `NUMERIC` | The voucher amount funded by the seller. |
| `settlement_voucher_from_shopee` | Settlement Voucher From Shopee | `NUMERIC` | The voucher amount funded by Shopee. |

## wallet

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `wallet_amount` | Wallet Amount | `NUMERIC` | The transaction amount. |
| `wallet_create_time` | Wallet Create Time | `TIMESTAMP` | The time the transaction was created. ISO 8601 datetime (UTC). |
| `wallet_current_balance` | Wallet Current Balance | `NUMERIC` | The wallet balance after the transaction. |
| `wallet_description` | Wallet Description | `TEXT` | The description of the transaction. |
| `wallet_money_flow` | Wallet Money Flow | `TEXT` | The direction of the money flow for the transaction. |
| `wallet_order_id` | Wallet Order ID | `TEXT` | The order serial number (order_sn) linked to the transaction. |
| `wallet_transaction_fee` | Wallet Transaction Fee | `NUMERIC` | The fee charged on the transaction. |
| `wallet_transaction_id` | Wallet Transaction ID | `TEXT` | The Shopee wallet transaction ID. |
| `wallet_transaction_status` | Wallet Transaction Status | `TEXT` | The transaction status, for example COMPLETED. |
| `wallet_transaction_type` | Wallet Transaction Type | `TEXT` | The transaction type, for example ESCROW_VERIFIED_ADD. |
| `wallet_type` | Wallet Type | `TEXT` | The wallet type, for example shopee_pay. |

## Other

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `account_id` | Account ID | `TEXT` | The Shopee shop ID. |
| `account_name` | Account Name | `TEXT` | The Shopee shop name. |
| `data_fetched_at` | Data fetched at | `TIMESTAMP` | UTC timestamp (second precision) of when the connector request that pulled the row started. Freshly pulled rows show this request's start time; cache hits keep the start time of the request that filled the cache. Selecting this field disables aggregation, so rows are returned individually (each kee… |
| `datasource` | Data Source | `TEXT` | The name of the Windsor connector returning the row |
| `date` | Date | `DATE` | The date of the record. |
| `day_of_month` | Day of month | `TEXT` | Day of the month |
| `month` | Month | `TEXT` | Number of the month |
| `now` | Now | `TIMESTAMP` | Current timestamp |
| `source` | Source | `TEXT` | The name of the Windsor connector returning the row |
| `today` | Today | `DATE` | Today's date |
| `week` | Week | `TEXT` | Week (Sun-Sat). |
| `week_day` | Day of week and day number | `TEXT` | Weekday number and name combined (Sun-Sat).Numbered from 0 Sunday to 6 Saturday. |
| `week_day_iso` | Day of week and day number, ISO | `TEXT` | Weekday number and name combined, ISO format (Mon-Sun).Numbered from 1 Monday to 7 |
| `week_iso` | Week ISO | `TEXT` | Week, ISO format (Mon-Sun). |
| `year` | Year | `TEXT` | Year |
| `year_month` | Yearmonth | `TEXT` | Year and month, e.g. 2024\|3 |
| `year_month_name` | Year month name | `TEXT` | Year and month with the month name written out, e.g. "Jan 2025". |
| `year_of_week` | Year of week | `TEXT` | The year that contains first day of the week (Sun-Sat). |
| `year_of_week_iso` | Year of week, ISO | `TEXT` | The year that contains first day of the ISO week (Mon-Sun). |
| `year_week` | Year week | `TEXT` | Year and week for US weeks (Sun-Sat), e.g. 2024\|15 |
| `year_week_iso` | Year week ISO | `TEXT` | Year and week for ISO weeks (Mon-Sun), e.g. 2024\|20 |
