DELETE - /product/console/package

General Information


ServiceAPIMethodData ModelWorkflowGroup
multitenant/product/console/packageDELETEProductsN/AConsole product

Description

Delete console product package

Input


Type: application/json
Name
Source
Mandatory
Type
Special Format
Description
idQueryYESStringN/AThe product id
packageCodeQueryYESStringN/AThe package code

Output


Response

SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response 

Valid Response

Valid Response Sample
{ 
	result: true,
  	data: 'product package %package_code% deleted successfully' 
}

Invalid Response

Error Response Sample
{
    "result":false,
    "errors":{
        "codes":[460],
        "details":[
            {
                "code":460,
                "message":"Unable to find products"
            }
        ]
    }
}

Response schema

Follow this link to check out the response JSON Schema

SOAJS Error Codes


Code
Description
400

Business logic required data are missing

460

Unable to find products

461

Unable to find package

500

You cannot modify or delete a locked record

602Model error: + %model_error%