@@ -354,6 +354,286 @@ service:
354354 - remote_field_class : remote_field_class
355355 value :
356356 key : value
357+ partialUpdate :
358+ path : /accounting/v1/contacts/{id}
359+ method : PATCH
360+ auth : true
361+ docs : Updates a `Contact` object with the given `id`.
362+ source :
363+ openapi : openapi/openapi.yml
364+ path-parameters :
365+ id : string
366+ request :
367+ name : PatchedContactEndpointRequest
368+ query-parameters :
369+ is_debug_mode :
370+ type : optional<boolean>
371+ docs : >-
372+ Whether to include debug fields (such as log file links) in the
373+ response.
374+ run_async :
375+ type : optional<boolean>
376+ docs : Whether or not third-party updates should be run asynchronously.
377+ body :
378+ properties :
379+ model : root.PatchedContactRequest
380+ content-type : application/json
381+ response :
382+ docs : ' '
383+ type : root.ContactResponse
384+ status-code : 200
385+ examples :
386+ - path-parameters :
387+ id : id
388+ headers :
389+ X-Account-Token : X-Account-Token
390+ request :
391+ model : {}
392+ response :
393+ body :
394+ model :
395+ id : c640b80b-fac9-409f-aa19-1f9221aec445
396+ remote_id : ' 11167'
397+ created_at : ' 2021-09-15T00:00:00Z'
398+ modified_at : ' 2021-10-16T00:00:00Z'
399+ name : Gil Feig's pickleball store
400+ is_supplier : true
401+ is_customer : true
402+ 403+ tax_number : 12-3456789
404+ status : ACTIVE
405+ currency : USD
406+ remote_updated_at : ' 2020-03-31T00:00:00Z'
407+ company : 595c8f97-2ac4-45b7-b000-41bdf43240b5
408+ addresses :
409+ - 2f2702aa-8948-492b-a412-2acdf6d2c499
410+ - d98c7428-8dda-48a8-a1da-c570f65e2375
411+ phone_numbers :
412+ - created_at : ' 2021-09-15T00:00:00Z'
413+ modified_at : ' 2021-10-16T00:00:00Z'
414+ number : ' +3198675309'
415+ type : Mobile
416+ remote_was_deleted : true
417+ field_mappings :
418+ organization_defined_targets :
419+ custom_key : custom_value
420+ linked_account_defined_targets :
421+ custom_key : custom_value
422+ remote_data :
423+ - path : /actions
424+ data :
425+ - Varies by platform
426+ remote_fields :
427+ - remote_field_class : remote_field_class
428+ warnings :
429+ - source :
430+ pointer : pointer
431+ title : Unrecognized Field
432+ detail : An unrecognized field, age, was passed in with request data.
433+ problem_type : UNRECOGNIZED_FIELD
434+ errors :
435+ - source :
436+ pointer : pointer
437+ title : Missing Required Field
438+ detail : custom_fields is a required field on model.
439+ problem_type : MISSING_REQUIRED_FIELD
440+ logs :
441+ - log_id : 99433219-8017-4acd-bb3c-ceb23d663832
442+ dashboard_view : >-
443+ https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832
444+ log_summary :
445+ url : www.exampleintegration.com/api/v1/exampleapi
446+ method : POST
447+ status_code : 200
448+ metaPatchRetrieve :
449+ path : /accounting/v1/contacts/meta/patch/{id}
450+ method : GET
451+ auth : true
452+ docs : Returns metadata for `Contact` PATCHs.
453+ source :
454+ openapi : openapi/openapi.yml
455+ path-parameters :
456+ id : string
457+ response :
458+ docs : ' '
459+ type : root.MetaResponse
460+ status-code : 200
461+ examples :
462+ - path-parameters :
463+ id : id
464+ headers :
465+ X-Account-Token : X-Account-Token
466+ response :
467+ body :
468+ request_schema :
469+ type : object
470+ properties :
471+ model :
472+ type : object
473+ required :
474+ - last_name
475+ - first_name
476+ - merge_categories
477+ - new_york_city_neighborhood
478+ - favorite_tv_shows
479+ - favorite_watch
480+ properties :
481+ email_addresses :
482+ type : array
483+ items :
484+ type : object
485+ properties :
486+ value :
487+ type : string
488+ title : value
489+ email_address_type :
490+ type : string
491+ title : email_address_type
492+ integration_params :
493+ type : object
494+ title : integration_params
495+ properties : {}
496+ linked_account_params :
497+ type : object
498+ title : linked_account_params
499+ properties : {}
500+ title : email_addresses
501+ description : Array of email_addresses objects
502+ urls :
503+ type : array
504+ items :
505+ type : object
506+ properties :
507+ value :
508+ type : string
509+ title : value
510+ url_type :
511+ type : string
512+ title : url_type
513+ integration_params :
514+ type : object
515+ title : integration_params
516+ properties : {}
517+ linked_account_params :
518+ type : object
519+ title : linked_account_params
520+ properties : {}
521+ title : urls
522+ description : Array of urls objects
523+ first_name :
524+ type : string
525+ title : first_name
526+ description : The first name.
527+ last_name :
528+ type : string
529+ title : last_name
530+ description : The last name.
531+ phone_numbers :
532+ type : array
533+ items :
534+ type : object
535+ properties :
536+ value :
537+ type : string
538+ title : value
539+ phone_number_type :
540+ type : string
541+ title : phone_number_type
542+ integration_params :
543+ type : object
544+ title : integration_params
545+ properties : {}
546+ linked_account_params :
547+ type : object
548+ title : linked_account_params
549+ properties : {}
550+ title : phone_numbers
551+ description : Array of phone_numbers objects
552+ tags :
553+ type : array
554+ items :
555+ type : string
556+ format : uuid
557+ title : tags
558+ description : Array of tags names
559+ attachments :
560+ type : array
561+ items :
562+ type : object
563+ properties :
564+ id :
565+ type : string
566+ title : id
567+ file_url :
568+ type : string
569+ title : file_url
570+ file_name :
571+ type : string
572+ title : file_name
573+ attachment_type :
574+ type : string
575+ title : attachment_type
576+ integration_params :
577+ type : object
578+ title : integration_params
579+ properties : {}
580+ linked_account_params :
581+ type : object
582+ title : linked_account_params
583+ properties : {}
584+ title : attachments
585+ description : ' Array of attachments objects '
586+ merge_categories :
587+ type : array
588+ categories :
589+ type : string
590+ enum :
591+ - HRIS
592+ - ATS
593+ - Accounting
594+ - Ticketing
595+ - File Storage
596+ - CRM
597+ - Marketing Automation
598+ enum_information :
599+ - value : HRIS
600+ description : Merge HRIS Category
601+ - value : ATS
602+ description : Merge ATS Category
603+ - value : Accounting
604+ description : Merge Accounting Category
605+ - value : Ticketing
606+ description : Merge Ticketing Category
607+ - value : File Storage
608+ description : Merge File Storage Category
609+ - value : CRM
610+ description : Merge CRM Category
611+ - value : Marketing Automation
612+ description : Merge Marketing Automation Category
613+ title : Merge Categories
614+ description : Array of Merge's Unified API Categories
615+ new_york_city_neighborhood :
616+ type : string
617+ title : Borough
618+ description : One of the 5 Boroughs of New York City
619+ favorite_tv_shows :
620+ type : array
621+ items :
622+ type : string
623+ format : uuid
624+ title : Favorite TV Shows
625+ description : Array of TV Show objects on merge.tv_shows
626+ favorite_watch :
627+ type : string
628+ title : Favorite Watch
629+ description : Favorite watch of all time
630+ remote_field_classes :
631+ key : value
632+ status :
633+ linked_account_status : linked_account_status
634+ can_make_request : true
635+ has_conditional_params : true
636+ has_required_linked_account_params : true
357637 metaPostRetrieve :
358638 path : /accounting/v1/contacts/meta/post
359639 method : GET
0 commit comments