commercetools.BusinessUnitCompany
Explore with Pulumi AI
Business Unit type to represent the top level of a business. Contains specific fields and values that differentiate a company from the generic business unit.
See also the Business Unit API Documentation User-defined unique key for the company. Must be unique within the project. Updating this value is not supported.
- name(String) The name of the company.
Create BusinessUnitCompany Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BusinessUnitCompany(name: string, args: BusinessUnitCompanyArgs, opts?: CustomResourceOptions);@overload
def BusinessUnitCompany(resource_name: str,
                        args: BusinessUnitCompanyArgs,
                        opts: Optional[ResourceOptions] = None)
@overload
def BusinessUnitCompany(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        key: Optional[str] = None,
                        addresses: Optional[Sequence[BusinessUnitCompanyAddressArgs]] = None,
                        billing_address_keys: Optional[Sequence[str]] = None,
                        contact_email: Optional[str] = None,
                        custom: Optional[BusinessUnitCompanyCustomArgs] = None,
                        default_billing_address_key: Optional[str] = None,
                        default_shipping_address_key: Optional[str] = None,
                        name: Optional[str] = None,
                        shipping_address_keys: Optional[Sequence[str]] = None,
                        status: Optional[str] = None,
                        stores: Optional[Sequence[BusinessUnitCompanyStoreArgs]] = None)func NewBusinessUnitCompany(ctx *Context, name string, args BusinessUnitCompanyArgs, opts ...ResourceOption) (*BusinessUnitCompany, error)public BusinessUnitCompany(string name, BusinessUnitCompanyArgs args, CustomResourceOptions? opts = null)
public BusinessUnitCompany(String name, BusinessUnitCompanyArgs args)
public BusinessUnitCompany(String name, BusinessUnitCompanyArgs args, CustomResourceOptions options)
type: commercetools:BusinessUnitCompany
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BusinessUnitCompanyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BusinessUnitCompanyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BusinessUnitCompanyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BusinessUnitCompanyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BusinessUnitCompanyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var businessUnitCompanyResource = new Commercetools.BusinessUnitCompany("businessUnitCompanyResource", new()
{
    Key = "string",
    Addresses = new[]
    {
        new Commercetools.Inputs.BusinessUnitCompanyAddressArgs
        {
            Country = "string",
            Key = "string",
            Id = "string",
            Title = "string",
            AdditionalAddressInfo = "string",
            Company = "string",
            Apartment = "string",
            Department = "string",
            Email = "string",
            ExternalId = "string",
            Fax = "string",
            LastName = "string",
            City = "string",
            Building = "string",
            FirstName = "string",
            Mobile = "string",
            Phone = "string",
            PoBox = "string",
            PostalCode = "string",
            Region = "string",
            Salutation = "string",
            State = "string",
            StreetName = "string",
            StreetNumber = "string",
            AdditionalStreetInfo = "string",
        },
    },
    BillingAddressKeys = new[]
    {
        "string",
    },
    ContactEmail = "string",
    Custom = new Commercetools.Inputs.BusinessUnitCompanyCustomArgs
    {
        Fields = 
        {
            { "string", "string" },
        },
        TypeId = "string",
    },
    DefaultBillingAddressKey = "string",
    DefaultShippingAddressKey = "string",
    Name = "string",
    ShippingAddressKeys = new[]
    {
        "string",
    },
    Status = "string",
    Stores = new[]
    {
        new Commercetools.Inputs.BusinessUnitCompanyStoreArgs
        {
            Key = "string",
        },
    },
});
example, err := commercetools.NewBusinessUnitCompany(ctx, "businessUnitCompanyResource", &commercetools.BusinessUnitCompanyArgs{
Key: pulumi.String("string"),
Addresses: .BusinessUnitCompanyAddressArray{
&.BusinessUnitCompanyAddressArgs{
Country: pulumi.String("string"),
Key: pulumi.String("string"),
Id: pulumi.String("string"),
Title: pulumi.String("string"),
AdditionalAddressInfo: pulumi.String("string"),
Company: pulumi.String("string"),
Apartment: pulumi.String("string"),
Department: pulumi.String("string"),
Email: pulumi.String("string"),
ExternalId: pulumi.String("string"),
Fax: pulumi.String("string"),
LastName: pulumi.String("string"),
City: pulumi.String("string"),
Building: pulumi.String("string"),
FirstName: pulumi.String("string"),
Mobile: pulumi.String("string"),
Phone: pulumi.String("string"),
PoBox: pulumi.String("string"),
PostalCode: pulumi.String("string"),
Region: pulumi.String("string"),
Salutation: pulumi.String("string"),
State: pulumi.String("string"),
StreetName: pulumi.String("string"),
StreetNumber: pulumi.String("string"),
AdditionalStreetInfo: pulumi.String("string"),
},
},
BillingAddressKeys: pulumi.StringArray{
pulumi.String("string"),
},
ContactEmail: pulumi.String("string"),
Custom: &.BusinessUnitCompanyCustomArgs{
Fields: pulumi.StringMap{
"string": pulumi.String("string"),
},
TypeId: pulumi.String("string"),
},
DefaultBillingAddressKey: pulumi.String("string"),
DefaultShippingAddressKey: pulumi.String("string"),
Name: pulumi.String("string"),
ShippingAddressKeys: pulumi.StringArray{
pulumi.String("string"),
},
Status: pulumi.String("string"),
Stores: .BusinessUnitCompanyStoreArray{
&.BusinessUnitCompanyStoreArgs{
Key: pulumi.String("string"),
},
},
})
var businessUnitCompanyResource = new BusinessUnitCompany("businessUnitCompanyResource", BusinessUnitCompanyArgs.builder()
    .key("string")
    .addresses(BusinessUnitCompanyAddressArgs.builder()
        .country("string")
        .key("string")
        .id("string")
        .title("string")
        .additionalAddressInfo("string")
        .company("string")
        .apartment("string")
        .department("string")
        .email("string")
        .externalId("string")
        .fax("string")
        .lastName("string")
        .city("string")
        .building("string")
        .firstName("string")
        .mobile("string")
        .phone("string")
        .poBox("string")
        .postalCode("string")
        .region("string")
        .salutation("string")
        .state("string")
        .streetName("string")
        .streetNumber("string")
        .additionalStreetInfo("string")
        .build())
    .billingAddressKeys("string")
    .contactEmail("string")
    .custom(BusinessUnitCompanyCustomArgs.builder()
        .fields(Map.of("string", "string"))
        .typeId("string")
        .build())
    .defaultBillingAddressKey("string")
    .defaultShippingAddressKey("string")
    .name("string")
    .shippingAddressKeys("string")
    .status("string")
    .stores(BusinessUnitCompanyStoreArgs.builder()
        .key("string")
        .build())
    .build());
