DefaultApi - functional programming interface

  • Parameters

    • Optionalconfiguration: Configuration

    Returns {
        listFinancialEventGroups(
            maxResultsPerPage?: number,
            financialEventGroupStartedBefore?: string,
            financialEventGroupStartedAfter?: string,
            nextToken?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<ListFinancialEventGroupsResponse>,
        >;
        listFinancialEvents(
            maxResultsPerPage?: number,
            postedAfter?: string,
            postedBefore?: string,
            nextToken?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<ListFinancialEventsResponse>,
        >;
        listFinancialEventsByGroupId(
            eventGroupId: string,
            maxResultsPerPage?: number,
            postedAfter?: string,
            postedBefore?: string,
            nextToken?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<ListFinancialEventsResponse>,
        >;
        listFinancialEventsByOrderId(
            orderId: string,
            maxResultsPerPage?: number,
            nextToken?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<ListFinancialEventsResponse>,
        >;
    }

    • listFinancialEventGroups:function
      • Returns financial event groups for a given date range. It may take up to 48 hours for orders to appear in your financial events. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

        Parameters

        • OptionalmaxResultsPerPage: number

          The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with &#39;InvalidInput&#39;.

        • OptionalfinancialEventGroupStartedBefore: string

          A date used for selecting financial event groups that opened before (but not at) a specified date and time, in ISO 8601 format. The date-time must be later than FinancialEventGroupStartedAfter and no later than two minutes before the request was submitted. If FinancialEventGroupStartedAfter and FinancialEventGroupStartedBefore are more than 180 days apart, no financial event groups are returned.

        • OptionalfinancialEventGroupStartedAfter: string

          A date used for selecting financial event groups that opened after (or at) a specified date and time, in ISO 8601 format. The date-time must be no later than two minutes before the request was submitted.

        • OptionalnextToken: string

          A string token returned in the response of your previous request.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<ListFinancialEventGroupsResponse>,
        >

    • listFinancialEvents:function
      • Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. Note: in ListFinancialEvents, deferred events don't show up in responses until in they are released. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

        Parameters

        • OptionalmaxResultsPerPage: number

          The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with &#39;InvalidInput&#39;.

        • OptionalpostedAfter: string

          A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.

        • OptionalpostedBefore: string

          A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.

        • OptionalnextToken: string

          A string token returned in the response of your previous request.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<ListFinancialEventsResponse>,
        >

    • listFinancialEventsByGroupId:function
      • Returns all financial events for the specified financial event group. It may take up to 48 hours for orders to appear in your financial events. Note: This operation will only retrieve group's data for the past two years. If a request is submitted for data spanning more than two years, an empty response is returned. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

        Parameters

        • eventGroupId: string

          The identifier of the financial event group to which the events belong.

        • OptionalmaxResultsPerPage: number

          The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with &#39;InvalidInput&#39;.

        • OptionalpostedAfter: string

          A date used for selecting financial events posted after (or at) a specified time. The date-time must be more than two minutes before the time of the request, in ISO 8601 date time format.

        • OptionalpostedBefore: string

          A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than `PostedAfter` and no later than two minutes before the request was submitted, in ISO 8601 date time format. If `PostedAfter` and `PostedBefore` are more than 180 days apart, no financial events are returned. You must specify the `PostedAfter` parameter if you specify the `PostedBefore` parameter. Default: Now minus two minutes.

        • OptionalnextToken: string

          A string token returned in the response of your previous request.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<ListFinancialEventsResponse>,
        >

    • listFinancialEventsByOrderId:function
      • Returns all financial events for the specified order. It may take up to 48 hours for orders to appear in your financial events. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

        Parameters

        • orderId: string

          An Amazon-defined order identifier, in 3-7-7 format.

        • OptionalmaxResultsPerPage: number

          The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with &#39;InvalidInput&#39;.

        • OptionalnextToken: string

          A string token returned in the response of your previous request.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<ListFinancialEventsResponse>,
        >