Log In

Add a Reference Number to a User

post/public/v1/users/{user}/reference-numbers

Adds a registration or identifier, such as an AHPRA number, to a user. show_on_invoice prints it on the invoice lines for charges the user delivered, and defaults to false.

  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • userstringrequired

    The user UUID

Body

application/json
  • labelstringrequiredmax length 255
  • valuestringrequiredmax length 255
  • show_on_invoiceboolean

Response

201application/json

UserReferenceNumberResource

  • dataobjectrequired
    ▶Show 4 child attributes
    • idstringrequired
      Example:r1e2f3n4-a5b6-47c8-9d0e-1f2a3b4c5d6e
    • labelstringrequired
      Example:AHPRA
    • valuestringrequired
      Example:MED0001234567
    • show_on_invoicebooleanrequired
      Example:false
  • 401Unauthenticated
  • 403Authorization error
  • 404Not found
  • 422Validation error