Skip to main content

createCustomer Mutation

Creates a new 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, org_crud_customers].

Input fields (CreateCustomerInput!)

ArgumentTypeDescription
nameString!The name of the Customer, which must be unique within the scope of its Organization.
descriptionStringAdditional notes about the Customer.
allowEmbeddedDesignerBooleanSpecifies whether this Customer can use the Embedded Designer.
labels[String]The labels that are associated with the object.
externalIdStringAllows for mapping an external entity to a Prismatic record.
clientMutationIdStringA unique identifier for the client performing the mutation.

Return fields (CreateCustomerPayload)

clientMutationId (String)
customer (Customer)
errors ([ErrorType!]!)