Skip to main content
POST
/
api
/
dds-statements
Create DDS Statement
curl --request POST \
  --url https://app.polygonone.com/api/dds-statements \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "supplierId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "import",
  "articles": [
    {
      "articleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "amount": 1
    }
  ]
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

API key generated in Settings > API Keys. Include as Authorization: Bearer <key>.

Body

application/json
supplierId
string<uuid>
required

The supplier for this DDS. All articles must be linked to this supplier.

type
enum<string>
required

import = goods entering the EU, export = goods leaving the EU, trade = intra-EU trade, domestic_production = produced within the EU

Available options:
import,
export,
trade,
domestic_production
articles
object[]
required
Minimum array length: 1

Response

DDS statement created successfully

id
string<uuid>

ID of the newly created DDS statement