Mutation / commerce
updateCustomer
Update a customer. Only provided fields are changed. Requires customer:write permission.
Arguments
idCustomerID!Customer ID to update
inputUpdateCustomerInput!Fields to update — only provided fields are changed
Returns UpsertCustomerPayload!
Explore in a view
View exact SDL
"""
Update a customer. Only provided fields are changed. Requires customer:write permission.
"""
updateCustomer(
"""Customer ID to update"""
id: CustomerID!
"""Fields to update — only provided fields are changed"""
input: UpdateCustomerInput!
): UpsertCustomerPayload! @topic(names: ["commerce"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.