General Information
...
Service | API | Method | Data Model | Workflow | Group |
---|---|---|---|---|---|
multitenant | /product/package | PUT | Products | N/A | Product |
Description
This API updates the package under a product that both have codes that accordingly match the ones sent in the query.Update product package
Input
...
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
id | Query | YES | String | N/A | The product id |
code | Query | YES | String | The Length is 4 - 5 | The product code |
name | Body | YES | String | N/A | The product name |
description | Body | NO | String | N/A | The product description |
_TTL | Body | NO | String | '6', '12', '24', '48', '72', '96', '120', '144', '168' | |
tags | Body | NO | Array | Array of strings | |
acl | Body | NO | Object | Package ACL - Check the example below | |
type | Body | NO | Object | Keys are environment codes and value is granular | Environment ACL TYPE |
ACL Example
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
"acl": {
"dashboard": {
"oauth": [
{
"version": "1",
"get": [
"Guest"
],
"post": [
"Guest",
"Tokenization"
],
"delete": [
"Tokenization"
]
}
]
}
} |
Type Example
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "dashboard": "granular" } |
Output
...
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response
...