Skip to main content

ContactPut

Version: v12.1.0

Supporting model

A request/response or nested model — not a stored DynamoDB entity.

Overview

ContactPut Model

Fields

FieldTypeRequiredDefaultDescription
contact_idstr
contact_namestr
contact_emailstr
contact_phonestr
is_business_contactboolFalse
is_capricorn_memberboolFalse
is_on_holdboolFalse
account_numberstr
is_hiddenboolFalse
payment_typePaymentType (ACCOUNT, CASH, CAPRICORN)PaymentType
primary_peopleList[PrimaryPerson]
delivery_addressAddressAddress Model
same_as_delivery_addressboolFalse
billing_addressAddressAddress Model
notestr
credit_limitfloat
block_new_invoice_if_credit_exceededboolFalse
line_item_tax_typeLineItemTaxType (EXCLUSIVE, INCLUSIVE, NO_TAX)LineItemTaxType
sales_accountAccountAccount
default_due_datestr
contact_typeContactType (CUSTOMER, SUPPLIER, BOTH)ContactType

APIs / Triggers

TriggerEndpoint / SourceDetailHandler
APIPUT /newcontact/src/contact_put.py

Change history

v12.1.0 · 2026-02-27 · Cian (shared account) · 90a6b50d2

init

  • Added optional field is_hidden.
v12.0.0 · 2025-10-19 · Cian (shared account) · 4d42b898a

fx

  • Removed field enable_work_order_notification (breaking).
  • Removed field notification_channel (breaking).
v11.1.0 · 2025-10-15 · Olaniyi Ajayi · c67147264

fx

  • Added optional field enable_work_order_notification.
  • Added optional field notification_channel.
v11.0.0 · 2025-07-21 · Cian (shared account) · d3c7f6b86

fx

  • Field payment_type type changed: PaymentType → Optional[PaymentType] (breaking).
  • Field payment_type became optional.
v10.0.0 · 2025-07-12 · Cian (shared account) · d0f07daf2

donefx

  • Added optional field block_new_invoice_if_credit_exceeded.
  • Added optional field contact_type.
  • Added optional field credit_limit.
  • Added optional field default_due_date.
  • Added optional field line_item_tax_type.
  • Added optional field note.
  • Added optional field sales_account.
  • Field contact_name type changed: Optional[str] → str (breaking).
  • Field contact_name became required (breaking).
  • Field is_business_contact type changed: bool → Optional[bool] (breaking).
  • Field is_business_contact became optional.
  • Field is_business_contact default changed: None → False.
  • Field is_capricorn_member type changed: bool → Optional[bool] (breaking).
  • Field is_capricorn_member became optional.
  • Field is_capricorn_member default changed: None → False.
  • Field is_on_hold type changed: bool → Optional[bool] (breaking).
  • Field is_on_hold became optional.
  • Field is_on_hold default changed: None → False.
  • Field payment_type type changed: Optional[str] → PaymentType (breaking).
  • Field payment_type became required (breaking).
  • Field payment_type enum value ACCOUNT added.
  • Field payment_type enum value CAPRICORN added.
  • Field payment_type enum value CASH added.
  • Field same_as_delivery_address type changed: bool → Optional[bool] (breaking).
  • Field same_as_delivery_address became optional.
  • Field same_as_delivery_address default changed: None → False.
v9.0.0 · 2025-07-08 · Cian (shared account) · ad0e24e1b

fxfx

  • Removed field block_new_invoice_if_credit_exceeded (breaking).
  • Removed field contact_type (breaking).
  • Removed field credit_limit (breaking).
  • Removed field default_due_date (breaking).
  • Removed field line_item_tax_type (breaking).
  • Removed field note (breaking).
  • Removed field sales_account (breaking).
  • Field contact_name type changed: str → Optional[str] (breaking).
  • Field contact_name became optional.
  • Field is_business_contact type changed: Optional[bool] → bool (breaking).
  • Field is_business_contact became required (breaking).
  • Field is_business_contact default changed: False → None.
  • Field is_capricorn_member type changed: Optional[bool] → bool (breaking).
  • Field is_capricorn_member became required (breaking).
  • Field is_capricorn_member default changed: False → None.
  • Field is_on_hold type changed: Optional[bool] → bool (breaking).
  • Field is_on_hold became required (breaking).
  • Field is_on_hold default changed: False → None.
  • Field payment_type type changed: PaymentType → Optional[str] (breaking).
  • Field payment_type became optional.
  • Field payment_type enum value ACCOUNT removed (breaking).
  • Field payment_type enum value CAPRICORN removed (breaking).
  • Field payment_type enum value CASH removed (breaking).
  • Field same_as_delivery_address type changed: Optional[bool] → bool (breaking).
  • Field same_as_delivery_address became required (breaking).
  • Field same_as_delivery_address default changed: False → None.
