vendorRealTimeSalesReport: {
    definitions: {
        reportData: {
            description: "Contains details about hour and ASIN combinations for the specified time range.";
            properties: {
                asin: {
                    description: "The Amazon Standard Identification Number (ASIN).";
                    examples: readonly ["B123456789"];
                    type: "string";
                };
                endTime: {
                    description: "The end of a date-time range in UTC representing the end of the hour for this object.";
                    examples: readonly ["2022-04-20T21:00:00Z", "2022-04-20T09:00:00Z"];
                    format: "date-time";
                    type: "string";
                };
                orderedRevenue: {
                    description: "Ordered Product Sales in the specified hour as of the time the report is generated. Adjustments are made for cancellations.";
                    examples: readonly [20];
                    type: "number";
                };
                orderedUnits: {
                    description: "Number of units ordered by Amazon customers. This number can be negative if there are more cancellations than orders.";
                    examples: readonly [75, -12];
                    type: "integer";
                };
                startTime: {
                    description: "The start of a date-time range in UTC representing the beginning of the hour for this object.";
                    examples: readonly ["2022-04-20T20:00:00Z", "2022-04-20T08:00:00Z"];
                    format: "date-time";
                    type: "string";
                };
            };
            required: readonly [
                "startTime",
                "endTime",
                "asin",
                "orderedUnits",
                "orderedRevenue",
            ];
            type: "object";
        };
    };
    description: "This report shares sales data at an ASIN level, aggregated to an hourly granularity. Requests can span multiple date range periods. For example, if the customer specified dataStartTime and dataEndTime span three hours, the report would contain data for each complete hour within the time span.";
    examples: readonly [
        {
            reportData: readonly [
                {
                    asin: "B00ABCD123";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 167.14;
                    orderedUnits: 1;
                    startTime: "2022-04-20T20:00:00Z";
                },
                {
                    asin: "B00ABCD456";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 0;
                    orderedUnits: 0;
                    startTime: "2022-04-20T20:00:00Z";
                },
                {
                    asin: "B00ABCD789";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 0;
                    orderedUnits: 0;
                    startTime: "2022-04-20T20:00:00Z";
                },
                {
                    asin: "B00LMNO789";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 65.99;
                    orderedUnits: 1;
                    startTime: "2022-04-20T20:00:00Z";
                },
                {
                    asin: "B00LMNO456";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 50.99;
                    orderedUnits: 1;
                    startTime: "2022-04-20T20:00:00Z";
                },
                {
                    asin: "B00LMNO147";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 103.98;
                    orderedUnits: 2;
                    startTime: "2022-04-20T20:00:00Z";
                },
                {
                    asin: "B00LMNO963";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 64.53;
                    orderedUnits: 1;
                    startTime: "2022-04-20T20:00:00Z";
                },
            ];
            reportSpecification: {
                dataEndTime: "2022-04-20T21:00:00Z";
                dataStartTime: "2022-04-20T20:00:00Z";
                marketplaceIds: readonly ["ATVPDKIKX0DER"];
                reportOptions: { currencyCode: "USD" };
                reportType: "GET_VENDOR_REAL_TIME_SALES_REPORT";
            };
        },
    ];
    properties: {
        reportData: {
            description: "List of hour and ASIN combinations.";
            items: { $ref: "#/definitions/reportData" };
            type: "array";
        };
        reportSpecification: {
            description: "Summarizes the original report request.";
            properties: {
                dataEndTime: {
                    description: "The end of a date-time range in UTC used to determine hours to report on. Output will include all full hours that fall within the range.";
                    examples: readonly ["2022-04-20T20:00:00Z", "2022-04-20T20:10:00Z"];
                    format: "date-time";
                    type: "string";
                };
                dataStartTime: {
                    description: "The start of a date-time range in UTC used to determine hours to report on. Output will include all full hours that fall within the range.";
                    examples: readonly ["2022-04-20T20:00:00Z", "2022-04-20T20:59:59Z"];
                    format: "date-time";
                    type: "string";
                };
                marketplaceIds: {
                    description: "Marketplace IDs as specified in the report request.";
                    examples: readonly [readonly ["ATVPDKIKX0DER"]];
                    items: { type: "string" };
                    type: "array";
                };
                reportOptions: {
                    description: "Report options specifying parameters such as currencyCode.";
                    properties: {
                        currencyCode: {
                            description: "Currency code of the amount. In ISO 4217 format.";
                            examples: readonly ["USD", "EUR", "AUD", "JPY"];
                            type: "string";
                        };
                    };
                    required: readonly ["currencyCode"];
                    type: "object";
                };
                reportType: {
                    description: "The type of the report.";
                    enum: readonly ["GET_VENDOR_REAL_TIME_SALES_REPORT"];
                    type: "string";
                };
            };
            required: readonly [
                "reportType",
                "dataStartTime",
                "dataEndTime",
                "marketplaceIds",
                "reportOptions",
            ];
            type: "object";
        };
    };
    required: readonly ["reportSpecification", "reportData"];
    type: "object";
} = ...

