You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`buyer_assignable` (Boolean) Whether the associate role can be assigned to an associate by a buyer. If false, the associate role can only be assigned using the general endpoint. Defaults to true.
106
+
-`custom` (Block, Optional) Custom fields for this resource. (see [below for nested schema](#nestedblock--custom))
78
107
-`name` (String) Name of the associate role.
79
108
80
109
### Read-Only
81
110
82
111
-`id` (String) Unique identifier of the associate role.
83
112
-`version` (Number) Current version of the associate role.
113
+
114
+
<aid="nestedblock--custom"></a>
115
+
### Nested Schema for `custom`
116
+
117
+
Optional:
118
+
119
+
-`fields` (Map of String) CustomValue fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
120
+
-`type_id` (String) The ID of the custom type to use for this resource.
-`address` (Block List) Addresses used by the Business Unit. (see [below for nested schema](#nestedblock--address))
77
105
-`billing_address_keys` (Set of String) Indexes of entries in addresses to set as billing addresses. The billingAddressIds of the [Customer](https://docs.commercetools.com/api/projects/customers) will be replaced by these addresses.
78
106
-`contact_email` (String) The email address of the company.
107
+
-`custom` (Block, Optional) Custom fields for this resource. (see [below for nested schema](#nestedblock--custom))
79
108
-`default_billing_address_key` (String) Index of the entry in addresses to set as the default billing address.
80
109
-`default_shipping_address_key` (String) Index of the entry in addresses to set as the default shipping address.
81
110
-`shipping_address_keys` (Set of String) Indexes of entries in addresses to set as shipping addresses. The shippingAddressIds of the [Customer](https://docs.commercetools.com/api/projects/customers) will be replaced by these addresses.
@@ -129,6 +158,15 @@ Read-Only:
129
158
-`id` (String) Unique identifier of the Address
130
159
131
160
161
+
<aid="nestedblock--custom"></a>
162
+
### Nested Schema for `custom`
163
+
164
+
Optional:
165
+
166
+
-`fields` (Map of String) CustomValue fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
167
+
-`type_id` (String) The ID of the custom type to use for this resource.
-`associate_mode` (String) Determines whether the business unit can inherit Associates from a parent. Defaults to `ExplicitAndFromParent`.
91
119
-`billing_address_keys` (List of String) List of the billing addresses used by the division.
92
120
-`contact_email` (String) The email address of the division.
121
+
-`custom` (Block, Optional) Custom fields for this resource. (see [below for nested schema](#nestedblock--custom))
93
122
-`default_billing_address_key` (String) Key of the default billing Address.
94
123
-`default_shipping_address_key` (String) Key of the default shipping Address.
95
124
-`parent_unit` (Block, Optional) Reference to a parent business unit by its key or id. One of either is required. (see [below for nested schema](#nestedblock--parent_unit))
@@ -145,6 +174,15 @@ Read-Only:
145
174
-`id` (String) Unique identifier of the Address
146
175
147
176
177
+
<aid="nestedblock--custom"></a>
178
+
### Nested Schema for `custom`
179
+
180
+
Optional:
181
+
182
+
-`fields` (Map of String) CustomValue fields for this resource. Note that the values need to be provided as JSON encoded strings: `my-value = jsonencode({"key": "value"})`
183
+
-`type_id` (String) The ID of the custom type to use for this resource.
0 commit comments