DELETE - /product
General Information
Service | API | Method | Data Model | Workflow | Group |
---|---|---|---|---|---|
multitenant | /product | DELETE | Products | N/A | Product |
Description
Delete product
Input
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
id | Query | NO | String | N/A | The product id |
code | Query | NO | String | The Length is 4 - 5 | The product code |
Output
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response
Valid Response
Invalid Response
Code | Description |
---|---|
400 | Business logic required data are missing |
460 | Unable to find products |
466 | You are not allowed to remove the product you are currently logged in with |
500 | This record is locked. You cannot modify or delete it |
602 | Model error: + %model_error% |