Update Organization
PUT/organizations/:id
This operation allows to update an Organization
Request
Path Parameters
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
organization id
- application/json
Body
organization to update
Array [
]
Possible values: Value must match regular expression \S
organization name
Possible values: Value must match regular expression \S
customer id
Possible values: Value must match regular expression \S
customer address
Possible values: Value must match regular expression \S
organization type
installedOfferList
object[]
required
Possible values: >= 1
, <= 1
list of installed offer associated to an organization
Possible values: Value must match regular expression \S
installed offer code
Possible values: Value must match regular expression \S
installed offer name
Possible values: Value must match regular expression \S
sales contact name
Possible values: Value must match regular expression \S
sales contact email
tan id
contract id
Possible values: Value must match regular expression \S
sales channel
Possible values: >= 1
list of ban ids associated to an organization
list of linked customer ids associated to an organization
Responses
- 200
- 400
- 401
- 403
- 404
- 500
ok
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
organization id
organization name
customer id
customer address
organization type
installedOfferList
object[]
list of installed offer associated to an organization
Possible values: Value must match regular expression \S
installed offer code
Possible values: Value must match regular expression \S
installed offer name
sales contact name
sales contact email
tan id
contract id
sales channel
list of ban ids associated to an organization
list of linked customer ids associated to an organization
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"customerId": "string",
"customerAddress": "string",
"type": "string",
"installedOfferList": [
{
"code": "string",
"name": "string"
}
],
"salesContactName": "string",
"salesContactEmail": "string",
"tanid": 0,
"contractid": 0,
"saleschannel": "string",
"banIds": [
0
],
"linkedCustomerIds": [
"string"
]
}
bad request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
bad request code
bad request message
bad request status
bad request title
violations
object[]
bad request violations
violated field name
error message
{
"code": 0,
"message": "string",
"status": 0,
"title": "string",
"violations": [
{
"field": "string",
"message": "string"
}
]
}
unauthorized access
- application/json
- Schema
- Example (from schema)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
forbidden access
- application/json
- Schema
- Example (from schema)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
not found
- application/json
- Schema
- Example (from schema)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}
internal error
- application/json
- Schema
- Example (from schema)
Schema
error code
error message
error description
{
"code": 0,
"message": "string",
"description": "string"
}