Skip to main content

Update Vendor Partial

PATCH 

/api/contacts/vendor/:id

Update Vendor Partial

Request

Path Parameters

    id integerrequired
    Example: 4

Header Parameters

    X-Company-Slug stringrequired

Body

    name string
    surname string
    type ContactTypeEnum (string)

    Possible values: [vendor, customer]

    email email
    phone phone
    gender ContactGenderEnum (string)

    Possible values: [male, female, other]

    birthdate date
    address string
    custom_fields object
    default_photo_id number

Responses

Successful response

Schema

    id string
    name string
    surname stringnullable
    type ContactTypeEnum (string)nullable

    Possible values: [vendor, customer]

    email emailnullable
    phone phonenullable
    gender ContactGenderEnum (string)nullable

    Possible values: [male, female, other]

    birthdate datenullable
    address stringnullable
    custom_fields objectnullable
    created_at date-time
    updated_at date-time
    default_photo_id numbernullable
Loading...