sellingPartnerMarketBasketAnalysisReport: {
    definitions: {
        DetailsByAsin: {
            description: "Contains market basket analysis data for each ASIN in the selling partner's catalog.";
            examples: readonly [
                {
                    asin: "B123456789";
                    combinationPct: 0.028;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B1A345B78C";
                    purchasedWithRank: 1;
                    startDate: "2021-06-06";
                },
                {
                    asin: "B987654321";
                    combinationPct: 0.0378;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B9F765E32D";
                    purchasedWithRank: 2;
                    startDate: "2021-06-06";
                },
            ];
            properties: {
                asin: {
                    description: "Amazon Standard Identification Number.";
                    examples: readonly ["B123456789", "B987654321"];
                    type: "string";
                };
                combinationPct: {
                    description: "Percentage of customer orders that contain both the selling partner's product and the purchasedWithAsin in comparison to the total number of customer orders that contained at least two different items including the selling partner's product.";
                    examples: readonly [0.4342, 0.0155];
                    maximum: 1;
                    minimum: 0;
                    type: "number";
                };
                endDate: {
                    description: "The end date of the data for the ASIN specified in the asin property.";
                    examples: readonly ["2021-06-06"];
                    format: "date";
                    type: "string";
                };
                purchasedWithAsin: {
                    description: "The Amazon Standard Identifier Number of a product that was purchased in the same customer order as the asin.";
                    examples: readonly ["B123456789", "B987654321"];
                    type: "string";
                };
                purchasedWithRank: {
                    description: "The relative frequency of the purchasedWithAsin and the asin having been purchased together. Rank=1 means purchasedWithAsin is the most common product purchased in the same customer order as asin.";
                    examples: readonly [1, 3];
                    type: "integer";
                };
                startDate: {
                    description: "The start date of the data for the ASIN specified in the asin property. If the request spans multiple reportPeriods, byAsin data will be shared for each of these reportPeriods.";
                    examples: readonly ["2021-06-06"];
                    format: "date";
                    type: "string";
                };
            };
            required: readonly [
                "startDate",
                "endDate",
                "asin",
                "purchasedWithAsin",
                "purchasedWithRank",
                "combinationPct",
            ];
            type: "object";
        };
    };
    description: "The Market Basket report contains data on the items that are most commonly purchased in combination with the items in the customer's basket (cart) at checkout. The data is available across different reporting periods: DAY, WEEK, MONTH, and QUARTER. Requests can span multiple reporting periods. In this report, \"asin\" is an ASIN in the selling partner's catalog and \"purchasedWithAsin\" might or might not be an ASIN in the selling partner's catalog.";
    examples: readonly [
        {
            dataByAsin: readonly [
                {
                    asin: "B123456789";
                    combinationPct: 0.028;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B1A345B78C";
                    purchasedWithRank: 1;
                    startDate: "2021-06-06";
                },
                {
                    asin: "B123456789";
                    combinationPct: 0.0229;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B1D345E78F";
                    purchasedWithRank: 2;
                    startDate: "2021-06-06";
                },
                {
                    asin: "B123456789";
                    combinationPct: 0.0212;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B1G345H78I";
                    purchasedWithRank: 3;
                    startDate: "2021-06-06";
                },
                {
                    asin: "B987654321";
                    combinationPct: 0.4342;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B9C765B32A";
                    purchasedWithRank: 1;
                    startDate: "2021-06-06";
                },
                {
                    asin: "B987654321";
                    combinationPct: 0.0378;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B9F765E32D";
                    purchasedWithRank: 2;
                    startDate: "2021-06-06";
                },
                {
                    asin: "B987654321";
                    combinationPct: 0.0155;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B9I765H32G";
                    purchasedWithRank: 3;
                    startDate: "2021-06-06";
                },
            ];
            reportSpecification: {
                dataEndTime: "2021-06-19";
                dataStartTime: "2021-06-06";
                marketplaceIds: readonly ["ATVPDKIKX0DER"];
                reportOptions: { reportPeriod: "WEEK" };
                reportType: "GET_BRAND_ANALYTICS_MARKET_BASKET_REPORT";
            };
        },
    ];
    properties: {
        dataByAsin: {
            items: { $ref: "#/definitions/DetailsByAsin" };
            type: "array";
        };
        reportSpecification: {
            description: "Summarizes the original report request.";
            examples: readonly [
                {
                    dataEndTime: "2021-06-12";
                    dataStartTime: "2021-06-06";
                    marketplaceIds: readonly ["ATVPDKIKX0DER"];
                    reportOptions: { reportPeriod: "WEEK" };
                    reportType: "GET_BRAND_ANALYTICS_SEARCH_TERMS_REPORT";
                },
            ];
            properties: {
                dataEndTime: {
                    description: "The end date of the report (any time component is ignored). For WEEK, MONTH and QUARTER reportPeriods, this value must correspond to the last day in the specified reportPeriod or else a fatal error is returned. For example, dataEndTime must be a Saturday for the WEEK reportPeriod.";
                    examples: readonly ["2021-06-12"];
                    format: "date";
                    type: "string";
                };
                dataStartTime: {
                    description: "The start date of the report (any time component is ignored). For WEEK, MONTH and QUARTER reportPeriods, this value must correspond to the first day in the specified reportPeriod or else a fatal error is returned. For example, dataStartTime must be a Sunday for the WEEK reportPeriod.";
                    examples: readonly ["2021-06-06"];
                    format: "date";
                    type: "string";
                };
                marketplaceIds: {
                    description: "This parameter must match the marketplaceId of the selling partner account. This report type supports only one marketplaceId per report. Specifying multiple marketplaces will result in a fatal error and fail to generate the report.";
                    examples: readonly [readonly ["ATVPDKIKX0DER"]];
                    type: "array";
                };
                reportOptions: {
                    description: "Report options specifying parameters such as reportPeriod.";
                    properties: {
                        reportPeriod: {
                            description: "The granularity of the data in the report. Valid values are: DAY, WEEK, MONTH, QUARTER.";
                            enum: readonly ["DAY", "WEEK", "MONTH", "QUARTER"];
                            type: "string";
                        };
                    };
                    required: readonly ["reportPeriod"];
                    type: "object";
                };
                reportType: {
                    description: "Type of the report.";
                    enum: readonly ["GET_BRAND_ANALYTICS_MARKET_BASKET_REPORT"];
                    type: "string";
                };
            };
            required: readonly [
                "reportType",
                "reportOptions",
                "dataStartTime",
                "dataEndTime",
                "marketplaceIds",
            ];
            type: "object";
        };
    };
    required: readonly ["reportSpecification", "dataByAsin"];
    type: "object";
} = ...

