To update a customer record in the Customer Fields app, use an "http" action that looks something like this:

{% action "http" %}
  {
    "method": "put",
    "url": "https://customr.heliumdev.com/api/v1/customers/{{ customer.id }}",
    "headers": {
      "Authorization": {{ options.customer_fields_authorization_header__required | json }}
    },
    "body": {
      "customer": {
        "membership_code": {{ membership_code | json }}
      }
    }
  }
{% endaction %}
Did this answer your question?