Method: Mints::Contact#scheduled_appointments

Defined in:
lib/contact.rb

#scheduled_appointments(data) ⇒ Object

Scheduled Appointments.

Get a collection of appointments filtering by object_type, object_id and dates range.

Parameters

data

(Hash) – Data to be submited.

Example

data = {
  "object_model": "products",
  "object_id": 2,
  "start": "2021-11-25T14:15:00+00:00",
  "end": "2022-01-01T13:00:00+00:00"
}
@data = @mints_contact.scheduled_appointments(data)


442
443
444
# File 'lib/contact.rb', line 442

def scheduled_appointments(data)
  return @client.raw("post", "/contacts/appointments/scheduled-appointments", nil, data_transform(data))
end