Create Customer Data


                https://api.ocamba.com/v1/hood/customer-data
            

Creates a new Customer Data

Rate limits:

Burst: 10/s
Steady: 150/m


Name
Description
pi_datanumber (integer)
Indicates whether the property contains Personally Identifiable Information (PII). If set to 1, values will be encrypted and access will be restricted to users with appropriate permissions.


Example: 1

Possible values: 0 | 1

targetstringrequired
Legacy field provided for backward compatibility. It is included in responses but no longer accepted in requests. Use the 'label' field for defining custom property identifiers going forward.


Example: my_region

201 - Created
Arrow

400 - Bad Request
Arrow

500 - Internal Server Error
Arrow
request Arrow
{
    "target": "new-customer-target",
    "pi_data": 1
}
201 Arrow
{
  "id":"1025",
  "company_id":"6197120",
  "target": "new-customer-target",
  "pi_data": 1
}
{
  "code": 400,
  "title": "Bad request.",
  "message": "The request body is not valid.",
  "trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}
{
  "code": 500,
  "title": "Internal server error.",
  "trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}