PATCH
/
v3
/
{id}
curl --request PATCH \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/account/v3/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "address": {
    "address1": "Kings street 12",
    "address2": "<string>",
    "address3": "<string>",
    "address4": "<string>",
    "city": "Mariehamn",
    "country": "FIN",
    "region": "Åland Islands",
    "zipCode": 22100
  },
  "creditLimit": 10000,
  "customerId": 55667788990,
  "eInvoice": {
    "address": "FI7165429021331431",
    "operator": "NDEAFIHH",
    "paymentInstruction": "AA"
  },
  "number": 123456789,
  "invoiceDeliveryMethod": "REGULAR_MAIL",
  "minimumToPay": {
    "amount": 123,
    "percentage": 50
  },
  "paymentReference": {
    "number": 1234567897,
    "type": "MOD10"
  },
  "reason": "<string>",
  "segment": "SEGMENT_A",
  "status": "ACCOUNT_BLOCKED",
  "usageLimits": [
    {
      "code": "24H",
      "values": [
        {
          "code": "ATM",
          "reset": true,
          "singleAmount": 1000,
          "count": 5,
          "sumAmount": 1200
        }
      ]
    }
  ]
}'
{
  "description": "<string>",
  "id": "<string>"
}
Deprecated: This API endpoint is no longer supported.

Path Parameters

id
string
required

The account id for given account

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json

The fields that you want to apply to your newly cr, these values will override the predefined template values

Updating set values

Response

200
application/json

Successful update of the account

The response is of type object.