updateSkuProperty

put

/ccadmin/v1/skuProperties/{id}

Update a SKU dynamic property with specified ID. **Requires the x-ccasset-language header so translated content can be set for a specific language.**

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Root Schema : updateSkuProperty_request
Type: object
Show Source
Example:
{
    "default":"newDefaultValue",
    "id":"upccode",
    "label":"New Label",
    "searchable":true,
    "productTypeId":"sampleProductType"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateSkuProperty_response
Type: object
Show Source
Nested Schema : editableAttributes
Type: array
Attributes of this property that can be edited.
Show Source
Example Response (application/json)
{
    "itemType":"sku-sampleProductType",
    "hidden":false,
    "length":254,
    "variantBasedDisplay":false,
    "label":"New Label",
    "type":"shortText",
    "required":false,
    "searchable":true,
    "writable":true,
    "internalOnly":false,
    "default":"newDefaultValue",
    "listingVariant":false,
    "propertyType":"sku-custom",
    "localizable":false,
    "textSearchable":false,
    "id":"upccode",
    "dimension":false,
    "editableAttributes":[
        "dimension",
        "multiSelect",
        "textSearchable",
        "default",
        "internalOnly",
        "order",
        "listingVariant",
        "hidden",
        "label",
        "required",
        "variantBasedDisplay",
        "searchable"
    ],
    "multiSelect":false
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |20113|Property type can't be changed|
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