PUT
/
v2
/
tasks
/
{procurosTaskId}
curl --request PUT \
  --url https://api.procuros.io/v2/tasks/{procurosTaskId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "success": true,
  "result": [
    {
      "systemIdentifier": "KU-1092",
      "isEnabled": false,
      "mainParty": {
        "name": "ACME Co. Ltd.",
        "identifiers": [
          {
            "identifier": "4300000000001",
            "domain": "GS1"
          },
          {
            "identifier": "DE123456789",
            "domain": "VAT_DE"
          }
        ],
        "postalAddress": {
          "name": "ACME Co. Ltd.",
          "street": "Elroy-Fritsch-Ring 15",
          "city": "Berlin",
          "countryCode": "DE",
          "postalCode": "82643"
        },
        "contacts": [
          {
            "firstName": "John",
            "lastName": "Doe",
            "email": "[email protected]",
            "fax": "(818) 463-6124",
            "phone": "+1.352.856.0626"
          }
        ]
      },
      "additionalParties": {
        "shipTo": [
          {
            "name": "ACME Corp Warehouse A",
            "identifiers": [
              {
                "identifier": "4300000000002",
                "domain": "GS1"
              }
            ],
            "postalAddress": {
              "name": "ACME Co. Ltd.",
              "street": "Musterstraße 445",
              "city": "Berlin",
              "countryCode": "DE",
              "postalCode": "82643"
            },
            "contacts": [
              {
                "firstName": "John",
                "lastName": "Doe",
                "email": "[email protected]",
                "fax": "(818) 463-6124",
                "phone": "+1.352.856.0626"
              }
            ]
          }
        ],
        "billTo": [
          {
            "name": "ACME Corp Billing",
            "identifiers": [
              {
                "identifier": "4300000000003",
                "domain": "GS1"
              }
            ],
            "postalAddress": {
              "name": "ACME Co. Ltd.",
              "street": "Musterstraße 445",
              "city": "Berlin",
              "countryCode": "DE",
              "postalCode": "82643"
            },
            "contacts": [
              {
                "firstName": "John",
                "lastName": "Doe",
                "email": "[email protected]",
                "fax": "(818) 463-6124",
                "phone": "+1.352.856.0626"
              }
            ]
          }
        ]
      }
    }
  ]
}'
{
  "message": "OK."
}

Authorizations

Authorization
string
header
required

The API Token of your ERP Connection.

Path Parameters

procurosTaskId
string
required

Unique ID assigned to every task by Procuros.

Example:

"949b2f25-fd9d-4c58-8899-b4dc277f8cf9"

Body

application/json
Expected parameters to update a task.
success
boolean
required

Whether or not your system was able to process the given task.

result
errorReason
string

Reason your system was not able to process the given task.

errorType
enum<string>

The type of the error. DATA indicates that the error is caused by invalid or insufficient data and can be resolved by a user. INTERNAL indicates a system-level error that cannot be fixed by a user.

Available options:
DATA,
INTERNAL
errorContext
object

Additional context/meta data for the error.

Response

200
application/json
Success
message
string
required

Status message