business_unit_company_resource = commercetools.BusinessUnitCompany("businessUnitCompanyResource",
    key="string",
    addresses=[{
        "country": "string",
        "key": "string",
        "id": "string",
        "title": "string",
        "additional_address_info": "string",
        "company": "string",
        "apartment": "string",
        "department": "string",
        "email": "string",
        "external_id": "string",
        "fax": "string",
        "last_name": "string",
        "city": "string",
        "building": "string",
        "first_name": "string",
        "mobile": "string",
        "phone": "string",
        "po_box": "string",
        "postal_code": "string",
        "region": "string",
        "salutation": "string",
        "state": "string",
        "street_name": "string",
        "street_number": "string",
        "additional_street_info": "string",
    }],
    billing_address_keys=["string"],
    contact_email="string",
    custom={
        "fields": {
            "string": "string",
        },
        "type_id": "string",
    },
    default_billing_address_key="string",
    default_shipping_address_key="string",
    name="string",
    shipping_address_keys=["string"],
    status="string",
    stores=[{
        "key": "string",
    }])
const businessUnitCompanyResource = new commercetools.BusinessUnitCompany("businessUnitCompanyResource", {
    key: "string",
    addresses: [{
        country: "string",
        key: "string",
        id: "string",
        title: "string",
        additionalAddressInfo: "string",
        company: "string",
        apartment: "string",
        department: "string",
        email: "string",
        externalId: "string",
        fax: "string",
        lastName: "string",
        city: "string",
        building: "string",
        firstName: "string",
        mobile: "string",
        phone: "string",
        poBox: "string",
        postalCode: "string",
        region: "string",
        salutation: "string",
        state: "string",
        streetName: "string",
        streetNumber: "string",
        additionalStreetInfo: "string",
    }],
    billingAddressKeys: ["string"],
    contactEmail: "string",
    custom: {
        fields: {
            string: "string",
        },
        typeId: "string",
    },
    defaultBillingAddressKey: "string",
    defaultShippingAddressKey: "string",
    name: "string",
    shippingAddressKeys: ["string"],
    status: "string",
    stores: [{
        key: "string",
    }],
});
type: commercetools:BusinessUnitCompany
properties:
    addresses:
        - additionalAddressInfo: string
          additionalStreetInfo: string
          apartment: string
          building: string
          city: string
          company: string
          country: string
          department: string
          email: string
          externalId: string
          fax: string
          firstName: string
          id: string
          key: string
          lastName: string
          mobile: string
          phone: string
          poBox: string
          postalCode: string
          region: string
          salutation: string
          state: string
          streetName: string
          streetNumber: string
          title: string
    billingAddressKeys:
        - string
    contactEmail: string
    custom:
        fields:
            string: string
        typeId: string
    defaultBillingAddressKey: string
    defaultShippingAddressKey: string
    key: string
    name: string
    shippingAddressKeys:
        - string
    status: string
    stores:
        - key: string
