# List total data for product analysis

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /{version}/api/get/product-analysis/list-sum:
    post:
      summary: List total data for product analysis
      deprecated: false
      description: |-
        - Rate limits: 5 requests per second.
        - version: v2-4-2.
      tags:
        - Public API/Attribution/Product analytics
      parameters:
        - name: version
          in: path
          description: ''
          required: true
          example: v2-4-2
          schema:
            type: string
        - name: ApiKey
          in: header
          description: ''
          required: true
          example: '{{ApiKey}}'
          schema:
            type: string
            default: '{{ApiKey}}'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                start_date:
                  type: string
                  description: >-
                    The start date range of the event in ISO format, e.g.
                    1970-01-01, the time zone should be consistent with your
                    store settings.
                end_date:
                  type: string
                  description: >-
                    The end date of the event in ISO format, e.g. 1970-01-01,
                    the time zone should be consistent with your store
                    settings.If you want to see the data for 1970-01-01, please
                    enter 1970-01-02.
                filters:
                  type: array
                  items:
                    type: object
                    properties:
                      column:
                        type: string
                      operation:
                        type: string
                      values:
                        type: array
                        items:
                          type: string
                    x-apifox-orders:
                      - column
                      - operation
                      - values
                  description: >-
                    Filter criteria, currently supported options:

                    1. column=variant_id, operation=equal, values=product
                    variant ID
                  nullable: true
              required:
                - start_date
                - end_date
              x-apifox-orders:
                - start_date
                - end_date
                - filters
            example:
              start_date: '2025-05-15'
              end_date: '2025-05-21'
              filters:
                - column: variant_id
                  operation: equal
                  values:
                    - '43323899117824'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: 1:success; < 0:failed
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      revenue:
                        type: integer
                      product_viewed_count:
                        type: integer
                      product_viewed_user_count:
                        type: integer
                      product_added_to_cart_count:
                        type: integer
                      product_added_to_cart_user_count:
                        type: integer
                      checkout_started_count:
                        type: integer
                      checkout_started_user_count:
                        type: integer
                      payment_info_submitted_count:
                        type: integer
                      payment_info_submitted_user_count:
                        type: integer
                      checkout_shipping_info_submitted_count:
                        type: integer
                      checkout_shipping_info_submitted_user_count:
                        type: integer
                      checkout_address_info_submitted_count:
                        type: integer
                      checkout_address_info_submitted_user_count:
                        type: integer
                      checkout_contact_info_submitted_count:
                        type: integer
                      checkout_contact_info_submitted_user_count:
                        type: integer
                      checkout_completed_count:
                        type: integer
                      checkout_completed_user_count:
                        type: integer
                      product_spend:
                        type: integer
                      product_quantity:
                        type: integer
                      product_average_quantity:
                        type: integer
                      roas:
                        type: integer
                      new_customer_roas:
                        type: integer
                      cpa:
                        type: integer
                      atc_to_purchase:
                        type: integer
                      uv_atc_to_purchase:
                        type: integer
                    required:
                      - revenue
                      - product_viewed_count
                      - product_viewed_user_count
                      - product_added_to_cart_count
                      - product_added_to_cart_user_count
                      - checkout_started_count
                      - checkout_started_user_count
                      - payment_info_submitted_count
                      - payment_info_submitted_user_count
                      - checkout_shipping_info_submitted_count
                      - checkout_shipping_info_submitted_user_count
                      - checkout_address_info_submitted_count
                      - checkout_address_info_submitted_user_count
                      - checkout_contact_info_submitted_count
                      - checkout_contact_info_submitted_user_count
                      - checkout_completed_count
                      - checkout_completed_user_count
                      - product_spend
                      - product_quantity
                      - product_average_quantity
                      - roas
                      - new_customer_roas
                      - cpa
                      - atc_to_purchase
                      - uv_atc_to_purchase
                    x-apifox-orders:
                      - revenue
                      - product_viewed_count
                      - product_viewed_user_count
                      - product_added_to_cart_count
                      - product_added_to_cart_user_count
                      - checkout_started_count
                      - checkout_started_user_count
                      - payment_info_submitted_count
                      - payment_info_submitted_user_count
                      - checkout_shipping_info_submitted_count
                      - checkout_shipping_info_submitted_user_count
                      - checkout_address_info_submitted_count
                      - checkout_address_info_submitted_user_count
                      - checkout_contact_info_submitted_count
                      - checkout_contact_info_submitted_user_count
                      - checkout_completed_count
                      - checkout_completed_user_count
                      - product_spend
                      - product_quantity
                      - product_average_quantity
                      - roas
                      - new_customer_roas
                      - cpa
                      - atc_to_purchase
                      - uv_atc_to_purchase
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
              example:
                code: 1
                message: Service succeed
                data:
                  revenue: 0
                  product_viewed_count: 0
                  product_viewed_user_count: 0
                  product_added_to_cart_count: 0
                  product_added_to_cart_user_count: 0
                  checkout_started_count: 0
                  checkout_started_user_count: 0
                  payment_info_submitted_count: 0
                  payment_info_submitted_user_count: 0
                  checkout_shipping_info_submitted_count: 0
                  checkout_shipping_info_submitted_user_count: 0
                  checkout_address_info_submitted_count: 0
                  checkout_address_info_submitted_user_count: 0
                  checkout_contact_info_submitted_count: 0
                  checkout_contact_info_submitted_user_count: 0
                  checkout_completed_count: 0
                  checkout_completed_user_count: 0
                  product_spend: 0
                  product_quantity: 0
                  product_average_quantity: 0
                  roas: 0
                  new_customer_roas: 0
                  cpa: 0
                  atc_to_purchase: 0
                  uv_atc_to_purchase: 0
          headers: {}
          x-apifox-name: Success
      security: []
      x-apifox-folder: Public API/Attribution/Product analytics
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/7934002/apis/api-427731462-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://data-api.test.attribuly.com
    description: test
  - url: https://data.api.attribuly.com
    description: prod
security: []

```
