Methods
activate
- activate(contactId: string): Promise<void>
-
Returns Promise<void>
create
- create(contactInfo: Omit<Contact, "entity" | "id" | "batch_id" | "created_at" | "active">): Promise<Contact>
-
Parameters
-
contactInfo: Omit<Contact, "entity" | "id" | "batch_id" | "created_at" | "active">
Returns Promise<Contact>
deactivate
- deactivate(contactId: string): Promise<void>
-
Returns Promise<void>
getAll
- getAll(filters?: Pageable & Partial<Pick<Contact, "active" | "contact" | "name" | "email" | "type" | "reference_id">>): Promise<Response<Contact>>
-
Parameters
-
filters: Pageable & Partial<Pick<Contact, "active" | "contact" | "name" | "email" | "type" | "reference_id">> = {}
update
- update(contactId: string, contactInfo: Omit<Contact, "entity" | "id" | "batch_id" | "created_at" | "active">): Promise<void>
-
Parameters
-
contactId: string
-
contactInfo: Omit<Contact, "entity" | "id" | "batch_id" | "created_at" | "active">
Returns Promise<void>
Activates a contact
Link
https://razorpay.com/docs/api/x/contacts#activate-or-deactivate-a-contact