Shopify.Customer.update

You're seeing just the function update, go back to Shopify.Customer module for more information.
Link to this function

update(customer_id, params)

Specs

update(binary(), map()) :: Shopify.Operation.t()

Update a customer.

Examples

iex> Shopify.Customer.update("12345", %{customer: %{first_name: "Tester"}) |> Shopify.request(session)
{:ok, %Shopify.Response{}}

# Add a metafield to an existing customer
iex> data = %{
...>   customer: %{
...>     id: 1092505370733,
...>     metafields: [
...>       %{
...>         key: "my_key",
...>         value: "abc",
...>         value_type: "string",
...>         namespace: "my_group"
...>       }
...>     ]
...>   }
...> }
...> Shopify.Customer.update("12345", %{customer: %{first_name: "Tester"}) |> Shopify.request(session)

}