POST Request House Account

​

Asks the brand to open a house account — a credit line the organization orders against and is invoiced for, instead of paying per order. The request is recorded as pending; the brand approves or declines it in the Management Center.

There is no request body and nothing is returned beyond the status envelope.

The call is idempotent in a strict sense: if the organization has ever had a house account state recorded — including a previously disabled or declined one — the existing state is kept and no new request is raised. A second call therefore still returns 200 but changes nothing. Read the organization's house account state from the customer account to know where it stands; states are 1 active, 2 disabled, 3 pending.

Path Parameters

  • The organization's customer account ID. Must match the signed-in account.

Headers

  • Type of content accepted by the API (application/json in most cases)

  • Application key for specific client app

  • Content-Type header

  • Version of the API to be used

  • Authorization header

  • Unique request identifier

Body

application/json

No request body.

Responses

  • application/json
  • Missing or invalid token, or the path account is not the signed-in account.

  • The account is not an organization account.

Request Example for post/organizations/{customer_account_id}/house-accounts/requests
curl https://api-public-demo.menu.app/api/organizations/9031/house-accounts/requests \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Application: application-key' \
  --header 'Content-Type: application/json' \
  --header 'API-VERSION: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937'
{
  "status": "OK",
  "code": 200
}