account > Accounts
post/{tenant}/{environment}/{company}/account/

Request

  • Base URL
    https://api.npretail.app
  • Auth
    API key in header x-np-api-key

Path parameters

tenantstring required

Your Entra Tenant ID. More details.

environmentstring required

Your Business Central Environment. More details.

companystring required

Your Business Central Company. More details.

Headers

x-api-versionstring date

Used for API versioning. More details.

Request body

firstNamestring
lastNamestring
phoneNumberstring
emailAddressstring required

Response

Response with status 201

idstring uuid required

The unique id of the account.

firstNamestring required

The First Name of the account owner.

lastNamestring required

The Last Name of the account owner.

displayNamestring required

The Display Name of the account owner. It's a combination of the first- and last name of the account.

phoneNumberstring required
emailAddressstring required

Changes

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response's body type changed from no type to object for status

    • warning

      deleted the header request parameter x-np-api-key

    • info

      the endpoint scheme security NPApiKeyAuthScheme was added to the API

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      api operation id create-account removed and replaced with account_serviceAccount_createAccount