Reorder MetaData within Product Type
PUT/product/:guid/metaData/reorder
Change the order of MetaData within the Product Type by specifying the new successor predecessor pair.
The predecessor will be moved within the Product Type directly above the successor.
The sequence below the predecessor will change such that the old successor of the predecessor will now be the successor of the old predecessor.
i.e. the sequence from which we remove the predecessor forms a new sequence as if the predecessor was not in that sequence before.
Note that the MetaData we are actually moving is the predecessor.
Request
Path Parameters
The guid of the Product Type.
- application/json
Body
Input data
The guid of the MetaData that will be moved within the Product Type.
The guid of the Metadata that is now positioned directly below the predecessor.
Responses
- 200
- 403
- 404
- 406
- 500
Reordering of MetaData within Product Type Successful. This returns an empty response.
Unauthorized. You do not have permission to modify the Product Type.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Product Type or MetaData not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Request is invalid, see error context for validation errors. Or, predecessor and successor are equal.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Internal server error. Reordering failed or successor does not exist.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}