Type declaration

  • Readonlydefinitions: {
        reportData: {
            description: "Contains details about hour and ASIN combinations for the specified time range.";
            properties: {
                asin: {
                    description: "The Amazon Standard Identification Number (ASIN).";
                    examples: readonly ["B123456789"];
                    type: "string";
                };
                endTime: {
                    description: "The end of a date-time range in UTC representing the end of the hour for this object.";
                    examples: readonly ["2022-04-20T21:00:00Z", "2022-04-20T09:00:00Z"];
                    format: "date-time";
                    type: "string";
                };
                orderedRevenue: {
                    description: "Ordered Product Sales in the specified hour as of the time the report is generated. Adjustments are made for cancellations.";
                    examples: readonly [20];
                    type: "number";
                };
                orderedUnits: {
                    description: "Number of units ordered by Amazon customers. This number can be negative if there are more cancellations than orders.";
                    examples: readonly [75, -12];
                    type: "integer";
                };
                startTime: {
                    description: "The start of a date-time range in UTC representing the beginning of the hour for this object.";
                    examples: readonly ["2022-04-20T20:00:00Z", "2022-04-20T08:00:00Z"];
                    format: "date-time";
                    type: "string";
                };
            };
            required: readonly [
                "startTime",
                "endTime",
                "asin",
                "orderedUnits",
                "orderedRevenue",
            ];
            type: "object";
        };
    }
  • Readonlydescription: "This report shares sales data at an ASIN level, aggregated to an hourly granularity. Requests can span multiple date range periods. For example, if the customer specified dataStartTime and dataEndTime span three hours, the report would contain data for each complete hour within the time span."
  • Readonlyexamples: readonly [
        {
            reportData: readonly [
                {
                    asin: "B00ABCD123";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 167.14;
                    orderedUnits: 1;
                    startTime: "2022-04-20T20:00:00Z";
                },
                {
                    asin: "B00ABCD456";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 0;
                    orderedUnits: 0;
                    startTime: "2022-04-20T20:00:00Z";
                },
                {
                    asin: "B00ABCD789";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 0;
                    orderedUnits: 0;
                    startTime: "2022-04-20T20:00:00Z";
                },
                {
                    asin: "B00LMNO789";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 65.99;
                    orderedUnits: 1;
                    startTime: "2022-04-20T20:00:00Z";
                },
                {
                    asin: "B00LMNO456";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 50.99;
                    orderedUnits: 1;
                    startTime: "2022-04-20T20:00:00Z";
                },
                {
                    asin: "B00LMNO147";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 103.98;
                    orderedUnits: 2;
                    startTime: "2022-04-20T20:00:00Z";
                },
                {
                    asin: "B00LMNO963";
                    endTime: "2022-04-20T21:00:00Z";
                    orderedRevenue: 64.53;
                    orderedUnits: 1;
                    startTime: "2022-04-20T20:00:00Z";
                },
            ];
            reportSpecification: {
                dataEndTime: "2022-04-20T21:00:00Z";
                dataStartTime: "2022-04-20T20:00:00Z";
                marketplaceIds: readonly ["ATVPDKIKX0DER"];
                reportOptions: { currencyCode: "USD" };
                reportType: "GET_VENDOR_REAL_TIME_SALES_REPORT";
            };
        },
    ]
  • Readonlyproperties: {
        reportData: {
            description: "List of hour and ASIN combinations.";
            items: { $ref: "#/definitions/reportData" };
            type: "array";
        };
        reportSpecification: {
            description: "Summarizes the original report request.";
            properties: {
                dataEndTime: {
                    description: "The end of a date-time range in UTC used to determine hours to report on. Output will include all full hours that fall within the range.";
                    examples: readonly ["2022-04-20T20:00:00Z", "2022-04-20T20:10:00Z"];
                    format: "date-time";
                    type: "string";
                };
                dataStartTime: {
                    description: "The start of a date-time range in UTC used to determine hours to report on. Output will include all full hours that fall within the range.";
                    examples: readonly ["2022-04-20T20:00:00Z", "2022-04-20T20:59:59Z"];
                    format: "date-time";
                    type: "string";
                };
                marketplaceIds: {
                    description: "Marketplace IDs as specified in the report request.";
                    examples: readonly [readonly ["ATVPDKIKX0DER"]];
                    items: { type: "string" };
                    type: "array";
                };
                reportOptions: {
                    description: "Report options specifying parameters such as currencyCode.";
                    properties: {
                        currencyCode: {
                            description: "Currency code of the amount. In ISO 4217 format.";
                            examples: readonly ["USD", "EUR", "AUD", "JPY"];
                            type: "string";
                        };
                    };
                    required: readonly ["currencyCode"];
                    type: "object";
                };
                reportType: {
                    description: "The type of the report.";
                    enum: readonly ["GET_VENDOR_REAL_TIME_SALES_REPORT"];
                    type: "string";
                };
            };
            required: readonly [
                "reportType",
                "dataStartTime",
                "dataEndTime",
                "marketplaceIds",
                "reportOptions",
            ];
            type: "object";
        };
    }
  • Readonlyrequired: readonly ["reportSpecification", "reportData"]
  • Readonlytype: "object"