Contacts

Mark Contact as Customer

Flip a contact to status "customer" by email, and auto-Won any open deals linked to that contact. If the contact does not exist yet, it is created with status "customer". Idempotent, safe to call from a webhook fired on every payment event.

post/contacts/mark-customer

Request

  • Base URL
    https://app.boei.help/api/v1
  • Auth
    HTTP bearer

Request body

emailstring required

The customer's email address.

namestring nullable

Optional name to store when creating a new contact.

Example request

{
  "email": "customer@example.com",
  "name": "Jane Doe"
}

Response

successboolean
contact_idinteger
createdboolean
status_changedboolean
deals_woninteger

Example response

{
  "success": true,
  "contact_id": 123,
  "created": false,
  "status_changed": true,
  "deals_won": 2
}

Changes

No recorded changes to this operation across all 1 revision of this API.