Zum Hauptinhalt springen

Create product

Create product

Header Parameters
organization-id uuid REQUIRED

ID of organization context this request belongs to.

Request Body REQUIRED
accessDefinitionId uuid
colour string

Possible values: length ≤ 32

description string

Possible values: length ≤ 240

detailedDescription string
name string REQUIRED

Possible values: 3 ≤ length ≤ 50

productStatus string

Possible values: [DRAFT, PUBLISHED]

publiclyAvailable boolean
supportMultiplePlans boolean
Responses
201

Product successfully created

Schema OPTIONAL
accessDefinitionId uuid OPTIONAL
colour string OPTIONAL
createdAt date-time OPTIONAL
createdBy uuid OPTIONAL
description string OPTIONAL
detailedDescription string OPTIONAL
id uuid OPTIONAL
name string OPTIONAL
organization object OPTIONAL
email string OPTIONAL
id uuid OPTIONAL
name string OPTIONAL
provider boolean OPTIONAL
active boolean OPTIONAL
organizationId uuid OPTIONAL

Use: organization.id

organizationName string OPTIONAL

Use: organization.name

plans object[] OPTIONAL
createdAt date-time OPTIONAL
createdBy uuid OPTIONAL
deleted boolean OPTIONAL
description string OPTIONAL
id uuid OPTIONAL
name string OPTIONAL
planType string OPTIONAL

Possible values: [STATIC, DYNAMIC]

productId uuid OPTIONAL
updatedAt date-time OPTIONAL
updatedBy uuid OPTIONAL
validity object OPTIONAL
validFrom date-time OPTIONAL
validUntil date-time OPTIONAL
version string OPTIONAL
productStatus string OPTIONAL

Possible values: [DRAFT, PUBLISHED]

publiclyAvailable boolean OPTIONAL
supportMultiplePlans boolean OPTIONAL
400

Bad Request (e.g. element not found or resource conflict).

Schema OPTIONAL
message string OPTIONAL
timestamp date-time OPTIONAL
traceId string OPTIONAL
type string OPTIONAL
403

Missing permission

Schema OPTIONAL
message string OPTIONAL
timestamp date-time OPTIONAL
traceId string OPTIONAL
type string OPTIONAL
500

Internal server error (Internal service communication or process error).

Schema OPTIONAL
message string OPTIONAL
timestamp date-time OPTIONAL
traceId string OPTIONAL
type string OPTIONAL