/
CREATE AVAILABILITY FOR ACTIVITY

CREATE AVAILABILITY FOR ACTIVITY

And the last step is to setup availability (allotments or on request) and schedule:

 

1.   For all types of products there is common method - PUT /availability

 Within header pass contractId – that defines for each product it is, for example, availability?id=2803579

And here is example of the request:

[

  {

  "operation": "SET",

  "dayOfWeek": [

    true,

    true,

    true,

    true,

    true,

    true,

    true   

  ],

  "amount": 4,

  "categoryId": 2803592,

  "serviceId": 2803705,

  "dateFrom": "2023-01-15",

  "dateTo": "2023-01-15",

  "operationType": ""

 }

]