Skip to main content

Update Company by lookup key

PATCH 

/companies/:lookupKey/:lookupValue

Use this endpoint to update company by lookup key. If multiple companies with the same lookup key exist, use additional filtering depending on the lookup key to uniquely identify the company (e.g. source and language for lookup key sourceId).

Request

Path Parameters

    lookupKey stringrequired

    Lookup key. Read more about company lookup keys

    lookupValue stringrequired

    The value of the key (id or sourceId)

Body

    budget string
    budgetInherit string
    cocNumber string
    company string
    debtorId string
    department string
    inheritOrderList string
    inheritProductList string
    name string
    notes string
    office string

    parent

    object

    id number
    taxNumber string

Responses

Update Company by lookup key - 200

Response Headers

  • Alt-Svc

    string

  • Via

    string

  • alt-svc

    string

  • content-length

    string

  • date

    string

  • return-format

    string

  • x-request-id

    string

Schema

    data

    object

    budget string
    budgetInherit string
    cocNumber string
    debtorId string
    department string
    id number
    inheritOrderList string
    inheritProductList string
    name string
    notes string
    office string

    parent

    object

    id number
    taxNumber string
    messages string[]
    total number
Loading...