BusinessUnitCompany Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BusinessUnitCompany resource accepts the following input properties:
- Key string
- User-defined unique key for the company. Must be unique within the project. Updating this value is not supported.
- Addresses
List<BusinessUnit Company Address> 
- Addresses used by the Business Unit.
- BillingAddress List<string>Keys 
- Indexes of entries in addresses to set as billing addresses. The billingAddressIds of the Customer will be replaced by these addresses.
- ContactEmail string
- The email address of the company.
- Custom
BusinessUnit Company Custom 
- Custom fields for this resource.
- DefaultBilling stringAddress Key 
- Index of the entry in addresses to set as the default billing address.
- DefaultShipping stringAddress Key 
- Index of the entry in addresses to set as the default shipping address.
- Name string
- The name of the company.
- ShippingAddress List<string>Keys 
- Indexes of entries in addresses to set as shipping addresses. The shippingAddressIds of the Customer will be replaced by these addresses.
- Status string
- The status of the company.
- Stores
List<BusinessUnit Company Store> 
- Sets the Stores the Business Unit is associated with. If the Business Unit has Stores defined, then all of its Carts, Orders, Quotes, or Quote Requests must belong to one of the Business Unit's Stores. If the Business Unit has no Stores, then all of its Carts, Orders, Quotes, or Quote Requests must not belong to any Store.
- Key string
- User-defined unique key for the company. Must be unique within the project. Updating this value is not supported.
- Addresses
[]BusinessUnit Company Address Args 
- Addresses used by the Business Unit.
- BillingAddress []stringKeys 
- Indexes of entries in addresses to set as billing addresses. The billingAddressIds of the Customer will be replaced by these addresses.
- ContactEmail string
- The email address of the company.
- Custom
BusinessUnit Company Custom Args 
- Custom fields for this resource.
- DefaultBilling stringAddress Key 
- Index of the entry in addresses to set as the default billing address.
- DefaultShipping stringAddress Key 
- Index of the entry in addresses to set as the default shipping address.
- Name string
- The name of the company.
- ShippingAddress []stringKeys 
- Indexes of entries in addresses to set as shipping addresses. The shippingAddressIds of the Customer will be replaced by these addresses.
- Status string
- The status of the company.
- Stores
[]BusinessUnit Company Store Args 
- Sets the Stores the Business Unit is associated with. If the Business Unit has Stores defined, then all of its Carts, Orders, Quotes, or Quote Requests must belong to one of the Business Unit's Stores. If the Business Unit has no Stores, then all of its Carts, Orders, Quotes, or Quote Requests must not belong to any Store.
- key String
- User-defined unique key for the company. Must be unique within the project. Updating this value is not supported.
- addresses
List<BusinessUnit Company Address> 
- Addresses used by the Business Unit.
- billingAddress List<String>Keys 
- Indexes of entries in addresses to set as billing addresses. The billingAddressIds of the Customer will be replaced by these addresses.
- contactEmail String
- The email address of the company.
- custom
BusinessUnit Company Custom 
- Custom fields for this resource.
- defaultBilling StringAddress Key 
- Index of the entry in addresses to set as the default billing address.
- defaultShipping StringAddress Key 
- Index of the entry in addresses to set as the default shipping address.
- name String
- The name of the company.
- shippingAddress List<String>Keys 
- Indexes of entries in addresses to set as shipping addresses. The shippingAddressIds of the Customer will be replaced by these addresses.
- status String
- The status of the company.
- stores
List<BusinessUnit Company Store> 
- Sets the Stores the Business Unit is associated with. If the Business Unit has Stores defined, then all of its Carts, Orders, Quotes, or Quote Requests must belong to one of the Business Unit's Stores. If the Business Unit has no Stores, then all of its Carts, Orders, Quotes, or Quote Requests must not belong to any Store.
- key string
- User-defined unique key for the company. Must be unique within the project. Updating this value is not supported.
- addresses
BusinessUnit Company Address[] 
- Addresses used by the Business Unit.
- billingAddress string[]Keys 
- Indexes of entries in addresses to set as billing addresses. The billingAddressIds of the Customer will be replaced by these addresses.
- contactEmail string
- The email address of the company.
- custom
BusinessUnit Company Custom 
- Custom fields for this resource.
- defaultBilling stringAddress Key 
- Index of the entry in addresses to set as the default billing address.
- defaultShipping stringAddress Key 
- Index of the entry in addresses to set as the default shipping address.
- name string
- The name of the company.
- shippingAddress string[]Keys 
- Indexes of entries in addresses to set as shipping addresses. The shippingAddressIds of the Customer will be replaced by these addresses.
- status string
- The status of the company.
- stores
BusinessUnit Company Store[] 
- Sets the Stores the Business Unit is associated with. If the Business Unit has Stores defined, then all of its Carts, Orders, Quotes, or Quote Requests must belong to one of the Business Unit's Stores. If the Business Unit has no Stores, then all of its Carts, Orders, Quotes, or Quote Requests must not belong to any Store.
- key str
- User-defined unique key for the company. Must be unique within the project. Updating this value is not supported.
- addresses
Sequence[BusinessUnit Company Address Args] 
- Addresses used by the Business Unit.
- billing_address_ Sequence[str]keys 
- Indexes of entries in addresses to set as billing addresses. The billingAddressIds of the Customer will be replaced by these addresses.
- contact_email str
- The email address of the company.
- custom
BusinessUnit Company Custom Args 
- Custom fields for this resource.
- default_billing_ straddress_ key 
- Index of the entry in addresses to set as the default billing address.
- default_shipping_ straddress_ key 
- Index of the entry in addresses to set as the default shipping address.
- name str
- The name of the company.
- shipping_address_ Sequence[str]keys 
- Indexes of entries in addresses to set as shipping addresses. The shippingAddressIds of the Customer will be replaced by these addresses.
- status str
- The status of the company.
- stores
Sequence[BusinessUnit Company Store Args] 
- Sets the Stores the Business Unit is associated with. If the Business Unit has Stores defined, then all of its Carts, Orders, Quotes, or Quote Requests must belong to one of the Business Unit's Stores. If the Business Unit has no Stores, then all of its Carts, Orders, Quotes, or Quote Requests must not belong to any Store.
- key String
- User-defined unique key for the company. Must be unique within the project. Updating this value is not supported.
- addresses List<Property Map>
- Addresses used by the Business Unit.
- billingAddress List<String>Keys 
- Indexes of entries in addresses to set as billing addresses. The billingAddressIds of the Customer will be replaced by these addresses.
- contactEmail String
- The email address of the company.
- custom Property Map
- Custom fields for this resource.
- defaultBilling StringAddress Key 
- Index of the entry in addresses to set as the default billing address.
- defaultShipping StringAddress Key 
- Index of the entry in addresses to set as the default shipping address.
- name String
- The name of the company.
- shippingAddress List<String>Keys 
- Indexes of entries in addresses to set as shipping addresses. The shippingAddressIds of the Customer will be replaced by these addresses.
- status String
- The status of the company.
- stores List<Property Map>
- Sets the Stores the Business Unit is associated with. If the Business Unit has Stores defined, then all of its Carts, Orders, Quotes, or Quote Requests must belong to one of the Business Unit's Stores. If the Business Unit has no Stores, then all of its Carts, Orders, Quotes, or Quote Requests must not belong to any Store.
Outputs
All input properties are implicitly available as output properties. Additionally, the BusinessUnitCompany resource produces the following output properties:
Look up Existing BusinessUnitCompany Resource
Get an existing BusinessUnitCompany resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BusinessUnitCompanyState, opts?: CustomResourceOptions): BusinessUnitCompany@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        addresses: Optional[Sequence[BusinessUnitCompanyAddressArgs]] = None,
        billing_address_keys: Optional[Sequence[str]] = None,
        contact_email: Optional[str] = None,
        custom: Optional[BusinessUnitCompanyCustomArgs] = None,
        default_billing_address_key: Optional[str] = None,
        default_shipping_address_key: Optional[str] = None,
        key: Optional[str] = None,
        name: Optional[str] = None,
        shipping_address_keys: Optional[Sequence[str]] = None,
        status: Optional[str] = None,
        stores: Optional[Sequence[BusinessUnitCompanyStoreArgs]] = None,
        version: Optional[float] = None) -> BusinessUnitCompanyfunc GetBusinessUnitCompany(ctx *Context, name string, id IDInput, state *BusinessUnitCompanyState, opts ...ResourceOption) (*BusinessUnitCompany, error)public static BusinessUnitCompany Get(string name, Input<string> id, BusinessUnitCompanyState? state, CustomResourceOptions? opts = null)public static BusinessUnitCompany get(String name, Output<String> id, BusinessUnitCompanyState state, CustomResourceOptions options)resources:  _:    type: commercetools:BusinessUnitCompany    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Addresses