Type declaration

  • Readonlydefinitions: {
        DetailsByAsin: {
            description: "Contains market basket analysis data for each ASIN in the selling partner's catalog.";
            examples: readonly [
                {
                    asin: "B123456789";
                    combinationPct: 0.028;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B1A345B78C";
                    purchasedWithRank: 1;
                    startDate: "2021-06-06";
                },
                {
                    asin: "B987654321";
                    combinationPct: 0.0378;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B9F765E32D";
                    purchasedWithRank: 2;
                    startDate: "2021-06-06";
                },
            ];
            properties: {
                asin: {
                    description: "Amazon Standard Identification Number.";
                    examples: readonly ["B123456789", "B987654321"];
                    type: "string";
                };
                combinationPct: {
                    description: "Percentage of customer orders that contain both the selling partner's product and the purchasedWithAsin in comparison to the total number of customer orders that contained at least two different items including the selling partner's product.";
                    examples: readonly [0.4342, 0.0155];
                    maximum: 1;
                    minimum: 0;
                    type: "number";
                };
                endDate: {
                    description: "The end date of the data for the ASIN specified in the asin property.";
                    examples: readonly ["2021-06-06"];
                    format: "date";
                    type: "string";
                };
                purchasedWithAsin: {
                    description: "The Amazon Standard Identifier Number of a product that was purchased in the same customer order as the asin.";
                    examples: readonly ["B123456789", "B987654321"];
                    type: "string";
                };
                purchasedWithRank: {
                    description: "The relative frequency of the purchasedWithAsin and the asin having been purchased together. Rank=1 means purchasedWithAsin is the most common product purchased in the same customer order as asin.";
                    examples: readonly [1, 3];
                    type: "integer";
                };
                startDate: {
                    description: "The start date of the data for the ASIN specified in the asin property. If the request spans multiple reportPeriods, byAsin data will be shared for each of these reportPeriods.";
                    examples: readonly ["2021-06-06"];
                    format: "date";
                    type: "string";
                };
            };
            required: readonly [
                "startDate",
                "endDate",
                "asin",
                "purchasedWithAsin",
                "purchasedWithRank",
                "combinationPct",
            ];
            type: "object";
        };
    }
  • Readonlydescription: "The Market Basket report contains data on the items that are most commonly purchased in combination with the items in the customer's basket (cart) at checkout. The data is available across different reporting periods: DAY, WEEK, MONTH, and QUARTER. Requests can span multiple reporting periods. In this report, \"asin\" is an ASIN in the selling partner's catalog and \"purchasedWithAsin\" might or might not be an ASIN in the selling partner's catalog."
  • Readonlyexamples: readonly [
        {
            dataByAsin: readonly [
                {
                    asin: "B123456789";
                    combinationPct: 0.028;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B1A345B78C";
                    purchasedWithRank: 1;
                    startDate: "2021-06-06";
                },
                {
                    asin: "B123456789";
                    combinationPct: 0.0229;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B1D345E78F";
                    purchasedWithRank: 2;
                    startDate: "2021-06-06";
                },
                {
                    asin: "B123456789";
                    combinationPct: 0.0212;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B1G345H78I";
                    purchasedWithRank: 3;
                    startDate: "2021-06-06";
                },
                {
                    asin: "B987654321";
                    combinationPct: 0.4342;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B9C765B32A";
                    purchasedWithRank: 1;
                    startDate: "2021-06-06";
                },
                {
                    asin: "B987654321";
                    combinationPct: 0.0378;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B9F765E32D";
                    purchasedWithRank: 2;
                    startDate: "2021-06-06";
                },
                {
                    asin: "B987654321";
                    combinationPct: 0.0155;
                    endDate: "2021-06-12";
                    purchasedWithAsin: "B9I765H32G";
                    purchasedWithRank: 3;
                    startDate: "2021-06-06";
                },
            ];
            reportSpecification: {
                dataEndTime: "2021-06-19";
                dataStartTime: "2021-06-06";
                marketplaceIds: readonly ["ATVPDKIKX0DER"];
                reportOptions: { reportPeriod: "WEEK" };
                reportType: "GET_BRAND_ANALYTICS_MARKET_BASKET_REPORT";
            };
        },
    ]
  • Readonlyproperties: {
        dataByAsin: {
            items: { $ref: "#/definitions/DetailsByAsin" };
            type: "array";
        };
        reportSpecification: {
            description: "Summarizes the original report request.";
            examples: readonly [
                {
                    dataEndTime: "2021-06-12";
                    dataStartTime: "2021-06-06";
                    marketplaceIds: readonly ["ATVPDKIKX0DER"];
                    reportOptions: { reportPeriod: "WEEK" };
                    reportType: "GET_BRAND_ANALYTICS_SEARCH_TERMS_REPORT";
                },
            ];
            properties: {
                dataEndTime: {
                    description: "The end date of the report (any time component is ignored). For WEEK, MONTH and QUARTER reportPeriods, this value must correspond to the last day in the specified reportPeriod or else a fatal error is returned. For example, dataEndTime must be a Saturday for the WEEK reportPeriod.";
                    examples: readonly ["2021-06-12"];
                    format: "date";
                    type: "string";
                };
                dataStartTime: {
                    description: "The start date of the report (any time component is ignored). For WEEK, MONTH and QUARTER reportPeriods, this value must correspond to the first day in the specified reportPeriod or else a fatal error is returned. For example, dataStartTime must be a Sunday for the WEEK reportPeriod.";
                    examples: readonly ["2021-06-06"];
                    format: "date";
                    type: "string";
                };
                marketplaceIds: {
                    description: "This parameter must match the marketplaceId of the selling partner account. This report type supports only one marketplaceId per report. Specifying multiple marketplaces will result in a fatal error and fail to generate the report.";
                    examples: readonly [readonly ["ATVPDKIKX0DER"]];
                    type: "array";
                };
                reportOptions: {
                    description: "Report options specifying parameters such as reportPeriod.";
                    properties: {
                        reportPeriod: {
                            description: "The granularity of the data in the report. Valid values are: DAY, WEEK, MONTH, QUARTER.";
                            enum: readonly ["DAY", "WEEK", "MONTH", "QUARTER"];
                            type: "string";
                        };
                    };
                    required: readonly ["reportPeriod"];
                    type: "object";
                };
                reportType: {
                    description: "Type of the report.";
                    enum: readonly ["GET_BRAND_ANALYTICS_MARKET_BASKET_REPORT"];
                    type: "string";
                };
            };
            required: readonly [
                "reportType",
                "reportOptions",
                "dataStartTime",
                "dataEndTime",
                "marketplaceIds",
            ];
            type: "object";
        };
    }
  • Readonlyrequired: readonly ["reportSpecification", "dataByAsin"]
  • Readonlytype: "object"