PUT
/
v1
/
companies
/
{company_id}
/
reports
/
{report_id}
/
imported-good
curl --request PUT \
  --url https://nueborder.com/api/v1/v1/companies/{company_id}/reports/{report_id}/imported-good \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "additional_information": "Goods'\'' additional information",
  "cn_code": "76090000",
  "companyID": 123,
  "createdAt": "<string>",
  "description": "Aluminium tube or pipe fittings (for example, couplings, elbows, sleeves)",
  "hs_code": "760900",
  "importer_address_city": "Declarant city",
  "importer_address_country": "BE",
  "importer_identification_number": "GR293847584930295",
  "importer_name": "Declarant CBAM",
  "internalReportID": 123,
  "item_number": 1,
  "measurement_unit": "01",
  "organizationID": 123,
  "origin_country": "TR",
  "representative_address_city": "Declarant city",
  "representative_address_country": "BE",
  "representative_identification_number": "IT293847584930295",
  "representative_name": "Representative CBAM",
  "supporting_documents": [
    {
      "binary": [
        123
      ],
      "companyID": 123,
      "country": "CA",
      "createdAt": "<string>",
      "description": "Description",
      "document_type": "GENERAL",
      "filename": "Supporting_document_01.docx",
      "internalReportID": 123,
      "issuing_auth_name": "Issuing authority name",
      "item_number": "1",
      "line_item_number": 88888,
      "mime": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
      "organizationID": 123,
      "reference_number": "01 Reference number",
      "sequence_number": 1,
      "type": "01",
      "updatedAt": "<string>",
      "updatedBy": "<string>",
      "uri": "<string>",
      "validity_end_date": "1/1/24",
      "validity_start_date": "1/1/24",
      "version": "<string>"
    }
  ],
  "updatedAt": "<string>",
  "updatedBy": "<string>",
  "version": "<string>"
}'
{
  "message": "Operation completed successfully",
  "status": 200
}

Authorizations

Authorization
string
header
required

Provide your Bearer token in the format: Bearer <your_api_key>

Path Parameters

company_id
string
required

Unique identifier for the company associated with the imported good

report_id
string
required

Unique identifier for the report associated with the imported good

Body

application/json

JSON payload containing the imported good data

Summary of Struct

Response

200
application/json

The imported good was updated or inserted successfully

A standard successful API response.