General Information
...
Service | API | Method | Data Model | Workflow | Group |
---|---|---|---|---|---|
multitenant | /product | GET | N/A | Product |
Description
This API gets the product record that has an id or a code that matches the one sent in the query.
...
Get product
Input
...
Code Block |
---|
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
Code Block | language | js||||||||
---|---|---|---|---|---|---|---|---|---|
Expand | |||||||||
| |||||||||
| truetrue
| collapse |
|
Invalid Response
Code Block | language | js||||||||
---|---|---|---|---|---|---|---|---|---|
Expand | |||||||||
| |||||||||
| truetrue
| collapse |
|
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 |
602 | Model error: + %model_error% |