Sign in

Welcome.
How can we help?

Developer API: /customers/opening_hours

Topic: , Updated:

This resource is used to handle opening hours for customers when using the Callback Widget.

GET

Mandatory parameters

Name Type Description
customer_id int Freespee's unique ID for customer.
oh_id int Opening hour ID.

Optional parameters

None.

Output

Name Type Description
oh_id int Opening hour ID.
weekdays string Comma separated string with opened weekdays.
from_time string Opening from time (UTC).
to_time string Opening to time (UTC).

POST

Mandatory parameters

Name Type Description
customer_id int Freespee's unique ID for customer.
weekdays string Comma separated string with opened weekdays.
from_time string Opening from time (UTC).
to_time string Opening to time (UTC).

Optional parameters

None.

Output

Same as GET.

PUT

Mandatory parameters

Name Type Description
customer_id int Freespee's unique ID for customer.
number_id int DNCS number id.

Optional parameters

Name Type Description
phonenr string DNCS phone number.

Output

Same as GET.

DELETE

Mandatory parameters

Name Type Description
oh_id int Opening hour ID.

Optional parameters

None.

Output

N/A.

Was this article helpful?
0 out of 0 found this helpful

Comments


Not the answer to your question?

Powered by Zendesk