sellingPartnerRepeatPurchaseReport: {
    definitions: {
        DataByAsin: {
            description: "Contains repeat purchase analytics data for each ASIN in the selling partner's catalog";
            examples: readonly [
                {
                    asin: "B123456789";
                    endDate: "2021-06-12";
                    orders: 1256;
                    repeatCustomersPctTotal: 0.0083;
                    repeatPurchaseRevenue: { amount: 2246.13; currencyCode: "USD" };
                    repeatPurchaseRevenuePctTotal: 0.0217;
                    startDate: "2021-06-06";
                    uniqueCustomers: 1201;
                },
                {
                    asin: "B234567890";
                    endDate: "2021-06-12";
                    orders: 2561;
                    repeatCustomersPctTotal: 0.1234;
                    repeatPurchaseRevenue: { amount: 1234.56; currencyCode: "USD" };
                    repeatPurchaseRevenuePctTotal: 0.0465;
                    startDate: "2021-06-06";
                    uniqueCustomers: 43;
                },
                {
                    asin: "B987654321";
                    endDate: "2021-06-19";
                    orders: 6541;
                    repeatCustomersPctTotal: 0.0129;
                    repeatPurchaseRevenue: { amount: 1662.46; currencyCode: "USD" };
                    repeatPurchaseRevenuePctTotal: 0.8717;
                    startDate: "2021-06-13";
                    uniqueCustomers: 123;
                },
            ];
            properties: {
                asin: {
                    description: "Amazon Standard Identification Number.";
                    examples: readonly ["B123456789", "B987654321"];
                    type: "string";
                };
                endDate: {
                    description: "The end date of the data contained within the object.";
                    examples: readonly ["2021-06-12"];
                    format: "date";
                    type: "string";
                };
                orders: {
                    description: "The number of orders. An order may include multiple quantities of a product and differs from ordered units.";
                    examples: readonly [1256, 6541];
                    type: "integer";
                };
                repeatCustomersPctTotal: {
                    description: "Fraction of unique customers that are repeat customers.";
                    examples: readonly [0.0083, 0.0129];
                    maximum: 1;
                    minimum: 0;
                    type: "number";
                };
                repeatPurchaseRevenue: {
                    description: "Ordered revenue from repeat customers. Returns are not reflected.";
                    examples: readonly [{ amount: 2246.13; currencyCode: "USD" }];
                    properties: {
                        amount: {
                            description: "The amount.";
                            examples: readonly [2246.13];
                            type: "number";
                        };
                        currencyCode: {
                            description: "The currency code of the amount.";
                            examples: readonly ["USD", "EUR", "JPY"];
                            pattern: "[A-Z]{3}";
                            type: "string";
                        };
                    };
                    required: readonly ["amount", "currencyCode"];
                    type: "object";
                };
                repeatPurchaseRevenuePctTotal: {
                    description: "Fraction of repeatPurchaseRevenue versus total revenue.";
                    examples: readonly [0.0217, 0.8717];
                    maximum: 1;
                    minimum: 0;
                    type: "number";
                };
                startDate: {
                    description: "The start date of the data contained within the object. 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";
                };
                uniqueCustomers: {
                    description: "Number of unique customers who placed an order containing the asin.";
                    examples: readonly [1201, 123];
                    type: "integer";
                };
            };
            required: readonly [
                "startDate",
                "endDate",
                "asin",
                "orders",
                "uniqueCustomers",
                "repeatCustomersPctTotal",
                "repeatPurchaseRevenue",
                "repeatPurchaseRevenuePctTotal",
            ];
            type: "object";
        };
    };
    description: "The Repeat Purchase report shares data on the quantity of repeated purchases of the selling partner's items. Data is available at different date range aggregation levels: WEEK, MONTH, QUARTER. Requests can span multiple reporting periods. In this report, \"asin\" is an ASIN in the selling partner's catalog.";
    examples: readonly [
        {
            dataByAsin: readonly [
                {
                    asin: "B123456789";
                    endDate: "2021-06-12";
                    orders: 1256;
                    repeatCustomersPctTotal: 0.0083;
                    repeatPurchaseRevenue: { amount: 2246.13; currencyCode: "USD" };
                    repeatPurchaseRevenuePctTotal: 0.0217;
                    startDate: "2021-06-06";
                    uniqueCustomers: 1201;
                },
                {
                    asin: "B234567890";
                    endDate: "2021-06-12";
                    orders: 2561;
                    repeatCustomersPctTotal: 0.1234;
                    repeatPurchaseRevenue: { amount: 1234.56; currencyCode: "USD" };
                    repeatPurchaseRevenuePctTotal: 0.0465;
                    startDate: "2021-06-06";
                    uniqueCustomers: 43;
                },
                {
                    asin: "B987654321";
                    endDate: "2021-06-19";
                    orders: 6541;
                    repeatCustomersPctTotal: 0.0129;
                    repeatPurchaseRevenue: { amount: 1662.46; currencyCode: "USD" };
                    repeatPurchaseRevenuePctTotal: 0.8717;
                    startDate: "2021-06-13";
                    uniqueCustomers: 123;
                },
            ];
            reportSpecification: {
                dataEndTime: "2021-06-19";
                dataStartTime: "2021-06-06";
                marketplaceIds: readonly ["ATVPDKIKX0DER"];
                reportOptions: { reportPeriod: "WEEK" };
                reportType: "GET_BRAND_ANALYTICS_REPEAT_PURCHASE_REPORT";
            };
        },
    ];
    properties: {
        dataByAsin: {
            items: { $ref: "#/definitions/DataByAsin" };
            type: "array";
        };
        reportSpecification: {
            description: "Summarizes the original report request.";
            examples: readonly [
                {
                    dataEndTime: "2021-06-19";
                    dataStartTime: "2021-06-06";
                    marketplaceIds: readonly ["ATVPDKIKX0DER"];
                    reportType: "GET_BRAND_ANALYTICS_REPEAT_PURCHASE_REPORT";
                },
            ];
            properties: {
                dataEndTime: {
                    description: "Determines the end date of the report - the time component is ignored. For WEEK, MONTH and QUARTER reportPeriods, this value must correspond to the last day in the specified reportPeriod. For example, dataEndTime must be a Saturday for the WEEK reportPeriod.";
                    examples: readonly ["2021-06-19"];
                    format: "date";
                    type: "string";
                };
                dataStartTime: {
                    description: "Determines the start date of the report - the time component is ignored. For WEEK, MONTH and QUARTER reportPeriods, this value must correspond to the first day in the specified reportPeriod. 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 failure to generate the report.";
                    examples: readonly [readonly ["ATVPDKIKX0DER"]];
                    items: { type: "string" };
                    type: "array";
                };
                reportOptions: {
                    description: "Report options specifying parameters such as reportPeriod.";
                    properties: {
                        reportPeriod: {
                            description: "Determines what granularity of data is expected in the report. Valid values are: WEEK, MONTH, QUARTER.";
                            enum: readonly ["WEEK", "MONTH", "QUARTER"];
                            type: "string";
                        };
                    };
                    required: readonly ["reportPeriod"];
                    type: "object";
                };
                reportType: {
                    description: "The report type.";
                    enum: readonly ["GET_BRAND_ANALYTICS_REPEAT_PURCHASE_REPORT"];
                    type: "string";
                };
            };
            required: readonly [
                "reportType",
                "reportOptions",
                "dataStartTime",
                "dataEndTime",
                "marketplaceIds",
            ];
            type: "object";
        };
    };
    required: readonly ["reportSpecification", "dataByAsin"];
    type: "object";
} = ...

