# Total attribution report for a single product 

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /{version}/api/get/product-analysis/cause-event/list-sum:
    post:
      summary: 'Total attribution report for a single product '
      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.
                product_id:
                  type: string
                  description: The id of product
              required:
                - start_date
                - end_date
                - product_id
              x-apifox-orders:
                - start_date
                - end_date
                - product_id
            example:
              start_date: '2025-05-15'
              end_date: '2025-05-21'
              product_id: '7893679407317'
      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:
                      conversions:
                        type: integer
                      conversion_value:
                        type: number
                      spend:
                        type: number
                      cpa:
                        type: number
                      roas:
                        type: number
                    required:
                      - conversions
                      - conversion_value
                      - spend
                      - cpa
                      - roas
                    x-apifox-orders:
                      - conversions
                      - conversion_value
                      - spend
                      - cpa
                      - roas
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
              example:
                code: 1
                message: Service succeed
                data:
                  conversions: 31
                  conversion_value: 485.74
                  spend: 1262.26
                  cpa: 2.59
                  roas: 0.38
          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-427731464-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://data-api.test.attribuly.com
    description: test
  - url: https://data.api.attribuly.com
    description: prod
security: []

```
