companies

Upsert company trait

Changed on
post/company-traits

Request

  • Base URL
    https://api.schematichq.com
  • URL
    https://api.schematichq.com/company-traits
  • Auth
    API key in header X-Schematic-Api-Key

Request body

incrinteger nullable

Amount to increment the trait by (positive or negative)

keysobject required

Key/value pairs to identify a company or user

setstring nullable

Value to set the trait to

traitstring required

Name of the trait to update

update_onlyboolean nullable

Unless this is set, the company or user will be created if it does not already exist

Response

OK

paramsobject required

Input parameters

Changes

    • info

      added the optional property /// to the response with the status

    • warning

      added the new end_date_must_be_future enum value to the ///// response property for the response status

    • warning

      added the new end_date_needs_new_subscription enum value to the ///// response property for the response status

    • warning

      added the new end_date_not_after_renewal_date enum value to the ///// response property for the response status