v8.0.0 · 2025-07-07 · Olaniyi Ajayi · 485ac0313

migration script

  • Removed field default_due_date_id (breaking).
  • Field contact_name type changed: Optional[str] → str (breaking).
  • Field contact_name became required (breaking).
  • Field contact_type type changed: Optional[str] → Optional[ContactType] (breaking).
  • Field contact_type enum value BOTH added.
  • Field contact_type enum value CUSTOMER added.
  • Field contact_type enum value SUPPLIER added.
  • Field is_business_contact type changed: bool → Optional[bool] (breaking).
  • Field is_business_contact became optional.
  • Field is_business_contact default changed: None → False.
  • Field is_capricorn_member type changed: bool → Optional[bool] (breaking).
  • Field is_capricorn_member became optional.
  • Field is_capricorn_member default changed: None → False.
  • Field is_on_hold type changed: bool → Optional[bool] (breaking).
  • Field is_on_hold became optional.
  • Field is_on_hold default changed: None → False.
  • Field line_item_tax_type type changed: Optional[str] → Optional[LineItemTaxType] (breaking).
  • Field line_item_tax_type enum value EXCLUSIVE added.
  • Field line_item_tax_type enum value INCLUSIVE added.
  • Field line_item_tax_type enum value NO_TAX added.
  • Field payment_type type changed: Optional[PaymentType] → PaymentType (breaking).
  • Field payment_type became required (breaking).
  • Field payment_type enum value Account removed (breaking).
  • Field payment_type enum value Capricorn removed (breaking).
  • Field payment_type enum value Cash removed (breaking).
  • Field payment_type enum value ACCOUNT added.
  • Field payment_type enum value CAPRICORN added.
  • Field payment_type enum value CASH added.
  • Field same_as_delivery_address type changed: bool → Optional[bool] (breaking).
  • Field same_as_delivery_address became optional.
  • Field same_as_delivery_address default changed: None → False.
v7.0.0 · 2025-07-07 · Olaniyi Ajayi · 3570a8d26

contact APIs

  • Added optional field default_due_date_id.
  • Field contact_name type changed: str → Optional[str] (breaking).
  • Field contact_name became optional.
  • Field contact_type type changed: Optional[ContactType] → Optional[str] (breaking).
  • Field contact_type enum value BOTH removed (breaking).
  • Field contact_type enum value CUSTOMER removed (breaking).
  • Field contact_type enum value SUPPLIER removed (breaking).
  • Field is_business_contact type changed: Optional[bool] → bool (breaking).
  • Field is_business_contact became required (breaking).
  • Field is_business_contact default changed: False → None.
  • Field is_capricorn_member type changed: Optional[bool] → bool (breaking).
  • Field is_capricorn_member became required (breaking).
  • Field is_capricorn_member default changed: False → None.
  • Field is_on_hold type changed: Optional[bool] → bool (breaking).
  • Field is_on_hold became required (breaking).
  • Field is_on_hold default changed: False → None.
  • Field line_item_tax_type type changed: Optional[LineItemTaxType] → Optional[str] (breaking).
  • Field line_item_tax_type enum value EXCLUSIVE removed (breaking).
  • Field line_item_tax_type enum value INCLUSIVE removed (breaking).
  • Field line_item_tax_type enum value NO_TAX removed (breaking).
  • Field payment_type type changed: PaymentType → Optional[PaymentType] (breaking).
  • Field payment_type became optional.
  • Field payment_type enum value ACCOUNT removed (breaking).
  • Field payment_type enum value CAPRICORN removed (breaking).
  • Field payment_type enum value CASH removed (breaking).
  • Field payment_type enum value Account added.
  • Field payment_type enum value Capricorn added.
  • Field payment_type enum value Cash added.
  • Field same_as_delivery_address type changed: Optional[bool] → bool (breaking).
  • Field same_as_delivery_address became required (breaking).
  • Field same_as_delivery_address default changed: False → None.
