דילוג לתוכן הראשי

Create a customer

POST 

/customers

Create a customer.

Counts against the plan's customer limit — a full account answers 402 with code: plan_limit_exceeded rather than silently discarding the record.

Creating a customer fires the Studio customer changed trigger and writes a journey event, exactly as the console does, so automations react to API-created records the same way.

Request

Responses

Customer created.

Response Headers
    X-Request-Id

    Correlation id for this request. Quote it when reporting a problem.