Post Product
This API returns, among other fields, the ID of the newly added product. Please note - This ID must be provided (as productId) for operations like accept certificates, retrieve notification messages or update/delete the product.
Request
URI
POST
https://{api_host}/product
COPY
Header Parameters
string
sessionid
Required
The authentication token obtained from login API response
Request Body
Product details
Responses
202
Product addition successful
Operation doesn't return any data structure
401
Returns 401Unauthorized_sessionID of type(s) application/json
{
"errCode": "GW_LOGIN_REQUIRED",
"errMessage": "Your session not found or already expired. Please login"
}
string
errCode
Optional
errCode
string
errMessage
Optional
errMessage
502
For example, invalid request data or the product is already added
Returns Error of type(s) application/json
{
"errCode": "string",
"errMessage": "string"
}
string
errCode
Optional
errCode
string
errMessage
Optional
errMessage
Product Operations
PUT
Accept Certificate
DELETE
Delete Product
GET
Get Product
POST
Post Product
PUT
Put Product