v6.0.0 · 2025-07-07 · Cian (shared account) · cd0b858e6

fx

  • Field default_due_date type changed: Optional[DefaultDueDate] → Optional[str] (breaking).
  • Field default_due_date enum value 20TH_OF_THE_FOLLOWING_MONTH removed (breaking).
  • Field default_due_date enum value 20TH_OF_THIS_MONTH removed (breaking).
  • Field default_due_date enum value CASH_ON_DELIVERY removed (breaking).
v5.0.0 · 2025-07-06 · Cian (shared account) · 204ee02d7

fx

  • Field contact_type type changed: Optional[str] → Optional[ContactType] (breaking).
  • Field contact_type enum value BOTH added.
  • Field contact_type enum value CUSTOMER added.
  • Field contact_type enum value SUPPLIER added.
  • Field default_due_date type changed: Optional[str] → Optional[DefaultDueDate] (breaking).
  • Field default_due_date enum value 20TH_OF_THE_FOLLOWING_MONTH added.
  • Field default_due_date enum value 20TH_OF_THIS_MONTH added.
  • Field default_due_date enum value CASH_ON_DELIVERY added.
  • Field line_item_tax_type type changed: Optional[str] → Optional[LineItemTaxType] (breaking).
  • Field line_item_tax_type enum value EXCLUSIVE added.
  • Field line_item_tax_type enum value INCLUSIVE added.
  • Field line_item_tax_type enum value NO_TAX added.
v4.0.0 · 2025-07-06 · Cian (shared account) · 3f283f85c

fx

  • Field account_number type changed: PaymentType → Optional[str] (breaking).
  • Field account_number became optional.
  • Field account_number enum value ACCOUNT removed (breaking).
  • Field account_number enum value CAPRICORN removed (breaking).
  • Field account_number enum value CASH removed (breaking).
  • Field contact_type type changed: str → Optional[str] (breaking).
  • Field contact_type became optional.
  • Field payment_type type changed: Optional[str] → PaymentType (breaking).
  • Field payment_type became required (breaking).
  • Field payment_type enum value ACCOUNT added.
  • Field payment_type enum value CAPRICORN added.
  • Field payment_type enum value CASH added.
v3.1.0 · 2025-07-06 · Cian (shared account) · 2c1a6f059

fx

  • Added optional field block_new_invoice_if_credit_exceeded.
v3.0.0 · 2025-07-06 · Cian (shared account) · 4ec8e08f5

fx

  • Removed field default_due_date_id (breaking).
  • Field account_number type changed: Optional[str] → PaymentType (breaking).
  • Field account_number became required (breaking).
  • Field account_number enum value ACCOUNT added.
  • Field account_number enum value CAPRICORN added.
  • Field account_number enum value CASH added.
  • Field contact_name type changed: Optional[str] → str (breaking).
  • Field contact_name became required (breaking).
  • Field contact_type type changed: Optional[str] → str (breaking).
  • Field contact_type became required (breaking).
  • Field is_business_contact type changed: bool → Optional[bool] (breaking).
  • Field is_business_contact became optional.
  • Field is_business_contact default changed: None → False.
  • Field is_capricorn_member type changed: bool → Optional[bool] (breaking).
  • Field is_capricorn_member became optional.
  • Field is_capricorn_member default changed: None → False.
  • Field is_on_hold type changed: bool → Optional[bool] (breaking).
  • Field is_on_hold became optional.
  • Field is_on_hold default changed: None → False.
  • Field same_as_delivery_address type changed: bool → Optional[bool] (breaking).
  • Field same_as_delivery_address became optional.
  • Field same_as_delivery_address default changed: None → False.
v2.1.0 · 2025-07-05 · Olaniyi Ajayi · 8910dd4d0

init

  • Added optional field contact_type.
  • Added optional field credit_limit.
  • Added optional field default_due_date.
  • Added optional field default_due_date_id.
  • Added optional field line_item_tax_type.
  • Added optional field note.
  • Added optional field sales_account.
v2.0.0 · 2025-04-18 · Olaniyi Ajayi · d3d8fa677

fx

  • Field contact_name type changed: str → Optional[str] (breaking).
  • Field contact_name became optional.
v1.0.0 · 2025-03-16 · Cian (shared account) · 0c2952ef4

init

  • Initial version.

Generated from dismantly-backend/Microservices/Contact/dependencies/models.py. Do not edit by hand.