> ## Documentation Index
> Fetch the complete documentation index at: https://help.polygon-one.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DDS-Erklärung aktualisieren

> Update DDS statement metadata: reference number, verification number, or type.



## OpenAPI

````yaml PATCH /api/dds-statements/{id}
openapi: 3.1.0
info:
  title: Polygon One EUDR Compliance API
  description: >-
    API for integrating ERP systems with the Polygon One EUDR Compliance
    Platform. Allows management of Articles, Suppliers, Orders, and Due
    Diligence Statements (DDS).
  version: 1.0.0
servers:
  - url: https://app.polygon-one.com
    description: Production Server
security:
  - bearerAuth: []
paths:
  /api/dds-statements/{id}:
    patch:
      summary: Update DDS Statement
      description: >-
        Update DDS statement metadata: reference number, verification number, or
        type.
      operationId: updateDdsStatement
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                referenceNumber:
                  type:
                    - string
                    - 'null'
                  description: TRACES reference number
                verificationNumber:
                  type:
                    - string
                    - 'null'
                  description: TRACES verification number
                type:
                  $ref: '#/components/schemas/DdsType'
      responses:
        '200':
          description: Updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    DdsType:
      type: string
      enum:
        - import
        - export
        - trade
        - domestic_production
      description: >-
        `import` = goods entering the EU, `export` = goods leaving the EU,
        `trade` = intra-EU trade, `domestic_production` = produced within the EU
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        details:
          description: Additional error details (e.g. validation issues)
      required:
        - error
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        API key generated in Settings > API Keys. Include as `Authorization:
        Bearer <key>`.

````