# Update Submission

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/members/{member_id}/receipts/submissions/{submission_id}:
    put:
      summary: Update Submission
      deprecated: false
      description: ''
      tags:
        - API Reference/Management API/Members/Receipts
      parameters:
        - name: member_id
          in: path
          description: ''
          required: true
          schema:
            type: string
        - name: submission_id
          in: path
          description: ''
          required: true
          schema:
            type: string
        - name: Content-Type
          in: header
          description: '[Details](doc-341635)'
          required: true
          example: application/json
          schema:
            type: string
            default: application/json
            const: application/json
        - name: X-User-Agent
          in: header
          description: Arbitrary identifier of your client. [Details](doc-341635)
          required: true
          example: '{{X_USER_AGENT}}'
          schema:
            type: string
            default: '{{X_USER_AGENT}}'
        - name: X-Product-Name
          in: header
          description: API Product for API context. [Details](doc-341635)
          required: true
          example: '{{PRODUCT_NAME}}'
          schema:
            type: string
            default: '{{PRODUCT_NAME}}'
        - name: X-Loyalty-Club-Slug
          in: header
          description: LoyaltyClub for API context. [Details](doc-342138)
          required: false
          example: '{{LOYALTY_CLUB_SLUG}}'
          schema:
            type: string
            default: '{{LOYALTY_CLUB_SLUG}}'
        - name: Authorization
          in: header
          description: '[Member](doc-342129) or [User](doc-342130) Authorization.'
          required: false
          example: Bearer {{_OAUTH_TOKEN}}
          schema:
            type: string
            default: Bearer {{_OAUTH_TOKEN}}
        - name: X-Client-Authorization
          in: header
          description: '[Token](doc-342128) Authorization.'
          example: '{{API_TOKEN}}'
          schema:
            type: string
            default: '{{API_TOKEN}}'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  receipt_submission:
                    type: object
                    properties:
                      form:
                        $ref: '#/components/schemas/Receipt%20Submission%20Form'
                      state:
                        type: string
                        enum:
                          - FAILED
                          - VERIFIED
                        x-apidog-enum:
                          - value: FAILED
                            name: ''
                            description: ''
                          - value: VERIFIED
                            name: ''
                            description: ''
                      rejection_reasons:
                        type: array
                        items:
                          $ref: '#/components/schemas/Error%20Message'
                      comment:
                        type: string
                      suspected_duplicates:
                        type: array
                        items:
                          type: integer
                    x-apidog-orders:
                      - form
                      - state
                      - rejection_reasons
                      - comment
                      - suspected_duplicates
                    required:
                      - suspected_duplicates
                    x-apidog-ignore-properties: []
                x-apidog-orders:
                  - receipt_submission
                required:
                  - receipt_submission
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: API Reference/Management API/Members/Receipts
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-3576999-run
components:
  schemas:
    Error Message:
      type: string
      enum:
        - excluded_store
        - other
        - image_unreadable
        - minimal_amount
        - not_older_than_x_days
        - fraudulent
      x-apidog-enum:
        - value: excluded_store
          name: ''
          description: when store is excluded from scanning
        - value: other
          name: ''
          description: when other error occur, one can left comment
        - value: image_unreadable
          name: ''
          description: when image is unreadable
        - value: minimal_amount
          name: ''
          description: when minimal amount is not meet
        - value: not_older_than_x_days
          name: ''
          description: when submission is older than x days
        - value: fraudulent
          name: ''
          description: ''
      x-apidog-folder: ''
    Receipt Submission Form:
      type: object
      properties:
        store_id:
          type: integer
          description: ID of store
        transaction_date:
          $ref: '#/components/schemas/date'
        total_amount:
          type: integer
          description: Amount on receipt as string
      x-apidog-orders:
        - store_id
        - transaction_date
        - total_amount
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    date:
      type: string
      format: date
      examples:
        - '2023-01-15'
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```