Docs

Create Provider Offering

POST /provider-offerings

POST/provider-offerings

Creates a provider offering and returns its id. collaboratorRecordId is the provider, from the Organization API's CollaboratorDatabase_GetCollaboratorRecords, and resourceTypeId is the type offered, from ResourceTypes_Get. attributeValues answer the type's Offering attributes (a Select sends one entry per option carried) and carriedVariantIds are variants of the type. Refused when a required Offering attribute has no value. Add its rate cards afterwards with Resources_AddProviderOfferingRateCard. Needs the resource inventory edit permission.

Request Body

FieldTypeRequiredDescription
collaboratorRecordIduuidOptional
resourceTypeIduuidOptional
labelstringOptional
attributeValuesCreateProviderOfferingRequestAttributeValue[]Optional
carriedVariantIdsuuid[]Optional

CreateProviderOfferingRequestAttributeValue

FieldTypeDescription
resourceAttributeIduuid
valueJsonElement| null

Response

Type: uuid