Update Size Guide Endpoint

This endpoint is only available if aerocargo/size-guides is installed.

Structure

Size Guide

Name
Type
Description
Required
name string The name for the size guide No
heading
string The heading of the size guide No
view
string The view of the size guide No
small_image object The Small Image No
medium_image object The Medium Image No
large_image object The Large Image No
products
array An array of product ids or models No
manufacturers
array An array of manufacturer ids or names No
categories
array An array of category ids or breadcrumbs No
tags
array An array of tag ids or names No
groups
array An array of Group objects No

Group

Name
Type
Description
Required
id int The id of the size guide group No
heading
string The heading of the size guide No
sections
array An array of Section objects No

Section

Name
Type
Description
Required
id int The id of the size guide section No
heading
string The heading of the size guide section No
content
string The content of the size guide section No

Image

Name
Type
Description
Required
src string The source url of the image Yes

Example Request

PUT /api/size-guides/{id}

Example Response

{
    "name": "API Test",
    "heading": "Test",
    "view": "test",
    "products": [],
    "manufacturers": [
        "Burberry",
    ],
    "categories": [
        "Mens > Coats",
    ],
    "tags": [
        "Blue",
    ],
    "groups": [
        {
            "heading": "Group Heading",
            "sections": [
                {
                    "heading": "Section Heading",
                    "content": "Section Content"
                }
            ]
        }
    ]
}


Revision #4
Created 2026-10-02 11:11:13 UTC by Ethan Payne
Updated 2026-10-02 13:32:05 UTC by Ethan Payne