# Create licensee

Creates a new licensee object.

## Create licensee

> Create licensee.\
> Available for Client and Operations accounts.\
> Accepts application/json or multipart/form-data (with optional icon).\
> Creates a licensee to link Buyer and Seller.\
> Returns the created licensee object.

```json
{"openapi":"3.0.1","info":{"title":"Marketplace API","version":"5.0.5202-gabed2ddc"},"servers":[{"url":"https://api.platform.softwareone.com"}],"paths":{"/public/v1/accounts/licensees":{"post":{"tags":["Licensees"],"summary":"Create licensee","description":"Create licensee.\nAvailable for Client and Operations accounts.\nAccepts application/json or multipart/form-data (with optional icon).\nCreates a licensee to link Buyer and Seller.\nReturns the created licensee object.","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"licensee":{"type":"object","properties":{"ExternalId":{"type":"string"},"Status":{"allOf":[{"$ref":"#/components/schemas/LicenseeStatus"}]},"Address.AddressLine1":{"type":"string"},"Address.AddressLine2":{"type":"string"},"Address.PostCode":{"type":"string"},"Address.City":{"type":"string"},"Address.State":{"type":"string"},"Address.Country":{"type":"string"},"UseBuyerAddress":{"type":"boolean"},"Description":{"type":"string"},"Account.ExternalIds.PyraTenantId":{"type":"string","format":"uuid"},"Account.ExternalId":{"type":"string"},"Account.ExternalName":{"type":"string"},"Account.Address.AddressLine1":{"type":"string"},"Account.Address.AddressLine2":{"type":"string"},"Account.Address.PostCode":{"type":"string"},"Account.Address.City":{"type":"string"},"Account.Address.State":{"type":"string"},"Account.Address.Country":{"type":"string"},"Account.TechnicalSupportEmail":{"type":"string"},"Account.Website":{"type":"string"},"Account.Description":{"type":"string"},"Account.Groups":{"type":"array","items":{"$ref":"#/components/schemas/UserGroupQueryModel"}},"Account.Eligibility.Client":{"type":"boolean"},"Account.Eligibility.Partner":{"type":"boolean"},"Account.DefaultLanguageCode":{"type":"string"},"Account.Type":{"allOf":[{"$ref":"#/components/schemas/AccountType"}]},"Account.Status":{"allOf":[{"$ref":"#/components/schemas/AccountStatus"}]},"Account.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Account.Name":{"type":"string"},"Account.Icon":{"type":"string"},"Account.Revision":{"type":"integer","format":"int32"},"Account.Audit.Created.At":{"type":"string","format":"date-time"},"Account.Audit.Created.ById":{"type":"string"},"Account.Audit.Created.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Account.Audit.Created.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Account.Audit.Created.By.Name":{"type":"string"},"Account.Audit.Created.By.Icon":{"type":"string"},"Account.Audit.Created.By.Revision":{"type":"integer","format":"int32"},"Account.Audit.Created.By.Audit.Created":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}]},"Account.Audit.Created.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Account.Audit.Created.By.Audit.Updated.ById":{"type":"string"},"Account.Audit.Created.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Account.Audit.Created.By.Id":{"type":"string"},"Account.Audit.Updated.At":{"type":"string","format":"date-time"},"Account.Audit.Updated.ById":{"type":"string"},"Account.Audit.Updated.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Account.Audit.Updated.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Account.Audit.Updated.By.Name":{"type":"string"},"Account.Audit.Updated.By.Icon":{"type":"string"},"Account.Audit.Updated.By.Revision":{"type":"integer","format":"int32"},"Account.Audit.Updated.By.Audit.Created.At":{"type":"string","format":"date-time"},"Account.Audit.Updated.By.Audit.Created.ById":{"type":"string"},"Account.Audit.Updated.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Account.Audit.Updated.By.Audit.Updated":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}]},"Account.Audit.Updated.By.Id":{"type":"string"},"Account.Id":{"type":"string"},"Buyer.ExternalIds.ErpCompanyContact":{"type":"string"},"Buyer.ExternalIds.ErpCustomer":{"type":"string"},"Buyer.ExternalIds.AccountExternalId":{"type":"string"},"Buyer.Status":{"allOf":[{"$ref":"#/components/schemas/BuyerStatus"}]},"Buyer.Address.AddressLine1":{"type":"string"},"Buyer.Address.AddressLine2":{"type":"string"},"Buyer.Address.PostCode":{"type":"string"},"Buyer.Address.City":{"type":"string"},"Buyer.Address.State":{"type":"string"},"Buyer.Address.Country":{"type":"string"},"Buyer.TaxId":{"type":"string"},"Buyer.Account.ExternalIds.PyraTenantId":{"type":"string","format":"uuid"},"Buyer.Account.ExternalId":{"type":"string"},"Buyer.Account.ExternalName":{"type":"string"},"Buyer.Account.Address.AddressLine1":{"type":"string"},"Buyer.Account.Address.AddressLine2":{"type":"string"},"Buyer.Account.Address.PostCode":{"type":"string"},"Buyer.Account.Address.City":{"type":"string"},"Buyer.Account.Address.State":{"type":"string"},"Buyer.Account.Address.Country":{"type":"string"},"Buyer.Account.TechnicalSupportEmail":{"type":"string"},"Buyer.Account.Website":{"type":"string"},"Buyer.Account.Description":{"type":"string"},"Buyer.Account.Groups":{"type":"array","items":{"$ref":"#/components/schemas/UserGroupQueryModel"}},"Buyer.Account.Eligibility.Client":{"type":"boolean"},"Buyer.Account.Eligibility.Partner":{"type":"boolean"},"Buyer.Account.DefaultLanguageCode":{"type":"string"},"Buyer.Account.Type":{"allOf":[{"$ref":"#/components/schemas/AccountType"}]},"Buyer.Account.Status":{"allOf":[{"$ref":"#/components/schemas/AccountStatus"}]},"Buyer.Account.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Buyer.Account.Name":{"type":"string"},"Buyer.Account.Icon":{"type":"string"},"Buyer.Account.Revision":{"type":"integer","format":"int32"},"Buyer.Account.Audit.Created.At":{"type":"string","format":"date-time"},"Buyer.Account.Audit.Created.ById":{"type":"string"},"Buyer.Account.Audit.Created.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Buyer.Account.Audit.Created.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Buyer.Account.Audit.Created.By.Name":{"type":"string"},"Buyer.Account.Audit.Created.By.Icon":{"type":"string"},"Buyer.Account.Audit.Created.By.Revision":{"type":"integer","format":"int32"},"Buyer.Account.Audit.Created.By.Audit.Created":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}]},"Buyer.Account.Audit.Created.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Buyer.Account.Audit.Created.By.Audit.Updated.ById":{"type":"string"},"Buyer.Account.Audit.Created.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Buyer.Account.Audit.Created.By.Id":{"type":"string"},"Buyer.Account.Audit.Updated.At":{"type":"string","format":"date-time"},"Buyer.Account.Audit.Updated.ById":{"type":"string"},"Buyer.Account.Audit.Updated.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Buyer.Account.Audit.Updated.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Buyer.Account.Audit.Updated.By.Name":{"type":"string"},"Buyer.Account.Audit.Updated.By.Icon":{"type":"string"},"Buyer.Account.Audit.Updated.By.Revision":{"type":"integer","format":"int32"},"Buyer.Account.Audit.Updated.By.Audit.Created.At":{"type":"string","format":"date-time"},"Buyer.Account.Audit.Updated.By.Audit.Created.ById":{"type":"string"},"Buyer.Account.Audit.Updated.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Buyer.Account.Audit.Updated.By.Audit.Updated":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}]},"Buyer.Account.Audit.Updated.By.Id":{"type":"string"},"Buyer.Account.Id":{"type":"string"},"Buyer.Errors":{"type":"array","items":{"$ref":"#/components/schemas/ParametrisedMessage"}},"Buyer.Sellers":{"type":"array","items":{"$ref":"#/components/schemas/Seller"}},"Buyer.ErpLinks":{"type":"array","items":{"$ref":"#/components/schemas/ErpLink"}},"Buyer.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Buyer.Name":{"type":"string"},"Buyer.Icon":{"type":"string"},"Buyer.Revision":{"type":"integer","format":"int32"},"Buyer.Audit.Activated.At":{"type":"string","format":"date-time"},"Buyer.Audit.Activated.ById":{"type":"string"},"Buyer.Audit.Activated.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Buyer.Audit.Activated.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Buyer.Audit.Activated.By.Name":{"type":"string"},"Buyer.Audit.Activated.By.Icon":{"type":"string"},"Buyer.Audit.Activated.By.Revision":{"type":"integer","format":"int32"},"Buyer.Audit.Activated.By.Audit.Created.At":{"type":"string","format":"date-time"},"Buyer.Audit.Activated.By.Audit.Created.ById":{"type":"string"},"Buyer.Audit.Activated.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Buyer.Audit.Activated.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Buyer.Audit.Activated.By.Audit.Updated.ById":{"type":"string"},"Buyer.Audit.Activated.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Buyer.Audit.Activated.By.Id":{"type":"string"},"Buyer.Audit.Unassigned.At":{"type":"string","format":"date-time"},"Buyer.Audit.Unassigned.ById":{"type":"string"},"Buyer.Audit.Unassigned.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Buyer.Audit.Unassigned.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Buyer.Audit.Unassigned.By.Name":{"type":"string"},"Buyer.Audit.Unassigned.By.Icon":{"type":"string"},"Buyer.Audit.Unassigned.By.Revision":{"type":"integer","format":"int32"},"Buyer.Audit.Unassigned.By.Audit.Created.At":{"type":"string","format":"date-time"},"Buyer.Audit.Unassigned.By.Audit.Created.ById":{"type":"string"},"Buyer.Audit.Unassigned.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Buyer.Audit.Unassigned.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Buyer.Audit.Unassigned.By.Audit.Updated.ById":{"type":"string"},"Buyer.Audit.Unassigned.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Buyer.Audit.Unassigned.By.Id":{"type":"string"},"Buyer.Audit.Disabled.At":{"type":"string","format":"date-time"},"Buyer.Audit.Disabled.ById":{"type":"string"},"Buyer.Audit.Disabled.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Buyer.Audit.Disabled.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Buyer.Audit.Disabled.By.Name":{"type":"string"},"Buyer.Audit.Disabled.By.Icon":{"type":"string"},"Buyer.Audit.Disabled.By.Revision":{"type":"integer","format":"int32"},"Buyer.Audit.Disabled.By.Audit.Created.At":{"type":"string","format":"date-time"},"Buyer.Audit.Disabled.By.Audit.Created.ById":{"type":"string"},"Buyer.Audit.Disabled.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Buyer.Audit.Disabled.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Buyer.Audit.Disabled.By.Audit.Updated.ById":{"type":"string"},"Buyer.Audit.Disabled.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Buyer.Audit.Disabled.By.Id":{"type":"string"},"Buyer.Audit.Created.At":{"type":"string","format":"date-time"},"Buyer.Audit.Created.ById":{"type":"string"},"Buyer.Audit.Created.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Buyer.Audit.Created.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Buyer.Audit.Created.By.Name":{"type":"string"},"Buyer.Audit.Created.By.Icon":{"type":"string"},"Buyer.Audit.Created.By.Revision":{"type":"integer","format":"int32"},"Buyer.Audit.Created.By.Audit.Created.At":{"type":"string","format":"date-time"},"Buyer.Audit.Created.By.Audit.Created.ById":{"type":"string"},"Buyer.Audit.Created.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Buyer.Audit.Created.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Buyer.Audit.Created.By.Audit.Updated.ById":{"type":"string"},"Buyer.Audit.Created.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Buyer.Audit.Created.By.Id":{"type":"string"},"Buyer.Audit.Updated.At":{"type":"string","format":"date-time"},"Buyer.Audit.Updated.ById":{"type":"string"},"Buyer.Audit.Updated.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Buyer.Audit.Updated.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Buyer.Audit.Updated.By.Name":{"type":"string"},"Buyer.Audit.Updated.By.Icon":{"type":"string"},"Buyer.Audit.Updated.By.Revision":{"type":"integer","format":"int32"},"Buyer.Audit.Updated.By.Audit.Created.At":{"type":"string","format":"date-time"},"Buyer.Audit.Updated.By.Audit.Created.ById":{"type":"string"},"Buyer.Audit.Updated.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Buyer.Audit.Updated.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Buyer.Audit.Updated.By.Audit.Updated.ById":{"type":"string"},"Buyer.Audit.Updated.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Buyer.Audit.Updated.By.Id":{"type":"string"},"Buyer.Id":{"type":"string"},"Seller.ExternalId":{"type":"string"},"Seller.Status":{"allOf":[{"$ref":"#/components/schemas/SellerStatus"}]},"Seller.Currencies":{"type":"array","items":{"$ref":"#/components/schemas/SellerCurrency"}},"Seller.Address.AddressLine1":{"type":"string"},"Seller.Address.AddressLine2":{"type":"string"},"Seller.Address.PostCode":{"type":"string"},"Seller.Address.City":{"type":"string"},"Seller.Address.State":{"type":"string"},"Seller.Address.Country":{"type":"string"},"Seller.Buyers":{"type":"array","items":{"$ref":"#/components/schemas/Buyer"}},"Seller.ErpLink.Buyer.ExternalIds.ErpCompanyContact":{"type":"string"},"Seller.ErpLink.Buyer.ExternalIds.ErpCustomer":{"type":"string"},"Seller.ErpLink.Buyer.ExternalIds.AccountExternalId":{"type":"string"},"Seller.ErpLink.Buyer.Status":{"allOf":[{"$ref":"#/components/schemas/BuyerStatus"}]},"Seller.ErpLink.Buyer.Address.AddressLine1":{"type":"string"},"Seller.ErpLink.Buyer.Address.AddressLine2":{"type":"string"},"Seller.ErpLink.Buyer.Address.PostCode":{"type":"string"},"Seller.ErpLink.Buyer.Address.City":{"type":"string"},"Seller.ErpLink.Buyer.Address.State":{"type":"string"},"Seller.ErpLink.Buyer.Address.Country":{"type":"string"},"Seller.ErpLink.Buyer.TaxId":{"type":"string"},"Seller.ErpLink.Buyer.Account.ExternalIds.PyraTenantId":{"type":"string","format":"uuid"},"Seller.ErpLink.Buyer.Account.ExternalId":{"type":"string"},"Seller.ErpLink.Buyer.Account.ExternalName":{"type":"string"},"Seller.ErpLink.Buyer.Account.Address.AddressLine1":{"type":"string"},"Seller.ErpLink.Buyer.Account.Address.AddressLine2":{"type":"string"},"Seller.ErpLink.Buyer.Account.Address.PostCode":{"type":"string"},"Seller.ErpLink.Buyer.Account.Address.City":{"type":"string"},"Seller.ErpLink.Buyer.Account.Address.State":{"type":"string"},"Seller.ErpLink.Buyer.Account.Address.Country":{"type":"string"},"Seller.ErpLink.Buyer.Account.TechnicalSupportEmail":{"type":"string"},"Seller.ErpLink.Buyer.Account.Website":{"type":"string"},"Seller.ErpLink.Buyer.Account.Description":{"type":"string"},"Seller.ErpLink.Buyer.Account.Groups":{"type":"array","items":{"$ref":"#/components/schemas/UserGroupQueryModel"}},"Seller.ErpLink.Buyer.Account.Eligibility.Client":{"type":"boolean"},"Seller.ErpLink.Buyer.Account.Eligibility.Partner":{"type":"boolean"},"Seller.ErpLink.Buyer.Account.DefaultLanguageCode":{"type":"string"},"Seller.ErpLink.Buyer.Account.Type":{"allOf":[{"$ref":"#/components/schemas/AccountType"}]},"Seller.ErpLink.Buyer.Account.Status":{"allOf":[{"$ref":"#/components/schemas/AccountStatus"}]},"Seller.ErpLink.Buyer.Account.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Buyer.Account.Name":{"type":"string"},"Seller.ErpLink.Buyer.Account.Icon":{"type":"string"},"Seller.ErpLink.Buyer.Account.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Buyer.Account.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Account.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Buyer.Account.Audit.Created.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.ErpLink.Buyer.Account.Audit.Created.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Buyer.Account.Audit.Created.By.Name":{"type":"string"},"Seller.ErpLink.Buyer.Account.Audit.Created.By.Icon":{"type":"string"},"Seller.ErpLink.Buyer.Account.Audit.Created.By.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Buyer.Account.Audit.Created.By.Audit.Created":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}]},"Seller.ErpLink.Buyer.Account.Audit.Created.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Account.Audit.Created.By.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Buyer.Account.Audit.Created.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Buyer.Account.Audit.Created.By.Id":{"type":"string"},"Seller.ErpLink.Buyer.Account.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Account.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Buyer.Account.Audit.Updated.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.ErpLink.Buyer.Account.Audit.Updated.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Buyer.Account.Audit.Updated.By.Name":{"type":"string"},"Seller.ErpLink.Buyer.Account.Audit.Updated.By.Icon":{"type":"string"},"Seller.ErpLink.Buyer.Account.Audit.Updated.By.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Buyer.Account.Audit.Updated.By.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Account.Audit.Updated.By.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Buyer.Account.Audit.Updated.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Buyer.Account.Audit.Updated.By.Audit.Updated":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}]},"Seller.ErpLink.Buyer.Account.Audit.Updated.By.Id":{"type":"string"},"Seller.ErpLink.Buyer.Account.Id":{"type":"string"},"Seller.ErpLink.Buyer.Errors":{"type":"array","items":{"$ref":"#/components/schemas/ParametrisedMessage"}},"Seller.ErpLink.Buyer.Sellers":{"type":"array","items":{"$ref":"#/components/schemas/Seller"}},"Seller.ErpLink.Buyer.ErpLinks":{"type":"array","items":{"$ref":"#/components/schemas/ErpLink"}},"Seller.ErpLink.Buyer.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Buyer.Name":{"type":"string"},"Seller.ErpLink.Buyer.Icon":{"type":"string"},"Seller.ErpLink.Buyer.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Buyer.Audit.Activated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Activated.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Activated.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.ErpLink.Buyer.Audit.Activated.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Buyer.Audit.Activated.By.Name":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Activated.By.Icon":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Activated.By.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Buyer.Audit.Activated.By.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Activated.By.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Activated.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Buyer.Audit.Activated.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Activated.By.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Activated.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Buyer.Audit.Activated.By.Id":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Unassigned.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Unassigned.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Unassigned.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.ErpLink.Buyer.Audit.Unassigned.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Buyer.Audit.Unassigned.By.Name":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Unassigned.By.Icon":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Unassigned.By.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Buyer.Audit.Unassigned.By.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Unassigned.By.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Unassigned.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Buyer.Audit.Unassigned.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Unassigned.By.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Unassigned.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Buyer.Audit.Unassigned.By.Id":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Disabled.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Disabled.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Disabled.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.ErpLink.Buyer.Audit.Disabled.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Buyer.Audit.Disabled.By.Name":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Disabled.By.Icon":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Disabled.By.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Buyer.Audit.Disabled.By.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Disabled.By.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Disabled.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Buyer.Audit.Disabled.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Disabled.By.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Disabled.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Buyer.Audit.Disabled.By.Id":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Created.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.ErpLink.Buyer.Audit.Created.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Buyer.Audit.Created.By.Name":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Created.By.Icon":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Created.By.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Buyer.Audit.Created.By.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Created.By.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Created.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Buyer.Audit.Created.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Created.By.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Created.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Buyer.Audit.Created.By.Id":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Updated.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.ErpLink.Buyer.Audit.Updated.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Buyer.Audit.Updated.By.Name":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Updated.By.Icon":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Updated.By.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Buyer.Audit.Updated.By.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Updated.By.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Updated.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Buyer.Audit.Updated.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Buyer.Audit.Updated.By.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Buyer.Audit.Updated.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Buyer.Audit.Updated.By.Id":{"type":"string"},"Seller.ErpLink.Buyer.Id":{"type":"string"},"Seller.ErpLink.Seller.ExternalId":{"type":"string"},"Seller.ErpLink.Seller.Status":{"allOf":[{"$ref":"#/components/schemas/SellerStatus"}]},"Seller.ErpLink.Seller.Currencies":{"type":"array","items":{"$ref":"#/components/schemas/SellerCurrency"}},"Seller.ErpLink.Seller.Address.AddressLine1":{"type":"string"},"Seller.ErpLink.Seller.Address.AddressLine2":{"type":"string"},"Seller.ErpLink.Seller.Address.PostCode":{"type":"string"},"Seller.ErpLink.Seller.Address.City":{"type":"string"},"Seller.ErpLink.Seller.Address.State":{"type":"string"},"Seller.ErpLink.Seller.Address.Country":{"type":"string"},"Seller.ErpLink.Seller.Buyers":{"type":"array","items":{"$ref":"#/components/schemas/Buyer"}},"Seller.ErpLink.Seller.ErpLink":{"allOf":[{"$ref":"#/components/schemas/ErpLink"}]},"Seller.ErpLink.Seller.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Seller.Name":{"type":"string"},"Seller.ErpLink.Seller.Icon":{"type":"string"},"Seller.ErpLink.Seller.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Seller.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Seller.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Seller.Audit.Created.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.ErpLink.Seller.Audit.Created.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Seller.Audit.Created.By.Name":{"type":"string"},"Seller.ErpLink.Seller.Audit.Created.By.Icon":{"type":"string"},"Seller.ErpLink.Seller.Audit.Created.By.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Seller.Audit.Created.By.Audit.Created":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}]},"Seller.ErpLink.Seller.Audit.Created.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Seller.Audit.Created.By.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Seller.Audit.Created.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Seller.Audit.Created.By.Id":{"type":"string"},"Seller.ErpLink.Seller.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Seller.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Seller.Audit.Updated.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.ErpLink.Seller.Audit.Updated.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Seller.Audit.Updated.By.Name":{"type":"string"},"Seller.ErpLink.Seller.Audit.Updated.By.Icon":{"type":"string"},"Seller.ErpLink.Seller.Audit.Updated.By.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Seller.Audit.Updated.By.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Seller.Audit.Updated.By.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Seller.Audit.Updated.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Seller.Audit.Updated.By.Audit.Updated":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}]},"Seller.ErpLink.Seller.Audit.Updated.By.Id":{"type":"string"},"Seller.ErpLink.Seller.Id":{"type":"string"},"Seller.ErpLink.BuyerId":{"type":"string"},"Seller.ErpLink.SellerId":{"type":"string"},"Seller.ErpLink.CompanyName":{"type":"string"},"Seller.ErpLink.Status":{"allOf":[{"$ref":"#/components/schemas/ErpLinkStatus"}]},"Seller.ErpLink.Note":{"type":"string"},"Seller.ErpLink.ExternalIds.ErpCompanyContact":{"type":"string"},"Seller.ErpLink.ExternalIds.ErpCustomer":{"type":"string"},"Seller.ErpLink.ExternalIds.AccountExternalId":{"type":"string"},"Seller.ErpLink.Address.AddressLine1":{"type":"string"},"Seller.ErpLink.Address.AddressLine2":{"type":"string"},"Seller.ErpLink.Address.PostCode":{"type":"string"},"Seller.ErpLink.Address.City":{"type":"string"},"Seller.ErpLink.Address.State":{"type":"string"},"Seller.ErpLink.Address.Country":{"type":"string"},"Seller.ErpLink.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Name":{"type":"string"},"Seller.ErpLink.Icon":{"type":"string"},"Seller.ErpLink.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Audit.Blocked.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Audit.Blocked.ById":{"type":"string"},"Seller.ErpLink.Audit.Blocked.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.ErpLink.Audit.Blocked.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Audit.Blocked.By.Name":{"type":"string"},"Seller.ErpLink.Audit.Blocked.By.Icon":{"type":"string"},"Seller.ErpLink.Audit.Blocked.By.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Audit.Blocked.By.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Audit.Blocked.By.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Audit.Blocked.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Audit.Blocked.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Audit.Blocked.By.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Audit.Blocked.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Audit.Blocked.By.Id":{"type":"string"},"Seller.ErpLink.Audit.Unblocked.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Audit.Unblocked.ById":{"type":"string"},"Seller.ErpLink.Audit.Unblocked.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.ErpLink.Audit.Unblocked.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Audit.Unblocked.By.Name":{"type":"string"},"Seller.ErpLink.Audit.Unblocked.By.Icon":{"type":"string"},"Seller.ErpLink.Audit.Unblocked.By.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Audit.Unblocked.By.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Audit.Unblocked.By.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Audit.Unblocked.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Audit.Unblocked.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Audit.Unblocked.By.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Audit.Unblocked.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Audit.Unblocked.By.Id":{"type":"string"},"Seller.ErpLink.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Audit.Created.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.ErpLink.Audit.Created.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Audit.Created.By.Name":{"type":"string"},"Seller.ErpLink.Audit.Created.By.Icon":{"type":"string"},"Seller.ErpLink.Audit.Created.By.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Audit.Created.By.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Audit.Created.By.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Audit.Created.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Audit.Created.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Audit.Created.By.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Audit.Created.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Audit.Created.By.Id":{"type":"string"},"Seller.ErpLink.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Audit.Updated.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.ErpLink.Audit.Updated.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.ErpLink.Audit.Updated.By.Name":{"type":"string"},"Seller.ErpLink.Audit.Updated.By.Icon":{"type":"string"},"Seller.ErpLink.Audit.Updated.By.Revision":{"type":"integer","format":"int32"},"Seller.ErpLink.Audit.Updated.By.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Audit.Updated.By.Audit.Created.ById":{"type":"string"},"Seller.ErpLink.Audit.Updated.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Audit.Updated.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.ErpLink.Audit.Updated.By.Audit.Updated.ById":{"type":"string"},"Seller.ErpLink.Audit.Updated.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.ErpLink.Audit.Updated.By.Id":{"type":"string"},"Seller.ErpLink.Id":{"type":"string"},"Seller.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.Name":{"type":"string"},"Seller.Icon":{"type":"string"},"Seller.Revision":{"type":"integer","format":"int32"},"Seller.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.Audit.Created.ById":{"type":"string"},"Seller.Audit.Created.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.Audit.Created.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.Audit.Created.By.Name":{"type":"string"},"Seller.Audit.Created.By.Icon":{"type":"string"},"Seller.Audit.Created.By.Revision":{"type":"integer","format":"int32"},"Seller.Audit.Created.By.Audit.Created":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}]},"Seller.Audit.Created.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.Audit.Created.By.Audit.Updated.ById":{"type":"string"},"Seller.Audit.Created.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.Audit.Created.By.Id":{"type":"string"},"Seller.Audit.Updated.At":{"type":"string","format":"date-time"},"Seller.Audit.Updated.ById":{"type":"string"},"Seller.Audit.Updated.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Seller.Audit.Updated.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Seller.Audit.Updated.By.Name":{"type":"string"},"Seller.Audit.Updated.By.Icon":{"type":"string"},"Seller.Audit.Updated.By.Revision":{"type":"integer","format":"int32"},"Seller.Audit.Updated.By.Audit.Created.At":{"type":"string","format":"date-time"},"Seller.Audit.Updated.By.Audit.Created.ById":{"type":"string"},"Seller.Audit.Updated.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Seller.Audit.Updated.By.Audit.Updated":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}]},"Seller.Audit.Updated.By.Id":{"type":"string"},"Seller.Id":{"type":"string"},"Eligibility.Client":{"type":"boolean"},"Eligibility.Partner":{"type":"boolean"},"Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Name":{"type":"string"},"Icon":{"type":"string"},"Revision":{"type":"integer","format":"int32"},"Audit.Disabled.At":{"type":"string","format":"date-time"},"Audit.Disabled.ById":{"type":"string"},"Audit.Disabled.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Audit.Disabled.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Audit.Disabled.By.Name":{"type":"string"},"Audit.Disabled.By.Icon":{"type":"string"},"Audit.Disabled.By.Revision":{"type":"integer","format":"int32"},"Audit.Disabled.By.Audit.Created.At":{"type":"string","format":"date-time"},"Audit.Disabled.By.Audit.Created.ById":{"type":"string"},"Audit.Disabled.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Audit.Disabled.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Audit.Disabled.By.Audit.Updated.ById":{"type":"string"},"Audit.Disabled.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Audit.Disabled.By.Id":{"type":"string"},"Audit.Created.At":{"type":"string","format":"date-time"},"Audit.Created.ById":{"type":"string"},"Audit.Created.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Audit.Created.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Audit.Created.By.Name":{"type":"string"},"Audit.Created.By.Icon":{"type":"string"},"Audit.Created.By.Revision":{"type":"integer","format":"int32"},"Audit.Created.By.Audit.Created.At":{"type":"string","format":"date-time"},"Audit.Created.By.Audit.Created.ById":{"type":"string"},"Audit.Created.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Audit.Created.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Audit.Created.By.Audit.Updated.ById":{"type":"string"},"Audit.Created.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Audit.Created.By.Id":{"type":"string"},"Audit.Updated.At":{"type":"string","format":"date-time"},"Audit.Updated.ById":{"type":"string"},"Audit.Updated.By.Type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}]},"Audit.Updated.By.Metadata.OmittedProperties":{"type":"array","items":{"type":"string"}},"Audit.Updated.By.Name":{"type":"string"},"Audit.Updated.By.Icon":{"type":"string"},"Audit.Updated.By.Revision":{"type":"integer","format":"int32"},"Audit.Updated.By.Audit.Created.At":{"type":"string","format":"date-time"},"Audit.Updated.By.Audit.Created.ById":{"type":"string"},"Audit.Updated.By.Audit.Created.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Audit.Updated.By.Audit.Updated.At":{"type":"string","format":"date-time"},"Audit.Updated.By.Audit.Updated.ById":{"type":"string"},"Audit.Updated.By.Audit.Updated.By":{"allOf":[{"$ref":"#/components/schemas/PlatformIdentity"}]},"Audit.Updated.By.Id":{"type":"string"},"Id":{"type":"string"}},"description":"Json representation of the licensee"},"logo":{"type":"string","format":"binary"}}},"encoding":{"licensee":{"contentType":"application/json"},"logo":{"contentType":"application/octet-stream"}}},"application/json":{"schema":{"$ref":"#/components/schemas/LicenseeCreate"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Licensee"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}}},"components":{"schemas":{"LicenseeStatus":{"enum":["Active","Enabled","Disabled","Deleted"],"type":"string"},"UserGroupQueryModel":{"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectAudit"}]},"$meta":{"allOf":[{"$ref":"#/components/schemas/PlatformMetadata"}],"nullable":true},"name":{"type":"string"},"revision":{"type":"integer","format":"int32"},"description":{"type":"string","nullable":true},"account":{"type":"object","allOf":[{"$ref":"#/components/schemas/AccountRef"}]},"modules":{"type":"array","items":{"$ref":"#/components/schemas/ModuleRef"}},"logo":{"type":"string","nullable":true},"isDefault":{"type":"boolean"},"users":{"type":"array","items":{"$ref":"#/components/schemas/UserRef"}},"extensions":{"type":"array","items":{"$ref":"#/components/schemas/PlatformObjectAuditPlatformExtension"},"nullable":true},"buyers":{"type":"array","items":{"$ref":"#/components/schemas/BuyerRef"},"nullable":true}},"additionalProperties":false},"PlatformObjectAudit":{"type":"object","properties":{"created":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true},"updated":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true}},"additionalProperties":false},"PlatformObjectEvent":{"type":"object","properties":{"at":{"type":"string","format":"date-time","nullable":true},"by":{"type":"object","allOf":[{"$ref":"#/components/schemas/PlatformIdentityRef"}]}},"additionalProperties":false},"PlatformIdentityRef":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string","nullable":true},"revision":{"type":"integer","format":"int32"}},"additionalProperties":false},"PlatformMetadata":{"type":"object","properties":{"omitted":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"AccountRef":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string","nullable":true},"revision":{"type":"integer","format":"int32"},"type":{"allOf":[{"$ref":"#/components/schemas/AccountType"}],"nullable":true},"status":{"allOf":[{"$ref":"#/components/schemas/AccountStatus"}],"nullable":true}},"additionalProperties":false},"AccountType":{"enum":["Client","Vendor","Operations"],"type":"string"},"AccountStatus":{"enum":["Active","Enabled","Disabled"],"type":"string"},"ModuleRef":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"revision":{"type":"integer","format":"int32"},"description":{"type":"string"},"filters":{"allOf":[{"$ref":"#/components/schemas/Filters"}],"nullable":true},"settings":{"allOf":[{"$ref":"#/components/schemas/ModuleSettings"}],"nullable":true}},"additionalProperties":false},"Filters":{"type":"object","properties":{"group.buyers":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"ModuleSettings":{"type":"object","properties":{"sharedAccount":{"type":"boolean","deprecated":true},"configurable":{"type":"boolean"},"default":{"type":"boolean"},"paid":{"type":"boolean"},"type":{"type":"array","items":{"type":"string"}},"obsolete":{"type":"boolean"},"eligibility":{"allOf":[{"$ref":"#/components/schemas/ModuleSettingsEligibility"}],"nullable":true}},"additionalProperties":false},"ModuleSettingsEligibility":{"type":"object","properties":{"multi":{"type":"boolean"},"single":{"type":"boolean"}},"additionalProperties":false},"UserRef":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string","nullable":true},"revision":{"type":"integer","format":"int32"}},"additionalProperties":false},"PlatformObjectAuditPlatformExtension":{"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectAudit"}],"nullable":true},"$meta":{"allOf":[{"$ref":"#/components/schemas/PlatformMetadata"}],"nullable":true},"name":{"type":"string"},"icon":{"type":"string","nullable":true},"revision":{"type":"integer","format":"int32"},"status":{"enum":["Draft","Private","Public","Deleted"],"type":"string"}},"additionalProperties":false},"BuyerRef":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string","nullable":true},"revision":{"type":"integer","format":"int32"}},"additionalProperties":false},"IdentityType":{"enum":["User","ApiToken","Service","Extension"],"type":"string"},"PlatformIdentity":{"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectAudit"}]},"$meta":{"allOf":[{"$ref":"#/components/schemas/PlatformMetadata"}],"nullable":true},"name":{"type":"string"},"icon":{"type":"string","nullable":true},"revision":{"type":"integer","format":"int32"}},"additionalProperties":false},"BuyerStatus":{"enum":["Active","Enabled","Disabled","Deleted","Unassigned","Conflict","Mismatch"],"type":"string"},"ParametrisedMessage":{"type":"object","properties":{"id":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"parameters":{"nullable":true}},"additionalProperties":false},"Seller":{"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectAudit"}]},"$meta":{"allOf":[{"$ref":"#/components/schemas/PlatformMetadata"}],"nullable":true},"name":{"type":"string"},"icon":{"type":"string","nullable":true},"revision":{"type":"integer","format":"int32"},"externalId":{"type":"string","nullable":true},"status":{"allOf":[{"$ref":"#/components/schemas/SellerStatus"}],"nullable":true},"currencies":{"type":"array","items":{"$ref":"#/components/schemas/SellerCurrency"},"nullable":true},"address":{"allOf":[{"$ref":"#/components/schemas/Address"}]},"erpLink":{"type":"object","allOf":[{"$ref":"#/components/schemas/ErpLinkRef"}]}},"additionalProperties":false},"SellerStatus":{"enum":["Active","Disabled","Offline","Deleted"],"type":"string"},"SellerCurrency":{"type":"object","properties":{"value":{"type":"string"},"billingEnabled":{"type":"boolean"},"isDefault":{"type":"boolean"}},"additionalProperties":false},"Address":{"type":"object","properties":{"addressLine1":{"type":"string","nullable":true},"addressLine2":{"type":"string","nullable":true},"postCode":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"country":{"type":"string","nullable":true}},"additionalProperties":false},"ErpLinkRef":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string","nullable":true},"revision":{"type":"integer","format":"int32"},"companyName":{"type":"string","nullable":true},"status":{"allOf":[{"$ref":"#/components/schemas/ErpLinkStatus"}]}},"additionalProperties":false},"ErpLinkStatus":{"enum":["Active","Blocked"],"type":"string"},"ErpLink":{"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"$ref":"#/components/schemas/ErpLinkAudit"}]},"$meta":{"allOf":[{"$ref":"#/components/schemas/PlatformMetadata"}],"nullable":true},"name":{"type":"string"},"icon":{"type":"string","nullable":true},"revision":{"type":"integer","format":"int32"},"buyer":{"type":"object","allOf":[{"$ref":"#/components/schemas/BuyerRef"}]},"seller":{"type":"object","allOf":[{"$ref":"#/components/schemas/SellerRef"}]},"companyName":{"type":"string","nullable":true},"status":{"allOf":[{"$ref":"#/components/schemas/ErpLinkStatus"}]},"note":{"type":"string","nullable":true},"externalIds":{"allOf":[{"$ref":"#/components/schemas/BuyerExternalIds"}],"nullable":true},"address":{"allOf":[{"$ref":"#/components/schemas/Address"}],"nullable":true}},"additionalProperties":false},"ErpLinkAudit":{"type":"object","properties":{"created":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true},"updated":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true},"blocked":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true},"unblocked":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true}},"additionalProperties":false},"SellerRef":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string","nullable":true},"revision":{"type":"integer","format":"int32"},"externalId":{"type":"string","nullable":true}},"additionalProperties":false},"BuyerExternalIds":{"type":"object","properties":{"erpCompanyContact":{"type":"string","nullable":true},"erpCustomer":{"type":"string","nullable":true},"accountExternalId":{"type":"string","nullable":true}},"additionalProperties":false},"Buyer":{"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"$ref":"#/components/schemas/BuyerAudit"}]},"$meta":{"allOf":[{"$ref":"#/components/schemas/PlatformMetadata"}],"nullable":true},"name":{"type":"string"},"icon":{"type":"string","nullable":true},"revision":{"type":"integer","format":"int32"},"externalIds":{"allOf":[{"$ref":"#/components/schemas/BuyerExternalIds"}],"nullable":true},"status":{"allOf":[{"$ref":"#/components/schemas/BuyerStatus"}],"nullable":true},"address":{"allOf":[{"$ref":"#/components/schemas/Address"}],"nullable":true},"taxId":{"type":"string","nullable":true},"account":{"type":"object","allOf":[{"$ref":"#/components/schemas/AccountRef"}]},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ParametrisedMessage"},"nullable":true},"sellers":{"type":"array","items":{"$ref":"#/components/schemas/SellerRef"},"nullable":true}},"additionalProperties":false},"BuyerAudit":{"type":"object","properties":{"created":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true},"updated":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true},"activated":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true},"unassigned":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true},"disabled":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true}},"additionalProperties":false},"LicenseeCreate":{"required":["buyer","seller","useBuyerAddress"],"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"$ref":"#/components/schemas/LicenseeAudit"}]},"$meta":{"allOf":[{"$ref":"#/components/schemas/PlatformMetadata"}],"nullable":true},"name":{"maxLength":500,"type":"string"},"icon":{"maxLength":2000,"type":"string","nullable":true},"revision":{"type":"integer","format":"int32"},"externalId":{"maxLength":250,"type":"string","nullable":true},"status":{"allOf":[{"$ref":"#/components/schemas/LicenseeStatus"}],"nullable":true},"address":{"allOf":[{"$ref":"#/components/schemas/Address"}],"nullable":true},"useBuyerAddress":{"type":"boolean"},"description":{"maxLength":2000,"type":"string","nullable":true},"account":{"type":"object","allOf":[{"$ref":"#/components/schemas/AccountRef"}]},"buyer":{"type":"object","allOf":[{"$ref":"#/components/schemas/BuyerRef"}]},"seller":{"type":"object","allOf":[{"$ref":"#/components/schemas/SellerRef"}]},"eligibility":{"allOf":[{"$ref":"#/components/schemas/Eligibility"}],"nullable":true}},"additionalProperties":false},"LicenseeAudit":{"type":"object","properties":{"created":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true},"updated":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true},"disabled":{"allOf":[{"$ref":"#/components/schemas/PlatformObjectEvent"}],"nullable":true}},"additionalProperties":false},"Eligibility":{"type":"object","properties":{"client":{"type":"boolean"},"partner":{"type":"boolean"}},"additionalProperties":false},"Licensee":{"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"$ref":"#/components/schemas/LicenseeAudit"}]},"$meta":{"allOf":[{"$ref":"#/components/schemas/PlatformMetadata"}],"nullable":true},"name":{"type":"string"},"icon":{"type":"string","nullable":true},"revision":{"type":"integer","format":"int32"},"externalId":{"type":"string","nullable":true},"status":{"allOf":[{"$ref":"#/components/schemas/LicenseeStatus"}],"nullable":true},"address":{"allOf":[{"$ref":"#/components/schemas/Address"}],"nullable":true},"useBuyerAddress":{"type":"boolean","nullable":true},"description":{"type":"string","nullable":true},"account":{"type":"object","allOf":[{"$ref":"#/components/schemas/AccountRef"}]},"buyer":{"type":"object","allOf":[{"$ref":"#/components/schemas/BuyerRef"}]},"seller":{"type":"object","allOf":[{"$ref":"#/components/schemas/SellerRef"}]},"eligibility":{"allOf":[{"$ref":"#/components/schemas/Eligibility"}],"nullable":true}},"additionalProperties":false},"ProblemDetails":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}}}}}
```
