get https://api.zenoti.com/v1/centers//packages
This API helps you to retrieve all the packages that are active in the center.
You must specify the unique identifier of the center as center_id in the API request.
You can also leverage the pagination feature by passing page and size query parameters if you have a large number of records to be displayed. By default, page is set as 1 and size is set as 10. size cannot be more than 100: which means that the maximum records per page cannot be more than 100.
Response Details
| Name | Type | Description | 
|---|---|---|
| packages | object | Object that contains all the packages-related elements. | 
| page_info | object | Object that contains all the display page-related elements. | 
| error | object | Object that contains error message and error code details. For more information, refer to the error Object table. | 
| code | message | 
|---|---|
| 401 | Authorization has been denied for this request. | 
| 502 | invalid center_id. | 
| 400 | The request is invalid. | 
