Update customer card

You use this method to update a customer card.

Request method

PUT

Request url

https://venice.unit4.com/webconnect/api/{DossierId}/Customer?{Key}={KeyValues}

Context identification

Identification Description
DossierId The unique identifier of the dossier.

Parameters

Parameter Description
{Key} The available keys to seek one or more customers:
  • SystemNumber={SystemNumber}: Seek customer card by system number.
  • NumberPair={Number}<tab>{SubNumber}: Seek customer card by number and subnumber.
  • SyncReference={SyncReference}: Seek customer card by synchronization reference.
Example: Update in dossier 'Demo' the default contact of the customer card with number '2' and subnumber '1'.
https://venice.unit4.com/webconnect/api/Demo/Customer?NumberPair=2%091

Request header

See request header.

Request body

Structure

Request (object)
  • Customers (array)

Examples

{
  "Request": {
    "Customers": {
      "Customer": [
        {
          "Fields" : {
            "Contact": "An",
            "Sex": "seWoman",
            "AddressForm": "Attn Mrs.",
            "PolitePhrase": "Dear Mrs. Vincke"
          }
        }
      ]
    }
  }
}
<?xml version="1.0" encoding="utf-8"?>
<Request>
  <Customers>
    <Customer>
      <Fields>
        <Contact>An</Contact>
        <Sex>seWoman</Sex>
        <AddressForm>Attn Mrs.</AddressForm>
        <PolitePhrase>Dear Mrs. Vincke</PolitePhrase>
      </Fields>
    </Customer>
  </Customers>
</Request>

Http status

See http status.

Response body

-