POST
/
api
/
partner
/
user
curl --request POST \
  --url https://backend.identifai.net/api/partner/user \
  --header 'Content-Type: multipart/form-data' \
  --form id=123 \
  --form 'name=<string>' \
  --form email=jsmith@example.com \
  --form 'password=<string>' \
  --form 'heuristic=<string>' \
  --form pricing_id=123 \
  --form readonly=true \
  --form newsletter=true \
  --form save_files=true
{
  "data": {
    "id": 233,
    "name": "UserName",
    "email": "UserName@mail.com",
    "email_verified_at": "2025-03-12T11:30:25.000000Z",
    "address": null,
    "zip": null,
    "city": null,
    "country": null,
    "phone": null,
    "contact": null,
    "vat": null,
    "created_at": "2025-03-12T11:30:25.000000Z",
    "updated_at": "2025-03-12T11:30:25.000000Z",
    "balance": null,
    "heuristic": "AverageExcludeObsolete",
    "readonly": null,
    "pricing": {
      "id": 1,
      "name": "TestB",
      "sku": "testB"
    },
    "partner": {
      "id": 221,
      "name": "PartnerName",
      "email": "PartnerName@mail.com",
      "email_verified_at": "2025-03-03T11:22:49.000000Z",
      "address": null,
      "zip": null,
      "city": null,
      "country": null,
      "phone": null,
      "contact": null,
      "vat": null,
      "created_at": "2025-03-03T11:22:49.000000Z",
      "updated_at": "2025-03-03T13:27:06.000000Z",
      "balance": 0,
      "heuristic": "Average",
      "readonly": false,
      "pricing": {
        "id": 2,
        "name": "TestAC",
        "sku": "testAC"
      },
      "partner": null
    }
  }
}

Body

multipart/form-data

Response

200 - application/json
Created or updated user

The response is of type object.