List<BusinessUnit Company Address> 
- Addresses used by the Business Unit.
- BillingAddress List<string>Keys 
- Indexes of entries in addresses to set as billing addresses. The billingAddressIds of the Customer will be replaced by these addresses.
- ContactEmail string
- The email address of the company.
- Custom
BusinessUnit Company Custom 
- Custom fields for this resource.
- DefaultBilling stringAddress Key 
- Index of the entry in addresses to set as the default billing address.
- DefaultShipping stringAddress Key 
- Index of the entry in addresses to set as the default shipping address.
- Key string
- User-defined unique key for the company. Must be unique within the project. Updating this value is not supported.
- Name string
- The name of the company.
- ShippingAddress List<string>Keys 
- Indexes of entries in addresses to set as shipping addresses. The shippingAddressIds of the Customer will be replaced by these addresses.
- Status string
- The status of the company.
- Stores
List<BusinessUnit Company Store> 
- Sets the Stores the Business Unit is associated with. If the Business Unit has Stores defined, then all of its Carts, Orders, Quotes, or Quote Requests must belong to one of the Business Unit's Stores. If the Business Unit has no Stores, then all of its Carts, Orders, Quotes, or Quote Requests must not belong to any Store.
- Version double
- The current version of the company.
- Addresses
[]BusinessUnit Company Address Args 
- Addresses used by the Business Unit.
- BillingAddress []stringKeys 
- Indexes of entries in addresses to set as billing addresses. The billingAddressIds of the Customer will be replaced by these addresses.
- ContactEmail string
- The email address of the company.
- Custom
BusinessUnit Company Custom Args 
- Custom fields for this resource.
- DefaultBilling stringAddress Key 
- Index of the entry in addresses to set as the default billing address.
- DefaultShipping stringAddress Key 
- Index of the entry in addresses to set as the default shipping address.
- Key string
- User-defined unique key for the company. Must be unique within the project. Updating this value is not supported.
- Name string
- The name of the company.
- ShippingAddress []stringKeys 
- Indexes of entries in addresses to set as shipping addresses. The shippingAddressIds of the Customer will be replaced by these addresses.
- Status string
- The status of the company.
- Stores
[]BusinessUnit Company Store Args 
- Sets the Stores the Business Unit is associated with. If the Business Unit has Stores defined, then all of its Carts, Orders, Quotes, or Quote Requests must belong to one of the Business Unit's Stores. If the Business Unit has no Stores, then all of its Carts, Orders, Quotes, or Quote Requests must not belong to any Store.
- Version float64
- The current version of the company.
- addresses
List<BusinessUnit Company Address> 
- Addresses used by the Business Unit.
- billingAddress List<String>Keys 
- Indexes of entries in addresses to set as billing addresses. The billingAddressIds of the Customer will be replaced by these addresses.
- contactEmail String
- The email address of the company.
- custom
BusinessUnit Company Custom 
- Custom fields for this resource.
- defaultBilling StringAddress Key 
- Index of the entry in addresses to set as the default billing address.
- defaultShipping StringAddress Key 
- Index of the entry in addresses to set as the default shipping address.
- key String
- User-defined unique key for the company. Must be unique within the project. Updating this value is not supported.
- name String
- The name of the company.
- shippingAddress List<String>Keys 
- Indexes of entries in addresses to set as shipping addresses. The shippingAddressIds of the Customer will be replaced by these addresses.
- status String
- The status of the company.
- stores
List<BusinessUnit Company Store> 
- Sets the Stores the Business Unit is associated with. If the Business Unit has Stores defined, then all of its Carts, Orders, Quotes, or Quote Requests must belong to one of the Business Unit's Stores. If the Business Unit has no Stores, then all of its Carts, Orders, Quotes, or Quote Requests must not belong to any Store.
- version Double
- The current version of the company.
- addresses
BusinessUnit Company Address[] 
- Addresses used by the Business Unit.
- billingAddress string[]Keys 
- Indexes of entries in addresses to set as billing addresses. The billingAddressIds of the Customer will be replaced by these addresses.
- contactEmail string
- The email address of the company.
- custom
BusinessUnit Company Custom 
- Custom fields for this resource.
- defaultBilling stringAddress Key 
- Index of the entry in addresses to set as the default billing address.
- defaultShipping stringAddress Key 
- Index of the entry in addresses to set as the default shipping address.
- key string
- User-defined unique key for the company. Must be unique within the project. Updating this value is not supported.
- name string
- The name of the company.
- shippingAddress string[]Keys 
- Indexes of entries in addresses to set as shipping addresses. The shippingAddressIds of the Customer will be replaced by these addresses.
- status string
- The status of the company.
- stores
BusinessUnit Company Store[] 
- Sets the Stores the Business Unit is associated with. If the Business Unit has Stores defined, then all of its Carts, Orders, Quotes, or Quote Requests must belong to one of the Business Unit's Stores. If the Business Unit has no Stores, then all of its Carts, Orders, Quotes, or Quote Requests must not belong to any Store.
- version number
- The current version of the company.
- addresses
Sequence[BusinessUnit Company Address Args] 
- Addresses used by the Business Unit.
- billing_address_ Sequence[str]keys 
- Indexes of entries in addresses to set as billing addresses. The billingAddressIds of the Customer will be replaced by these addresses.
- contact_email str
- The email address of the company.
- custom
BusinessUnit Company Custom Args 
- Custom fields for this resource.
- default_billing_ straddress_ key 
- Index of the entry in addresses to set as the default billing address.
- default_shipping_ straddress_ key 
- Index of the entry in addresses to set as the default shipping address.
- key str
- User-defined unique key for the company. Must be unique within the project. Updating this value is not supported.
- name str
- The name of the company.
- shipping_address_ Sequence[str]keys 
- Indexes of entries in addresses to set as shipping addresses. The shippingAddressIds of the Customer will be replaced by these addresses.
- status str
- The status of the company.
- stores
Sequence[BusinessUnit Company Store Args] 
- Sets the Stores the Business Unit is associated with. If the Business Unit has Stores defined, then all of its Carts, Orders, Quotes, or Quote Requests must belong to one of the Business Unit's Stores. If the Business Unit has no Stores, then all of its Carts, Orders, Quotes, or Quote Requests must not belong to any Store.
- version float
- The current version of the company.
- addresses List<Property Map>
- Addresses used by the Business Unit.
- billingAddress List<String>Keys 
- Indexes of entries in addresses to set as billing addresses. The billingAddressIds of the Customer will be replaced by these addresses.
- contactEmail String
- The email address of the company.
- custom Property Map
- Custom fields for this resource.
- defaultBilling StringAddress Key 
- Index of the entry in addresses to set as the default billing address.
- defaultShipping StringAddress Key 
- Index of the entry in addresses to set as the default shipping address.
- key String
- User-defined unique key for the company. Must be unique within the project. Updating this value is not supported.
- name String
- The name of the company.
- shippingAddress List<String>Keys 
- Indexes of entries in addresses to set as shipping addresses. The shippingAddressIds of the Customer will be replaced by these addresses.
- status String
- The status of the company.
- stores List<Property Map>
- Sets the Stores the Business Unit is associated with. If the Business Unit has Stores defined, then all of its Carts, Orders, Quotes, or Quote Requests must belong to one of the Business Unit's Stores. If the Business Unit has no Stores, then all of its Carts, Orders, Quotes, or Quote Requests must not belong to any Store.
- version Number
- The current version of the company.
Supporting Types
BusinessUnitCompanyAddress, BusinessUnitCompanyAddressArgs        
- Country string
- Name of the country
- Key string
- User-defined identifier of the Address that must be unique when multiple addresses are referenced in BusinessUnits, Customers, and itemShippingAddresses (LineItem-specific addresses) of a Cart, Order, QuoteRequest, or Quote.
- AdditionalAddress stringInfo 
- Further information on the Address
- AdditionalStreet stringInfo 
- Further information on the street address
- Apartment string
- Name or number of the apartment
- Building string
- Name or number of the building
- City string
- Name of the city
- Company string
- Name of the company
- Department string
- Name of the department
- Email string
- Email address
- ExternalId string
- ID for the contact used in an external system
- Fax string
- Fax number
- FirstName string
- First name of the contact
- Id string
- Unique identifier of the Address
- LastName string
- Last name of the contact
- Mobile string
- Mobile phone number
- Phone string
- Phone number
- PoBox string
- Post office box number
- PostalCode string
- Postal code
- Region string
- Name of the region
- Salutation string
- Salutation of the contact, for example Ms., Mr.
- State string
- Name of the state
- StreetName string
- Name of the street
- StreetNumber string
- Street number
- Title string
- Title of the contact, for example Dr., Prof.
- Country string
- Name of the country
- Key string
- User-defined identifier of the Address that must be unique when multiple addresses are referenced in BusinessUnits, Customers, and itemShippingAddresses (LineItem-specific addresses) of a Cart, Order, QuoteRequest, or Quote.
- AdditionalAddress stringInfo 
- Further information on the Address
- AdditionalStreet stringInfo 
- Further information on the street address
- Apartment string
- Name or number of the apartment
- Building string
- Name or number of the building
- City string
- Name of the city
- Company string
- Name of the company
- Department string
- Name of the department
- Email string
- Email address
- ExternalId string
- ID for the contact used in an external system
- Fax string
- Fax number
- FirstName string
- First name of the contact
- Id string
- Unique identifier of the Address
- LastName string
- Last name of the contact
- Mobile string
- Mobile phone number
- Phone string
- Phone number
- PoBox string
- Post office box number
- PostalCode string
- Postal code
- Region string
- Name of the region
- Salutation string
- Salutation of the contact, for example Ms., Mr.
- State string
- Name of the state
- StreetName string
- Name of the street
- StreetNumber string
- Street number
- Title string
- Title of the contact, for example Dr., Prof.
- country String
- Name of the country
- key String
- User-defined identifier of the Address that must be unique when multiple addresses are referenced in BusinessUnits, Customers, and itemShippingAddresses (LineItem-specific addresses) of a Cart, Order, QuoteRequest, or Quote.
- additionalAddress StringInfo 
- Further information on the Address
- additionalStreet StringInfo 
- Further information on the street address
- apartment String
- Name or number of the apartment
- building String
- Name or number of the building
- city String
- Name of the city
- company String
- Name of the company
- department String
- Name of the department
- email String
- Email address
- externalId String
- ID for the contact used in an external system
- fax String
- Fax number
- firstName String
- First name of the contact
- id String
- Unique identifier of the Address
- lastName String
- Last name of the contact
- mobile String
- Mobile phone number
- phone String
- Phone number
- poBox String
- Post office box number
- postalCode String
- Postal code
- region String
- Name of the region
- salutation String
- Salutation of the contact, for example Ms., Mr.
- state String
- Name of the state
- streetName String
- Name of the street
- streetNumber String
- Street number
- title String
- Title of the contact, for example Dr., Prof.
- country string
- Name of the country
- key string
- User-defined identifier of the Address that must be unique when multiple addresses are referenced in BusinessUnits, Customers, and itemShippingAddresses (LineItem-specific addresses) of a Cart, Order, QuoteRequest, or Quote.
- additionalAddress stringInfo 
- Further information on the Address
- additionalStreet stringInfo 
- Further information on the street address
- apartment string
- Name or number of the apartment
- building string
- Name or number of the building
- city string
- Name of the city
- company string
- Name of the company
- department string
- Name of the department
- email string
- Email address
- externalId string
- ID for the contact used in an external system
- fax string
- Fax number
- firstName string
- First name of the contact
- id string
- Unique identifier of the Address
- lastName string
- Last name of the contact
- mobile string
- Mobile phone number
- phone string
- Phone number
- poBox string
- Post office box number
- postalCode string
- Postal code
- region string
- Name of the region
- salutation string
- Salutation of the contact, for example Ms., Mr.
- state string
- Name of the state
- streetName string
- Name of the street
- streetNumber string
- Street number
- title string
- Title of the contact, for example Dr., Prof.
- country str
- Name of the country
- key str
- User-defined identifier of the Address that must be unique when multiple addresses are referenced in BusinessUnits, Customers, and itemShippingAddresses (LineItem-specific addresses) of a Cart, Order, QuoteRequest, or Quote.
- additional_address_ strinfo 
- Further information on the Address
- additional_street_ strinfo 
- Further information on the street address
- apartment str
- Name or number of the apartment
- building str
- Name or number of the building
- city str
- Name of the city
- company str
- Name of the company
- department str
- Name of the department
- email str
- Email address
- external_id str
- ID for the contact used in an external system
- fax str
- Fax number
- first_name str
- First name of the contact
- id str
- Unique identifier of the Address
- last_name str
- Last name of the contact
- mobile str
- Mobile phone number
- phone str
- Phone number
- po_box str
- Post office box number
- postal_code str
- Postal code
- region str
- Name of the region
- salutation str
- Salutation of the contact, for example Ms., Mr.
- state str
- Name of the state
- street_name str
- Name of the street
- street_number str
- Street number
- title str
- Title of the contact, for example Dr., Prof.
- country String
- Name of the country
- key String
- User-defined identifier of the Address that must be unique when multiple addresses are referenced in BusinessUnits, Customers, and itemShippingAddresses (LineItem-specific addresses) of a Cart, Order, QuoteRequest, or Quote.
- additionalAddress StringInfo 
- Further information on the Address
- additionalStreet StringInfo 
- Further information on the street address
- apartment String
- Name or number of the apartment
- building String
- Name or number of the building
- city String
- Name of the city
- company String
- Name of the company
- department String
- Name of the department
- email String
- Email address
- externalId String
- ID for the contact used in an external system
- fax String
- Fax number
- firstName String
- First name of the contact
- id String
- Unique identifier of the Address
- lastName String
- Last name of the contact
- mobile String
- Mobile phone number
- phone String
- Phone number
- poBox String
- Post office box number
- postalCode String
- Postal code
- region String
- Name of the region
- salutation String
- Salutation of the contact, for example Ms., Mr.
- state String
- Name of the state
- streetName String
- Name of the street
- streetNumber String
- Street number
- title String
- Title of the contact, for example Dr., Prof.
BusinessUnitCompanyCustom, BusinessUnitCompanyCustomArgs        
BusinessUnitCompanyStore, BusinessUnitCompanyStoreArgs        
- Key string
- User-defined unique identifier of the Store
- Key string
- User-defined unique identifier of the Store
- key String
- User-defined unique identifier of the Store
- key string
- User-defined unique identifier of the Store
- key str
- User-defined unique identifier of the Store
- key String
- User-defined unique identifier of the Store
Package Details
- Repository
- commercetools labd/terraform-provider-commercetools
- License
- Notes
- This Pulumi package is based on the commercetoolsTerraform Provider.