diff --git a/chartmogul/api/contact.py b/chartmogul/api/contact.py index c75f537..c381026 100644 --- a/chartmogul/api/contact.py +++ b/chartmogul/api/contact.py @@ -13,6 +13,7 @@ class Contact(Resource): [_root_key, "has_more", "cursor"]) class _Schema(Schema): + uuid = fields.String() customer_uuid = fields.String(allow_none=True) data_source_uuid = fields.String(allow_none=True) customer_external_id = fields.String(allow_none=True) diff --git a/test/api/test_contact.py b/test/api/test_contact.py index 3bc512a..b9e5e9b 100644 --- a/test/api/test_contact.py +++ b/test/api/test_contact.py @@ -25,6 +25,7 @@ } createContact = { + "uuid": "con_00000000-0000-0000-0000-000000000000", "customer_uuid": "cus_00000000-0000-0000-0000-000000000000", "data_source_uuid": "ds_00000000-0000-0000-0000-000000000000", "first_name": "First name", diff --git a/test/api/test_customer.py b/test/api/test_customer.py index 3a1beb9..358d6f3 100644 --- a/test/api/test_customer.py +++ b/test/api/test_customer.py @@ -304,6 +304,7 @@ } createContact = { + "uuid": "con_00000000-0000-0000-0000-000000000000", "data_source_uuid": "ds_00000000-0000-0000-0000-000000000000", "first_name": "First name", "last_name": "Last name",