Which date field, createdAfter or lastUpdatedAfter...
# replication-ask-ai
k
Which date field, createdAfter or lastUpdatedAfter, for the initial sync or historical sync, Amazon SP-API Orders endpoint uses?
k
The knowledge sources do not explicitly state which date field (
CreatedAfter
vs
LastUpdatedAfter
) the Amazon Seller Partner connector uses for the initial/historical sync of the Orders stream. What the knowledge sources do confirm is: • The Orders API endpoint supports both `CreatedAfter`/`CreatedBefore` and `LastUpdatedAfter`/`LastUpdatedBefore` as optional filter parameters. [Orders List] • There is a known GitHub issue referencing "Configure LastUpdatedAfter for Orders stream via start_date" (issue #42089), which suggests the connector uses
LastUpdatedAfter
tied to the
start_date
configuration. [GitHub Issue] • A related error log also shows the connector making requests with
LastUpdatedAfter
and
LastUpdatedBefore
parameters (e.g.,
LastUpdatedAfter=2023-04-16T09%3A45%3A26Z&LastUpdatedBefore=2023-04-17T00%3A00%3A00Z
), which further suggests
LastUpdatedAfter
is the field in use. [Bad Request Issue] Based on this evidence, the connector appears to use
LastUpdatedAfter
(driven by the configured
start_date
) for the Orders stream sync. However, the knowledge sources do not provide a definitive, explicit statement confirming this for the initial/historical sync specifically, so I'd recommend checking the connector's source code or official documentation for full certainty. 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.