Business - Design Templates

Fetch all design templates

Fetch all design templates for a business

Endpoint

GET /api/v1/design_templates

Request

Route

GET /api/v1/design_templates

Headers

Accept: application/json
Content-Type: application/json
App-Id: c99692c7-e67d-4317-a1f8-b58e5feeddd9
App-Secret: PG9TtFByjSlfIIhYrW28VP7Z3mraRvDAyhCxtkdt
Franchise-Id: 222

Response

Simulated Response

Status

200

Headers

Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: c452c359-05eb-4a4b-aa44-70fbb654e058
Content-Length: 587

Body

{
  "data": [
    {
      "id": "22",
      "type": "design_template",
      "attributes": {
        "id": 22,
        "name": "Sample Template",
        "description": "Sample description",
        "video_url": null,
        "purchase_url": "https://example.com/gallery/123/download",
        "number_of_photos": 3,
        "design_category_tag_ids": [

        ],
        "design_category_tag_names": [

        ],
        "design_category_layout_ids": [

        ],
        "design_category_layout_names": [

        ],
        "primary_image": {
          "video_variant": null
        },
        "additional_images": [

        ]
      },
      "relationships": {
        "design_template_category": {
          "data": {
            "id": "37",
            "type": "design_template_category"
          }
        },
        "design_category_tags": {
          "data": [

          ]
        },
        "design_category_layouts": {
          "data": [

          ]
        }
      }
    }
  ]
}