getSkuProperties

get

/ccadmin/v1/skuProperties

Get a list of SKU properties. For "product", this will be the base properties on a SKU. For any other type, this will be the type-specific SKU properties.

Request

Supported Media Types
Query Parameters
  • Product type ID for which the SKU properties will be retrieved. If this is "product", the base properties will be returned.
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds. This will return an empty result if there are no dynamic SKU properties.
Body ()
Root Schema : getSkuProperties_response
Type: object
Show Source
Nested Schema : items
Type: array
An array containing the list of sku properties for a product type
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : editableAttributes
Type: array
Attributes of this property that can be edited.
Show Source
Example Response (application/json)
{
    "items":[
        {
            "itemType":"sku-sampleProductType",
            "hidden":false,
            "length":254,
            "variantBasedDisplay":false,
            "label":"Color Description",
            "type":"shortText",
            "required":false,
            "searchable":false,
            "writable":true,
            "internalOnly":false,
            "default":"defaultValue",
            "listingVariant":false,
            "propertyType":"sku-custom",
            "localizable":false,
            "textSearchable":false,
            "id":"x_colorDescription",
            "dimension":false,
            "editableAttributes":[
                "dimension",
                "multiSelect",
                "textSearchable",
                "default",
                "internalOnly",
                "order",
                "listingVariant",
                "hidden",
                "label",
                "required",
                "variantBasedDisplay",
                "searchable"
            ],
            "multiSelect":false,
            "order":null
        }
    ]
}

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