updateMetadata
put
/ccadmin/v1/metadata/{id}
Creates and updates properties on the base "product" type.
Request
Supported Media Types
- application/json
Path Parameters
-
id: string
The ID of the product type (product).
Root Schema : updateMetadata_request
Type:
Show Source
object
-
updated(optional):
object updated
Array of properties to be updated, including reordering.
Example:
{
"updated":[
{
"id":"id",
"order":"0"
},
{
"id":"displayName",
"order":"10"
},
{
"id":"description",
"order":"20"
},
{
"id":"brand",
"order":"30"
},
{
"id":"listPrices",
"order":"40"
},
{
"id":"listVolumePrices",
"order":"50"
},
{
"id":"salePrices",
"order":"60"
},
{
"id":"shippingSurcharges",
"order":"70"
},
{
"id":"saleVolumePrices",
"order":"80"
},
{
"id":"configurable",
"order":"90"
},
{
"id":"taxCode",
"order":"100"
},
{
"id":"longDescription",
"order":"110"
},
{
"id":"relatedArticles",
"order":"120"
},
{
"id":"relatedMediaContent",
"order":"130"
},
{
"id":"active",
"order":"140"
},
{
"id":"notForIndividualSale",
"order":"150"
},
{
"id":"nonreturnable",
"order":"160"
},
{
"id":"excludeFromSitemap",
"order":"170"
},
{
"id":"arrivalDate",
"order":"180"
},
{
"id":"height",
"order":"190"
},
{
"id":"length",
"order":"200"
},
{
"id":"width",
"order":"210"
},
{
"id":"weight",
"order":"220"
},
{
"id":"orderLimit",
"order":"230"
},
{
"id":"listVolumePrice",
"order":"240"
},
{
"id":"CountryOfOrigin",
"order":"250"
},
{
"id":"parentCategoriesAncestorCategories",
"order":"260"
},
{
"id":"filteredSKUs",
"order":"270"
},
{
"id":"saleVolumePrice",
"order":"280"
},
{
"id":"seoUrlSlugDerived",
"order":"290"
},
{
"id":"ancestorCategoriesForFullDeploy",
"order":"300"
}
]
}
Nested Schema : updated
Type:
object
Array of properties to be updated, including reordering.
Show Source
-
id(optional):
string
ID for the property being updated
-
order(optional):
integer
New value to set a property's order. Typically a multiple of 10.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
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|
|------------------|------------------|
|26050|The end point is not implemented|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code