UserListCustomerTypeOperation

  • This content describes a single mutate operation for user list customer types.

  • The operation can either create or remove a user list customer type.

  • Creating requires attaching a UserListCustomerType to a user list without a resource name.

  • Removing requires a resource name in the format customers/{customer_id}/userListCustomerTypes/{user_list_id}~{customer_type_category}.

A single mutate operation on the user list customer type.

Fields
Union field

operation

operation. The mutate operation. operation can be only one of the following:

create

UserListCustomerType

Attach a user list customer type to a user list. No resource name is expected for the new user list customer type.

remove

string

Remove an existing user list customer type. A resource name for the removed user list customer type is expected, in this format:

customers/{customer_id}/userListCustomerTypes/{user_list_id}~{customer_type_category}