|Help Centre

Developer API: /customers/opening_hours

Last updated at

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.

Did you find this article helpful?

Gold StarGreen LightYellow LightRed Light
ExcellentGoodAveragePoor

Powered by Customer Thermometer

If you still need help you can ask our Support team