streams:
order_list:
name: order_list
path: /pb/mp/order/v2/list
url_base:
https://openapi.lingxing.com
sync_mode: incremental
http_method: POST
primary_key:
- platform_order_no
cursor_field:
- end_time
success:
api_codes:
- 0
- 200
record_path: list
pagination:
type: offset
page_size: 500
offset_field: offset
length_field: length
body_defaults:
length: 500
offset: 0
date_type: global_purchase_time
order_status: 6
include_delete: 0
platform_payment_status:
- partially_paid
- paid
platform_shipping_status:
- fulfilled
body_field_map:
length: length
offset: offset
end_time: end_time
store_id: store_id
date_type: date_type
start_time: start_time
order_status: order_status
platform_code: platform_code
include_delete: include_delete
platform_order_nos: platform_order_nos
platform_order_names: platform_order_names
platform_payment_status: platform_payment_status
platform_shipping_status: platform_shipping_status
request_headers:
Content-Type: application/json
destination_sync_mode: append_dedup
schema:
type: object
properties:
platform_order_no:
type: string
end_time:
type: string
format: date-time
currency_month:
name: currency_month
path: /erp/sc/routing/finance/currency/currencyMonth
url_base:
https://openapi.lingxing.com
sync_mode: incremental
http_method: POST
primary_key:
- date
cursor_field:
- date
success:
api_codes:
- 0
- 200
record_path: data
request_headers:
Content-Type: application/json
destination_sync_mode: append_dedup
schema:
type: object
properties:
date:
type: string
format: date
marketplace_list:
name: marketplace_list
path: /erp/sc/data/seller/allMarketplace
url_base:
https://openapi.lingxing.com
sync_mode: full_refresh
http_method: GET
primary_key:
- mid
success:
api_codes:
- 0
- 200
record_path: data
request_headers:
Content-Type: application/json
destination_sync_mode: overwrite
schema:
type: object
properties:
mid:
type: integer
code:
type: string
region:
type: string
country:
type: string
aws_region:
type: string
marketplace_id:
type: string
I'm a bit curious. I don't know why I keep getting errors when using AI to modify, but I can't see the wrong line numbers