updateURLPattern

put

/ccadmin/v1/urlPatterns/{id}

Update a URL pattern. Update a URL method based on ID and request parameters.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : updateURLPattern_request
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateURLPattern_response
Type: object
Show Source
Nested Schema : items
Type: array
The list of URL pattern objects.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : availableProperties
Type: array
Properties available to use in URL Patterns
Show Source
Nested Schema : translations
Type: object
List of translated URL Patterns
Example Response (application/json)
[
    {
        "availableProperties":[
            "description",
            "displayName",
            "id",
            "parentCategory",
            "seoDescriptionDerived",
            "seoTitleDerived",
            "seoUrlSlugDerived"
        ],
        "default":"/{seoTitleDerived}/category/{id}",
        "translations":{
            "1":"/{seoTitleDerived}/category/{id}"
        },
        "name":"Category Page",
        "repositoryId":"categoryPageRoute",
        "autoRedirect":true,
        "value":"/{seoTitleDerived}/category/{id}",
        "example":"/skirts/category/cat70008"
    },
    {
        "availableProperties":[
            "brand",
            "description",
            "displayName",
            "id",
            "parentCategory",
            "seoDescriptionDerived",
            "seoTitleDerived",
            "seoUrlSlugDerived",
            "type"
        ],
        "default":"/{seoTitleDerived}/product/{id}",
        "translations":{
            "1":"/{seoTitleDerived}/product/{id}"
        },
        "name":"Product Page",
        "repositoryId":"productPageRoute",
        "autoRedirect":true,
        "value":"/{seoTitleDerived}/product/{id}",
        "example":"/a-line-skirt/product/xprod2535"
    }
]

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top