Accounts

Create or update account

Endpoint used to create or update an account.

post/accounts/upsert

Request

  • Base URL
    https://api.journy.io
  • URL
    https://api.journy.io/accounts/upsert
  • Auth
    none declared

Request body

propertiesobject

The properties being set, possible values are strings, booleans, numbers and datetimes (ISO 8601)

Response

Account will be created

messagestring required
rejectedobject

If validation fails, specifies the property name and error message

Example response

{
  "message": "Account will be created or updated",
  "rejected": {
    "created_at": "Expected a date but found a boolean."
  }
}

Changes

No recorded changes to this operation across all 3 revisions of this API.