Update supplier card

You use this method to update a supplier card.

Request method

PUT

Request url

https://venice.unit4.com/webconnect/api/{DossierId}/Supplier?{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 suppliers:
  • SystemNumber={SystemNumber}: Seek supplier card by system number.
  • NumberPair={Number}<tab>{SubNumber}: Seek supplier card by number and subnumber.
  • SyncReference={SyncReference}: Seek supplier card by synchronization reference.
Example: Update in dossier 'Demo' the default contact of the supplier card with number '2' and subnumber '1'.
https://venice.unit4.com/webconnect/api/Demo/Supplier?NumberPair=2%091

Request header

See request header.

Request body

Structure

Request (object)
  • Suppliers (array)

Examples

{
  "Request": {
    "Suppliers": {
      "Supplier": [
        {
          "Fields" : {
            "Contact": "Luc",
            "Sex": "seMan",
            "AddressForm": "Attn Mr.",
            "PolitePhrase": "Dear Mr. Dewaele"
          }
        }
      ]
    }
  }
}
<?xml version="1.0" encoding="utf-8"?>
<Request>
  <Suppliers>
    <Supplier>
      <Fields>
        <Contact>Luc</Contact>
        <Sex>seMan</Sex>
        <AddressForm>Attn Mrs.</AddressForm>
        <PolitePhrase>Dear Mr. Dewaele</PolitePhrase>
      </Fields>
    </Supplier>
  </Suppliers>
</Request>

Http status

See http status.

Response body

-