PUT - /product
General Information
Service | API | Method | Data Model | Workflow | Group |
---|---|---|---|---|---|
multitenant | /product | PUT | Products | N/A | Product |
Description
Update product
Input
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
id | Query | YES | String | N/A | The product id |
name | Body | YES | String | N/A | The product name |
description | Body | NO | String | N/A | The product description |
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 |
---|---|
602 | Model error: + %model_error% |
460 | Unable to find products |
470 | Unable to update product |
500 | This record is locked. You cannot modify or delete it |