GraphQL output types for Messages that represent a change or an action performed on a Business Unit or Associate Role.
payload field of a Message. For when each Message is generated, see Business Unit and Associate Role Messages.Business Unit Messages
BusinessUnitCreated
businessUnit | The Business Unit that was created. |
typeString |
BusinessUnitAddressAdded
address | The address that was added to the Business Unit. |
typeString |
BusinessUnitAddressChanged
address | Updated address of the Business Unit. |
addressRolesArray of AddressRole | Indicates if the address was used for shipping or billing purposes. Can beBilling, or Shipping |
typeString |
AddressRole
BillingShipping
BusinessUnitAddressRemoved
address | The address that was removed from the Business Unit. |
addressRolesArray of AddressRole | Indicates if the address was used for shipping or billing purposes. Can beBilling, or Shipping |
typeString |
AddressRole
BillingShipping
BusinessUnitAssociateAdded
associate | The Associate that was added to the Business Unit. |
typeString |
Associate
associateRoleAssignmentsArray of AssociateRoleAssignment | Roles assigned to the Associate within a Business Unit. |
customerRef | The Customer that acts as an Associate in the Business Unit. |
customer | The Customer that acts as an Associate in the Business Unit. |
AssociateRoleAssignment
associateRoleRef | Role the Associate holds within a Business Unit. |
associateRole | Role the Associate holds within a Business Unit. |
inheritance | Determines whether the AssociateRoleAssignment can be inherited by child Business Units. Can beDisabled, or Enabled |
AssociateInheritanceMode
DisabledEnabled
BusinessUnitAssociatesSet
associatesArray of Associate | The list of Associates that was updated on the Business Unit. |
typeString |
Associate
associateRoleAssignmentsArray of AssociateRoleAssignment | Roles assigned to the Associate within a Business Unit. |
customerRef | The Customer that acts as an Associate in the Business Unit. |
customer | The Customer that acts as an Associate in the Business Unit. |
AssociateRoleAssignment
associateRoleRef | Role the Associate holds within a Business Unit. |
associateRole | Role the Associate holds within a Business Unit. |
inheritance | Determines whether the AssociateRoleAssignment can be inherited by child Business Units. Can beDisabled, or Enabled |
AssociateInheritanceMode
DisabledEnabled
BusinessUnitAssociateChanged
Associate
associateRoleAssignmentsArray of AssociateRoleAssignment | Roles assigned to the Associate within a Business Unit. |
customerRef | The Customer that acts as an Associate in the Business Unit. |
customer | The Customer that acts as an Associate in the Business Unit. |
AssociateRoleAssignment
associateRoleRef | Role the Associate holds within a Business Unit. |
associateRole | Role the Associate holds within a Business Unit. |
inheritance | Determines whether the AssociateRoleAssignment can be inherited by child Business Units. Can beDisabled, or Enabled |
AssociateInheritanceMode
DisabledEnabled
BusinessUnitAssociateModeChanged
associateMode | BusinessUnitAssociateMode of the Business Unit after the Change Associate Mode update action. Can be Explicit, or ExplicitAndFromParent |
oldAssociateMode | BusinessUnitAssociateMode of the Business Unit before the Change Associate Mode update action. Can be Explicit, or ExplicitAndFromParent |
typeString |
BusinessUnitAssociateMode
ExplicitExplicitAndFromParent
BusinessUnitAssociateRemoved
associate | The Associate that was removed from the Business Unit. |
typeString |
Associate
associateRoleAssignmentsArray of AssociateRoleAssignment | Roles assigned to the Associate within a Business Unit. |
customerRef | The Customer that acts as an Associate in the Business Unit. |
customer | The Customer that acts as an Associate in the Business Unit. |
AssociateRoleAssignment
associateRoleRef | Role the Associate holds within a Business Unit. |
associateRole | Role the Associate holds within a Business Unit. |
inheritance | Determines whether the AssociateRoleAssignment can be inherited by child Business Units. Can beDisabled, or Enabled |
AssociateInheritanceMode
DisabledEnabled
BusinessUnitApprovalRuleModeChanged
approvalRuleMode | BusinessUnitApprovalRuleMode of the Business Unit after the Change Approval Rule Mode update action. Can be Explicit, or ExplicitAndFromParent |
oldApprovalRuleMode | BusinessUnitApprovalRuleMode of the Business Unit before the Change Approval Rule Mode update action. Can be Explicit, or ExplicitAndFromParent |
typeString |
BusinessUnitApprovalRuleMode
ExplicitExplicitAndFromParent
BusinessUnitParentChanged
oldParentUnit | Parent unit of the Business Unit before the Change Parent Unit update action. |
newParentUnit | Parent unit of the Business Unit after the Change Parent Unit update action. |
oldParentUnitRef | Parent unit of the Business Unit before the Change Parent Unit update action. |
newParentUnitRef | Parent unit of the Business Unit after the Change Parent Unit update action. |
typeString |
BusinessUnitTypeSet BETA
oldUnitType | Type of the Business Unit before the Set Unit Type update action. Can be Company, or Division |
unitType | Type of the Business Unit after the Set Unit Type update action. Can be Company, or Division |
parentUnit | Parent unit of the Business Unit after the Set Unit Type update action. |
oldParentUnit | Parent unit of the Business Unit before the Set Unit Type update action. |
parentUnitRef | Parent unit of the Business Unit after the Set Unit Type update action. |
oldParentUnitRef | Parent unit of the Business Unit before the Set Unit Type update action. |
typeString |
BusinessUnitType
CompanyDivision
BusinessUnitTopLevelUnitSet BETA
oldTopLevelUnit | |
topLevelUnit | |
oldTopLevelUnitRef | |
topLevelUnitRef | |
typeString |
BusinessUnitStoreAdded
store | The Store that was added to the Business Unit. |
storeRef | The Store that was added to the Business Unit. |
typeString |
BusinessUnitStoresSet
storesArray of Store | |
storesRefArray of KeyReference | |
typeString |
BusinessUnitStoreModeChanged
inheritedStores, oldInheritedStores, inheritedStoresRef, and oldInheritedStoresRef fields are only available in GraphQL.storeModeString | |
oldStoreModeString | |
storesArray of Store | |
oldStoresArray of Store | |
inheritedStoresArray of Store | |
oldInheritedStoresArray of Store | |
storesRefArray of KeyReference | |
oldStoresRefArray of KeyReference | |
inheritedStoresRefArray of KeyReference | |
oldInheritedStoresRefArray of KeyReference | |
typeString |
BusinessUnitStoreRemoved
store | The Store that was removed from the Business Unit. |
storeRef | The Store that was removed from the Business Unit. |
typeString |
BusinessUnitStatusChanged
status corresponds to the field active in BusinessUnitStatusChangedMessage in REST.status | Can be Active, or Inactive |
typeString |
BusinessUnitStatus
ActiveInactive
BusinessUnitBillingAddressAdded
address | The address that was added to the Business Unit as billing address. |
typeString |
BusinessUnitBillingAddressRemoved
address | The address that was removed from the billing addresses of the Business Unit. |
typeString |
BusinessUnitDefaultBillingAddressSet
address | The address that was set as the default billing address. |
typeString |
BusinessUnitShippingAddressAdded
address | The address that was added to the Business Unit as shipping address. |
typeString |
BusinessUnitShippingAddressRemoved
address | The address that was removed from shipping addresses of the Business Unit. |
typeString |
BusinessUnitDefaultShippingAddressSet
address | The address that was set as the default shipping address. |
typeString |
BusinessUnitContactEmailSet
contactEmailString | The contact email that was updated on the Business Unit. |
typeString |
BusinessUnitCustomerGroupAssignmentAdded BETA
customerGroupAssignment | Customer Group assigned to the Business Unit during the Add CustomerGroupAssignment update action. |
typeString |
BusinessUnitCustomerGroupAssignmentRemoved BETA
customerGroupAssignment | Customer Group unassigned from the Business Unit during the Remove CustomerGroupAssignment update action. |
typeString |
BusinessUnitCustomerGroupAssignmentsSet BETA
customerGroupAssignmentsArray of CustomerGroupAssignment | Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action. |
oldCustomerGroupAssignmentsArray of CustomerGroupAssignment | Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action. |
typeString |
BusinessUnitNameChanged
nameString | Updated name of the Business Unit. |
typeString |
BusinessUnitDeleted
typeString |
BusinessUnitCustomFieldAdded
nameString | Name of the Custom Field that was added. |
valueJson | The added CustomFieldValue based on the FieldType. |
typeString |
BusinessUnitCustomFieldChanged
BusinessUnitCustomFieldRemoved
nameString | Name of the Custom Field that was removed. |
typeString |
BusinessUnitCustomTypeSet
customFields | The Custom Fields that were set. |
oldTypeIdString | id of the previous Custom Type. Absent if there was no previous Custom Type present. |
typeString |
BusinessUnitCustomTypeRemoved
oldTypeIdString | id of the Custom Type that was removed. Absent if there was no previous Custom Type present. |
typeString |
BusinessUnitAddressCustomFieldAdded
nameString | Name of the Custom Field that was added. |
valueJson | The added CustomFieldValue based on the FieldType. |
addressIdString | id of the Address to which the Custom Field was added. |
typeString |
BusinessUnitAddressCustomFieldChanged
BusinessUnitAddressCustomFieldRemoved
nameString | Name of the Custom Field that was removed. |
addressIdString | id of the Address from which the Custom Field was removed. |
typeString |
BusinessUnitAddressCustomTypeSet
customFields | The Custom Fields that were set. |
oldTypeIdString | id of the previous Custom Type. Absent if there was no previous Custom Type present. |
addressIdString | id of the Address on which the Custom Field was set. |
typeString |
BusinessUnitAddressCustomTypeRemoved
oldTypeIdString | id of the Custom Type that was removed. Absent if there was no previous Custom Type present. |
addressIdString | id of the Address from which the Custom Type was removed. |
typeString |
Associate Role Messages
AssociateRoleCreated
associateRole | The AssociateRole that was created. |
typeString |
AssociateRoleBuyerAssignableChanged
buyerAssignableBoolean | The new value of the buyerAssignable field of the AssociateRole. |
typeString |
AssociateRolePermissionAdded
permission | The Permission that was added to the AssociateRole. Can beAcceptMyQuotes, AcceptOthersQuotes, AddChildUnits, CreateApprovalRules, CreateMyCarts, CreateMyOrdersFromMyCarts, CreateMyOrdersFromMyQuotes, CreateMyPaymentMethods, CreateMyQuoteRequestsFromMyCarts, CreateMyShoppingLists, CreateOrdersFromOthersCarts, CreateOrdersFromOthersQuotes, CreateOthersCarts, CreateOthersPaymentMethods, CreateOthersShoppingLists, CreateQuoteRequestsFromOthersCarts, DeclineMyQuotes, DeclineOthersQuotes, DeleteMyCarts, DeleteMyPaymentMethods, DeleteMyShoppingLists, DeleteOthersCarts, DeleteOthersPaymentMethods, DeleteOthersShoppingLists, ReassignMyQuotes, ReassignOthersQuotes, RenegotiateMyQuotes, RenegotiateOthersQuotes, UpdateApprovalFlows, UpdateApprovalRules, UpdateAssociates, UpdateBusinessUnitDetails, UpdateMyCarts, UpdateMyOrders, UpdateMyPaymentMethods, UpdateMyQuoteRequests, UpdateMyShoppingLists, UpdateOthersCarts, UpdateOthersOrders, UpdateOthersPaymentMethods, UpdateOthersQuoteRequests, UpdateOthersShoppingLists, UpdateParentUnit, ViewMyCarts, ViewMyOrders, ViewMyPaymentMethods, ViewMyQuoteRequests, ViewMyQuotes, ViewMyShoppingLists, ViewOthersCarts, ViewOthersOrders, ViewOthersPaymentMethods, ViewOthersQuoteRequests, ViewOthersQuotes, or ViewOthersShoppingLists |
typeString |
Permission
AcceptMyQuotesAcceptOthersQuotesAddChildUnitsCreateApprovalRulesCreateMyCartsCreateMyOrdersFromMyCartsCreateMyOrdersFromMyQuotesCreateMyPaymentMethodsCreateMyQuoteRequestsFromMyCartsCreateMyShoppingListsCreateOrdersFromOthersCartsCreateOrdersFromOthersQuotesCreateOthersCartsCreateOthersPaymentMethodsCreateOthersShoppingListsCreateQuoteRequestsFromOthersCartsDeclineMyQuotesDeclineOthersQuotesDeleteMyCartsDeleteMyPaymentMethodsDeleteMyShoppingListsDeleteOthersCartsDeleteOthersPaymentMethodsDeleteOthersShoppingListsReassignMyQuotesReassignOthersQuotesRenegotiateMyQuotesRenegotiateOthersQuotesUpdateApprovalFlowsUpdateApprovalRulesUpdateAssociatesUpdateBusinessUnitDetailsUpdateMyCartsUpdateMyOrdersUpdateMyPaymentMethodsUpdateMyQuoteRequestsUpdateMyShoppingListsUpdateOthersCartsUpdateOthersOrdersUpdateOthersPaymentMethodsUpdateOthersQuoteRequestsUpdateOthersShoppingListsUpdateParentUnitViewMyCartsViewMyOrdersViewMyPaymentMethodsViewMyQuoteRequestsViewMyQuotesViewMyShoppingListsViewOthersCartsViewOthersOrdersViewOthersPaymentMethodsViewOthersQuoteRequestsViewOthersQuotesViewOthersShoppingLists
AssociateRolePermissionRemoved
permission | The Permission that was removed from the AssociateRole. Can beAcceptMyQuotes, AcceptOthersQuotes, AddChildUnits, CreateApprovalRules, CreateMyCarts, CreateMyOrdersFromMyCarts, CreateMyOrdersFromMyQuotes, CreateMyPaymentMethods, CreateMyQuoteRequestsFromMyCarts, CreateMyShoppingLists, CreateOrdersFromOthersCarts, CreateOrdersFromOthersQuotes, CreateOthersCarts, CreateOthersPaymentMethods, CreateOthersShoppingLists, CreateQuoteRequestsFromOthersCarts, DeclineMyQuotes, DeclineOthersQuotes, DeleteMyCarts, DeleteMyPaymentMethods, DeleteMyShoppingLists, DeleteOthersCarts, DeleteOthersPaymentMethods, DeleteOthersShoppingLists, ReassignMyQuotes, ReassignOthersQuotes, RenegotiateMyQuotes, RenegotiateOthersQuotes, UpdateApprovalFlows, UpdateApprovalRules, UpdateAssociates, UpdateBusinessUnitDetails, UpdateMyCarts, UpdateMyOrders, UpdateMyPaymentMethods, UpdateMyQuoteRequests, UpdateMyShoppingLists, UpdateOthersCarts, UpdateOthersOrders, UpdateOthersPaymentMethods, UpdateOthersQuoteRequests, UpdateOthersShoppingLists, UpdateParentUnit, ViewMyCarts, ViewMyOrders, ViewMyPaymentMethods, ViewMyQuoteRequests, ViewMyQuotes, ViewMyShoppingLists, ViewOthersCarts, ViewOthersOrders, ViewOthersPaymentMethods, ViewOthersQuoteRequests, ViewOthersQuotes, or ViewOthersShoppingLists |
typeString |
Permission
AcceptMyQuotesAcceptOthersQuotesAddChildUnitsCreateApprovalRulesCreateMyCartsCreateMyOrdersFromMyCartsCreateMyOrdersFromMyQuotesCreateMyPaymentMethodsCreateMyQuoteRequestsFromMyCartsCreateMyShoppingListsCreateOrdersFromOthersCartsCreateOrdersFromOthersQuotesCreateOthersCartsCreateOthersPaymentMethodsCreateOthersShoppingListsCreateQuoteRequestsFromOthersCartsDeclineMyQuotesDeclineOthersQuotesDeleteMyCartsDeleteMyPaymentMethodsDeleteMyShoppingListsDeleteOthersCartsDeleteOthersPaymentMethodsDeleteOthersShoppingListsReassignMyQuotesReassignOthersQuotesRenegotiateMyQuotesRenegotiateOthersQuotesUpdateApprovalFlowsUpdateApprovalRulesUpdateAssociatesUpdateBusinessUnitDetailsUpdateMyCartsUpdateMyOrdersUpdateMyPaymentMethodsUpdateMyQuoteRequestsUpdateMyShoppingListsUpdateOthersCartsUpdateOthersOrdersUpdateOthersPaymentMethodsUpdateOthersQuoteRequestsUpdateOthersShoppingListsUpdateParentUnitViewMyCartsViewMyOrdersViewMyPaymentMethodsViewMyQuoteRequestsViewMyQuotesViewMyShoppingListsViewOthersCartsViewOthersOrdersViewOthersPaymentMethodsViewOthersQuoteRequestsViewOthersQuotesViewOthersShoppingLists
AssociateRolePermissionsSet
permissionsArray of Permission | Permission assigned to the AssociateRole. Can beAcceptMyQuotes, AcceptOthersQuotes, AddChildUnits, CreateApprovalRules, CreateMyCarts, CreateMyOrdersFromMyCarts, CreateMyOrdersFromMyQuotes, CreateMyPaymentMethods, CreateMyQuoteRequestsFromMyCarts, CreateMyShoppingLists, CreateOrdersFromOthersCarts, CreateOrdersFromOthersQuotes, CreateOthersCarts, CreateOthersPaymentMethods, CreateOthersShoppingLists, CreateQuoteRequestsFromOthersCarts, DeclineMyQuotes, DeclineOthersQuotes, DeleteMyCarts, DeleteMyPaymentMethods, DeleteMyShoppingLists, DeleteOthersCarts, DeleteOthersPaymentMethods, DeleteOthersShoppingLists, ReassignMyQuotes, ReassignOthersQuotes, RenegotiateMyQuotes, RenegotiateOthersQuotes, UpdateApprovalFlows, UpdateApprovalRules, UpdateAssociates, UpdateBusinessUnitDetails, UpdateMyCarts, UpdateMyOrders, UpdateMyPaymentMethods, UpdateMyQuoteRequests, UpdateMyShoppingLists, UpdateOthersCarts, UpdateOthersOrders, UpdateOthersPaymentMethods, UpdateOthersQuoteRequests, UpdateOthersShoppingLists, UpdateParentUnit, ViewMyCarts, ViewMyOrders, ViewMyPaymentMethods, ViewMyQuoteRequests, ViewMyQuotes, ViewMyShoppingLists, ViewOthersCarts, ViewOthersOrders, ViewOthersPaymentMethods, ViewOthersQuoteRequests, ViewOthersQuotes, or ViewOthersShoppingLists |
typeString |
Permission
AcceptMyQuotesAcceptOthersQuotesAddChildUnitsCreateApprovalRulesCreateMyCartsCreateMyOrdersFromMyCartsCreateMyOrdersFromMyQuotesCreateMyPaymentMethodsCreateMyQuoteRequestsFromMyCartsCreateMyShoppingListsCreateOrdersFromOthersCartsCreateOrdersFromOthersQuotesCreateOthersCartsCreateOthersPaymentMethodsCreateOthersShoppingListsCreateQuoteRequestsFromOthersCartsDeclineMyQuotesDeclineOthersQuotesDeleteMyCartsDeleteMyPaymentMethodsDeleteMyShoppingListsDeleteOthersCartsDeleteOthersPaymentMethodsDeleteOthersShoppingListsReassignMyQuotesReassignOthersQuotesRenegotiateMyQuotesRenegotiateOthersQuotesUpdateApprovalFlowsUpdateApprovalRulesUpdateAssociatesUpdateBusinessUnitDetailsUpdateMyCartsUpdateMyOrdersUpdateMyPaymentMethodsUpdateMyQuoteRequestsUpdateMyShoppingListsUpdateOthersCartsUpdateOthersOrdersUpdateOthersPaymentMethodsUpdateOthersQuoteRequestsUpdateOthersShoppingListsUpdateParentUnitViewMyCartsViewMyOrdersViewMyPaymentMethodsViewMyQuoteRequestsViewMyQuotesViewMyShoppingListsViewOthersCartsViewOthersOrdersViewOthersPaymentMethodsViewOthersQuoteRequestsViewOthersQuotesViewOthersShoppingLists
AssociateRoleNameSet
nameString | Updated name of the AssociateRole. |
typeString |
AssociateRoleDeleted
typeString |