Permissions/shields exists on three levels: global, enterprise and orderType. This API can be used to get the current permissions and shields for the customer. It may also be used to update the data.
NB! Not possible to update on global level.
Field | Type | Description |
---|---|---|
global | Level | Wrapper for global level permission/shield. |
enterprise | Level | Wrapper for enterprise level permission/shield. |
orderType | Level | Wrapper for order type level permission/shield. |
channel | Channel | Wrapper for channel. |
type | String | State for the channel. Valid values: permission, shield and none. Global level does not support permission. |
value | String | Channel code as defined in Connect. |
The user needs to be logged in to use this endpoint, click here to read more.
This API can be used to get the current permissions and shields for the customer. It may also be used to update the data.
OK
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "channels": [
- {
- "type": "SHIELD",
- "value": "TM"
}, - {
- "type": "SHIELD",
- "value": "DM"
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
OK
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "channels": [
- {
- "type": "PERMISSION",
- "value": "DM"
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
OK
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "channels": [
- {
- "type": "PERMISSION",
- "value": "DM"
}
]
}
{- "channels": [
- {
- "type": "PERMISSION",
- "value": "DM"
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
OK
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "channels": [
- {
- "type": "PERMISSION",
- "value": "DM"
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
OK
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "channels": [
- {
- "type": "PERMISSION",
- "value": "DM"
}
]
}
{- "channels": [
- {
- "type": "PERMISSION",
- "value": "DM"
}
]
}
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
Use this API to shield customer(s) on order type level by a given credential
. The credential
is used to find customers. All customers found will be shielded against activity on specified channel
.
{- "enterpriseCode": "468979834",
- "orderTypeCode": "56235",
- "channel": "DM",
- "credential": "+4712345678"
}
{- "count": 0
}
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
{- "enterpriseCode": "468979834",
- "channel": "TM",
- "credential": "+4712345678"
}
{- "count": 0
}