diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/manifest.yaml b/airbyte-integrations/connectors/source-amazon-seller-partner/manifest.yaml index 66b70a1d2f67..dbb1b8e00fe7 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/manifest.yaml +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/manifest.yaml @@ -2673,6 +2673,12 @@ definitions: url_base: "{{ config['endpoint'] }}" authenticator: "#/definitions/authenticator" http_method: POST + error_handler: + type: DefaultErrorHandler + max_retries: 10 + backoff_strategies: + - type: ConstantBackoffStrategy + backoff_time_in_seconds: 120 # = (1 / rate (0.0167)) * safety_factor (2.0). request_headers: content-type: "application/json" request_body_json: @@ -2696,6 +2702,12 @@ definitions: url_base: "{{ config['endpoint'] }}" authenticator: "#/definitions/authenticator" http_method: GET + error_handler: + type: DefaultErrorHandler + max_retries: 10 + backoff_strategies: + - type: ConstantBackoffStrategy + backoff_time_in_seconds: 120 # = (1 / rate (0.0167)) * safety_factor (2.0). request_headers: content-type: "application/json" @@ -2795,6 +2807,31 @@ api_budget: matchers: - method: GET url_path_pattern: "orders/v0/orders/[^/]+/orderItems(\\?.*)?$" # matches /orderItems + # API Budget for reports: https://developer-docs.amazon.com/sp-api/docs/reports-api-rate-limits#reports-v2021-06-30 + - type: MovingWindowCallRatePolicy + # https://developer-docs.amazon.com/sp-api/reference/createreport + rates: + - limit: 1 # 0.0167 calls per second = around 1 request per minute + interval: PT1M + matchers: + - method: POST + url_path_pattern: "reports/2021-06-30/reports" + - type: MovingWindowCallRatePolicy + # https://developer-docs.amazon.com/sp-api/reference/getreport + rates: + - limit: 2 # 2 calls per second + interval: PT1S + matchers: + - method: GET + url_path_pattern: "reports/2021-06-30/reports/.+" + - type: MovingWindowCallRatePolicy + # https://developer-docs.amazon.com/sp-api/reference/getreportdocument + rates: + - limit: 1 # 0.0167 calls per second = around 1 request per minute + interval: PT1M + matchers: + - method: GET + url_path_pattern: "reports/2021-06-30/documents/.+" # Other API budget settings: status_codes_for_ratelimit_hit: [429] diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/metadata.yaml b/airbyte-integrations/connectors/source-amazon-seller-partner/metadata.yaml index 9d38d441b164..6362bf7ce5ee 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/metadata.yaml +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/metadata.yaml @@ -15,7 +15,7 @@ data: connectorSubtype: api connectorType: source definitionId: e55879a8-0ef8-4557-abcf-ab34c53ec460 - dockerImageTag: 4.8.2 + dockerImageTag: 4.8.3 dockerRepository: airbyte/source-amazon-seller-partner documentationUrl: https://docs.airbyte.com/integrations/sources/amazon-seller-partner erdUrl: https://dbdocs.io/airbyteio/source-amazon-seller-partner?view=relationships diff --git a/docs/integrations/sources/amazon-seller-partner.md b/docs/integrations/sources/amazon-seller-partner.md index 81b4b4c38510..48877f096b04 100644 --- a/docs/integrations/sources/amazon-seller-partner.md +++ b/docs/integrations/sources/amazon-seller-partner.md @@ -249,22 +249,23 @@ Create a separate connection for streams which usually fail with error above "Fa | Version | Date | Pull Request | Subject | |:-----------|:-----------|:----------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| 4.8.2 | 2025-09-17 | [66485](https://github.com/airbytehq/airbyte/pull/66485) | Upgrade to CDK v7 | -| 4.8.1 | 2025-08-16 | [65047](https://github.com/airbytehq/airbyte/pull/65047) | Update dependencies | -| 4.8.0 | 2025-07-29 | [53225](https://github.com/airbytehq/airbyte/pull/) | Add VendorOrdersStatus stream | -| 4.7.2 | 2025-08-02 | [63032](https://github.com/airbytehq/airbyte/pull/63032) | Update dependencies | -| 4.7.1 | 2025-07-15 | [63309](https://github.com/airbytehq/airbyte/pull/63309) | Adds `type` property to `config_normalization_rules` in manifest | -| 4.7.0 | 2025-07-08 | [62850](https://github.com/airbytehq/airbyte/pull/62850) | Promoting release candidate 4.7.0-rc.1 to a main version. | -| 4.7.0-rc.1 | 2025-06-30 | [62119](https://github.com/airbytehq/airbyte/pull/62119) | Migrate to manifest-only | -| 4.6.4 | 2025-06-15 | [54870](https://github.com/airbytehq/airbyte/pull/54870) | Update dependencies | -| 4.6.3 | 2025-06-03 | [61351](https://github.com/airbytehq/airbyte/pull/61351) | Update dependencies | -| 4.6.2 | 2025-04-09 | [57537](https://github.com/airbytehq/airbyte/pull/57537) |Fix Extend Minimum Date Range| -| 4.6.1 | 2025-04-08 | [55238](https://github.com/airbytehq/airbyte/pull/55238) |Fix daterange in `DatetimeBasedCursor` and Added configurable step size for financial events streams (`list_financial_event_groups`, `list_financial_events`)| -| 4.6.0 | 2025-02-24 | [53225](https://github.com/airbytehq/airbyte/pull/53225) | Add API Budget | -| 4.5.3 | 2025-02-22 | [53928](https://github.com/airbytehq/airbyte/pull/53928) | Update dependencies | -| 4.5.2 | 2025-02-17 | [53693](https://github.com/airbytehq/airbyte/pull/53693) | Add app_id to server configuration (OAuth) | -| 4.5.1 | 2025-02-08 | [49297](https://github.com/airbytehq/airbyte/pull/49297) | Update dependencies | -| 4.5.0 | 2025-02-04 | [53155](https://github.com/airbytehq/airbyte/pull/53155) | Promoting release candidate 4.5.0-rc.5 to a main version. | +| 4.8.3 | 2025-10-13 | [67601](https://github.com/airbytehq/airbyte/pull/67601) | Add API budget for reports | +| 4.8.2 | 2025-09-17 | [66485](https://github.com/airbytehq/airbyte/pull/66485) | Upgrade to CDK v7 | +| 4.8.1 | 2025-08-16 | [65047](https://github.com/airbytehq/airbyte/pull/65047) | Update dependencies | +| 4.8.0 | 2025-07-29 | [53225](https://github.com/airbytehq/airbyte/pull/) | Add VendorOrdersStatus stream | +| 4.7.2 | 2025-08-02 | [63032](https://github.com/airbytehq/airbyte/pull/63032) | Update dependencies | +| 4.7.1 | 2025-07-15 | [63309](https://github.com/airbytehq/airbyte/pull/63309) | Adds `type` property to `config_normalization_rules` in manifest | +| 4.7.0 | 2025-07-08 | [62850](https://github.com/airbytehq/airbyte/pull/62850) | Promoting release candidate 4.7.0-rc.1 to a main version. | +| 4.7.0-rc.1 | 2025-06-30 | [62119](https://github.com/airbytehq/airbyte/pull/62119) | Migrate to manifest-only | +| 4.6.4 | 2025-06-15 | [54870](https://github.com/airbytehq/airbyte/pull/54870) | Update dependencies | +| 4.6.3 | 2025-06-03 | [61351](https://github.com/airbytehq/airbyte/pull/61351) | Update dependencies | +| 4.6.2 | 2025-04-09 | [57537](https://github.com/airbytehq/airbyte/pull/57537) | Fix Extend Minimum Date Range | +| 4.6.1 | 2025-04-08 | [55238](https://github.com/airbytehq/airbyte/pull/55238) | Fix daterange in `DatetimeBasedCursor` and Added configurable step size for financial events streams (`list_financial_event_groups`, `list_financial_events`) | +| 4.6.0 | 2025-02-24 | [53225](https://github.com/airbytehq/airbyte/pull/53225) | Add API Budget | +| 4.5.3 | 2025-02-22 | [53928](https://github.com/airbytehq/airbyte/pull/53928) | Update dependencies | +| 4.5.2 | 2025-02-17 | [53693](https://github.com/airbytehq/airbyte/pull/53693) | Add app_id to server configuration (OAuth) | +| 4.5.1 | 2025-02-08 | [49297](https://github.com/airbytehq/airbyte/pull/49297) | Update dependencies | +| 4.5.0 | 2025-02-04 | [53155](https://github.com/airbytehq/airbyte/pull/53155) | Promoting release candidate 4.5.0-rc.5 to a main version. | | 4.5.0-rc.5 | 2025-01-31 | [52700](https://github.com/airbytehq/airbyte/pull/52700) | Use incremental_dependency for the OrderItems substream | | 4.5.0-rc.4 | 2025-01-31 | [52683](https://github.com/airbytehq/airbyte/pull/52683) | Fix Rate Limiting issue; disable concurrency | | 4.5.0-rc.3 | 2025-01-28 | [52619](https://github.com/airbytehq/airbyte/pull/52619) | Fix `Orders` pagination |