| Action | Method | Resource | Description |
|---|
| Get sites | GET | /sites | Gell all sites/channels of the project |
| Get site | GET | /sites/site_id | Get site with id site_id |
| Create sites | POST | /sites | Create New site |
| Update site | PUT | /sites/site_id | Update site with id site_id |
| Delete site | DELETE | /sites/site_id | Delete site with id site_id |
The business model has the following attributes:
| Attribute | Type | Required | Description |
|---|
| name | string | no, required to create. | The site's name. |
| code | string | no, required to create. | The site's name. |
| url | string | no | The site's URL. |
| logo | string | no | The site's logo |
| header | string | no | The site's header image. |
| social_share | string | no | The site's social share URL. |
| reset_password_url_template | string | no | The site's reset password URL. |
| track_order_url_template | string | no | The site's track order URL. |
| description | string | no | The site's description. |
| checkout_url_template | string | no | The site's checkout template URL. |
| cart_url_template | string | no | The site's cart template URL. |
| business_url_template | string | no | The site's business template URL. |
| category_url_template | string | no | The site's category template URL. |
| product_url_template | string | no | The site's product template URL. |
| profile_url_template | string | no | The site's profile template URL. |