action billbee_customer_create { label: "Creates a new customer" provider: billbee method: POST path: "/api/v1/customers" encoding: form input: { type: "object" properties: { Address: { type: "object" description: "Container for passing address data" properties: { AddressAddition: { type: "string" } AddressType: { type: "integer" format: "int32" description: "The type of the address" enum: [1, 2] } ArchivedAt: { type: "string" format: "date-time" description: "If set, the customeraddress was already archived at the given date. Further modification is disabled." } City: { type: "string" } Company: { type: "string" description: "The name of the company" } CountryCode: { type: "string" description: "The ISO2 code of the country" } CustomerId: { type: "integer" format: "int64" description: "The internal Billbee id of the customer the address belongs to" } Email: { type: "string" } Fax: { type: "string" } FirstName: { type: "string" } Housenumber: { type: "string" } Id: { type: "integer" format: "int64" description: "The internal Billbee ID of the address record. Can be null if a new address is created" } LastName: { type: "string" } Name2: { type: "string" description: "Optionally an additional name field" } RestoredAt: { type: "string" format: "date-time" description: "If set, the customeraddress was restored from the archive at the given date." } State: { type: "string" } Street: { type: "string" } Tel1: { type: "string" } Tel2: { type: "string" } Zip: { type: "string" } } } ArchivedAt: { type: "string" format: "date-time" description: "If set, the customer was already archived at the given date. Further modification is disabled." } DefaultCommercialMailAddress: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } DefaultFax: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } DefaultMailAddress: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } DefaultPhone1: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } DefaultPhone2: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } DefaultStatusUpdatesMailAddress: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } Email: { type: "string" } Id: { type: "integer" format: "int64" description: "The Billbee Id of the customer" } LanguageId: { type: "integer" format: "int32" } MetaData: { type: "array" items: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } } Name: { type: "string" } Number: { type: "integer" format: "int32" } PriceGroupId: { type: "integer" format: "int64" } RestoredAt: { type: "string" format: "date-time" description: "If set, the customer was restored from the archive at the given date." } Tel1: { type: "string" } Tel2: { type: "string" } Type: { type: "integer" format: "int32" description: "Customer Type" } VatId: { type: "string" description: "The vat-id, that should be saved at the customer. Only used if CustomerVatId is not set on the order." } } } output: { type: "object" properties: { Data: { type: "object" properties: { ArchivedAt: { type: "string" format: "date-time" description: "If set, the customer was already archived at the given date. Further modification is disabled." } DefaultCommercialMailAddress: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } DefaultFax: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } DefaultMailAddress: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } DefaultPhone1: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } DefaultPhone2: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } DefaultStatusUpdatesMailAddress: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } Email: { type: "string" } Id: { type: "integer" format: "int64" description: "The Billbee Id of the customer" } LanguageId: { type: "integer" format: "int32" } MetaData: { type: "array" items: { type: "object" properties: { Id: { type: "integer" format: "int64" } SubType: { type: "string" } TypeId: { type: "integer" format: "int64" } TypeName: { type: "string" } Value: { type: "string" } } } } Name: { type: "string" } Number: { type: "integer" format: "int32" } PriceGroupId: { type: "integer" format: "int64" } RestoredAt: { type: "string" format: "date-time" description: "If set, the customer was restored from the archive at the given date." } Tel1: { type: "string" } Tel2: { type: "string" } Type: { type: "integer" format: "int32" description: "Customer Type" } VatId: { type: "string" description: "The vat-id, that should be saved at the customer. Only used if CustomerVatId is not set on the order." } } } ErrorCode: { type: "integer" format: "int32" enum: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28] } ErrorDescription: { type: "integer" format: "int32" enum: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28] } ErrorMessage: { type: "string" } } } }