Type declaration

  • Readonlydefinitions: {
        DataByAsin: {
            description: "Contains repeat purchase analytics data for each ASIN in the selling partner's catalog";
            examples: readonly [
                {
                    asin: "B123456789";
                    endDate: "2021-06-12";
                    orders: 1256;
                    repeatCustomersPctTotal: 0.0083;
                    repeatPurchaseRevenue: { amount: 2246.13; currencyCode: "USD" };
                    repeatPurchaseRevenuePctTotal: 0.0217;
                    startDate: "2021-06-06";
                    uniqueCustomers: 1201;
                },
                {
                    asin: "B234567890";
                    endDate: "2021-06-12";
                    orders: 2561;
                    repeatCustomersPctTotal: 0.1234;
                    repeatPurchaseRevenue: { amount: 1234.56; currencyCode: "USD" };
                    repeatPurchaseRevenuePctTotal: 0.0465;
                    startDate: "2021-06-06";
                    uniqueCustomers: 43;
                },
                {
                    asin: "B987654321";
                    endDate: "2021-06-19";
                    orders: 6541;
                    repeatCustomersPctTotal: 0.0129;
                    repeatPurchaseRevenue: { amount: 1662.46; currencyCode: "USD" };
                    repeatPurchaseRevenuePctTotal: 0.8717;
                    startDate: "2021-06-13";
                    uniqueCustomers: 123;
                },
            ];
            properties: {
                asin: {
                    description: "Amazon Standard Identification Number.";
                    examples: readonly ["B123456789", "B987654321"];
                    type: "string";
                };
                endDate: {
                    description: "The end date of the data contained within the object.";
                    examples: readonly ["2021-06-12"];
                    format: "date";
                    type: "string";
                };
                orders: {
                    description: "The number of orders. An order may include multiple quantities of a product and differs from ordered units.";
                    examples: readonly [1256, 6541];
                    type: "integer";
                };
                repeatCustomersPctTotal: {
                    description: "Fraction of unique customers that are repeat customers.";
                    examples: readonly [0.0083, 0.0129];
                    maximum: 1;
                    minimum: 0;
                    type: "number";
                };
                repeatPurchaseRevenue: {
                    description: "Ordered revenue from repeat customers. Returns are not reflected.";
                    examples: readonly [{ amount: 2246.13; currencyCode: "USD" }];
                    properties: {
                        amount: {
                            description: "The amount.";
                            examples: readonly [2246.13];
                            type: "number";
                        };
                        currencyCode: {
                            description: "The currency code of the amount.";
                            examples: readonly ["USD", "EUR", "JPY"];
                            pattern: "[A-Z]{3}";
                            type: "string";
                        };
                    };
                    required: readonly ["amount", "currencyCode"];
                    type: "object";
                };
                repeatPurchaseRevenuePctTotal: {
                    description: "Fraction of repeatPurchaseRevenue versus total revenue.";
                    examples: readonly [0.0217, 0.8717];
                    maximum: 1;
                    minimum: 0;
                    type: "number";
                };
                startDate: {
                    description: "The start date of the data contained within the object. 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";
                };
                uniqueCustomers: {
                    description: "Number of unique customers who placed an order containing the asin.";
                    examples: readonly [1201, 123];
                    type: "integer";
                };
            };
            required: readonly [
                "startDate",
                "endDate",
                "asin",
                "orders",
                "uniqueCustomers",
                "repeatCustomersPctTotal",
                "repeatPurchaseRevenue",
                "repeatPurchaseRevenuePctTotal",
            ];
            type: "object";
        };
    }
  • Readonlydescription: "The Repeat Purchase report shares data on the quantity of repeated purchases of the selling partner's items. Data is available at different date range aggregation levels: WEEK, MONTH, QUARTER. Requests can span multiple reporting periods. In this report, \"asin\" is an ASIN in the selling partner's catalog."
  • Readonlyexamples: readonly [
        {
            dataByAsin: readonly [
                {
                    asin: "B123456789";
                    endDate: "2021-06-12";
                    orders: 1256;
                    repeatCustomersPctTotal: 0.0083;
                    repeatPurchaseRevenue: { amount: 2246.13; currencyCode: "USD" };
                    repeatPurchaseRevenuePctTotal: 0.0217;
                    startDate: "2021-06-06";
                    uniqueCustomers: 1201;
                },
                {
                    asin: "B234567890";
                    endDate: "2021-06-12";
                    orders: 2561;
                    repeatCustomersPctTotal: 0.1234;
                    repeatPurchaseRevenue: { amount: 1234.56; currencyCode: "USD" };
                    repeatPurchaseRevenuePctTotal: 0.0465;
                    startDate: "2021-06-06";
                    uniqueCustomers: 43;
                },
                {
                    asin: "B987654321";
                    endDate: "2021-06-19";
                    orders: 6541;
                    repeatCustomersPctTotal: 0.0129;
                    repeatPurchaseRevenue: { amount: 1662.46; currencyCode: "USD" };
                    repeatPurchaseRevenuePctTotal: 0.8717;
                    startDate: "2021-06-13";
                    uniqueCustomers: 123;
                },
            ];
            reportSpecification: {
                dataEndTime: "2021-06-19";
                dataStartTime: "2021-06-06";
                marketplaceIds: readonly ["ATVPDKIKX0DER"];
                reportOptions: { reportPeriod: "WEEK" };
                reportType: "GET_BRAND_ANALYTICS_REPEAT_PURCHASE_REPORT";
            };
        },
    ]
  • Readonlyproperties: {
        dataByAsin: {
            items: { $ref: "#/definitions/DataByAsin" };
            type: "array";
        };
        reportSpecification: {
            description: "Summarizes the original report request.";
            examples: readonly [
                {
                    dataEndTime: "2021-06-19";
                    dataStartTime: "2021-06-06";
                    marketplaceIds: readonly ["ATVPDKIKX0DER"];
                    reportType: "GET_BRAND_ANALYTICS_REPEAT_PURCHASE_REPORT";
                },
            ];
            properties: {
                dataEndTime: {
                    description: "Determines the end date of the report - the time component is ignored. For WEEK, MONTH and QUARTER reportPeriods, this value must correspond to the last day in the specified reportPeriod. For example, dataEndTime must be a Saturday for the WEEK reportPeriod.";
                    examples: readonly ["2021-06-19"];
                    format: "date";
                    type: "string";
                };
                dataStartTime: {
                    description: "Determines the start date of the report - the time component is ignored. For WEEK, MONTH and QUARTER reportPeriods, this value must correspond to the first day in the specified reportPeriod. 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 failure to generate the report.";
                    examples: readonly [readonly ["ATVPDKIKX0DER"]];
                    items: { type: "string" };
                    type: "array";
                };
                reportOptions: {
                    description: "Report options specifying parameters such as reportPeriod.";
                    properties: {
                        reportPeriod: {
                            description: "Determines what granularity of data is expected in the report. Valid values are: WEEK, MONTH, QUARTER.";
                            enum: readonly ["WEEK", "MONTH", "QUARTER"];
                            type: "string";
                        };
                    };
                    required: readonly ["reportPeriod"];
                    type: "object";
                };
                reportType: {
                    description: "The report type.";
                    enum: readonly ["GET_BRAND_ANALYTICS_REPEAT_PURCHASE_REPORT"];
                    type: "string";
                };
            };
            required: readonly [
                "reportType",
                "reportOptions",
                "dataStartTime",
                "dataEndTime",
                "marketplaceIds",
            ];
            type: "object";
        };
    }
  • Readonlyrequired: readonly ["reportSpecification", "dataByAsin"]
  • Readonlytype: "object"