Delete a specific Product Type
DELETE/product/:guid
Soft deletes a specific Product Type.
Request
Path Parameters
guid uuidrequired
The guid of the Product Type.
Responses
- 200
- 403
- 404
- 406
- 409
- 500
Product Type deleted. This returns an empty response.
Unauthorized. You do not have permission to manage the Product Type.
- application/json
- Schema
- Example (from schema)
Schema
error_code string
The general error code.
error_description stringrequired
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Product Type not found.
- application/json
- Schema
- Example (from schema)
Schema
error_code string
The general error code.
error_description stringrequired
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Request is invalid, see error context for validation errors.
- application/json
- Schema
- Example (from schema)
Schema
error_code string
The general error code.
error_description stringrequired
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Deleting a Product Type that is already sold is not possible.
- application/json
- Schema
- Example (from schema)
Schema
error_code string
The general error code.
error_description stringrequired
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Internal server error. Deleting the Product Type failed.
- application/json
- Schema
- Example (from schema)
Schema
error_code string
The general error code.
error_description stringrequired
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Loading...