updateCustomer

Updates the specified Customer object.

Access is permitted when any of the following condition(s) are met: 1. The signed-in User has any of the following permissions for the associated Organization: [org_manage_customers]. 2. The signed-in User has any of the following permissions for the object: [customer_edit].

Input fields (UpdateCustomerInput!)

ArgumentTypeDescription
nameStringThe name of the Customer, which must be unique within the scope of its Organization.
descriptionStringAdditional notes about the Customer.
starredBooleanIndicates whether the record is starred by the signed-in User.
labels[String]The labels that are associated with the object.
avatarUrlStringThe URL for the avatar image.
addAttachmentAttachmentInputAdds the specified Attachment to the object.
renameAttachmentAttachmentRenameInputRemoves the specified Attachment from the object.
removeAttachmentAttachmentInputRenames the specified Attachment on the object.
idIDThe ID of the Customer to mutate.
clientMutationIdStringA unique identifier for the client performing the mutation.

Return fields (UpdateCustomerPayload)

customer (Customer)
errors ([ErrorType])
clientMutationId (String)
Last updated on