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
- Type: integercustomer
_account _id requiredThe organization's customer account ID. Must match the signed-in account.
Headers
- Type: stringAcceptrequired
Type of content accepted by the API (application/json in most cases)
- Type: stringApplicationrequired
Application key for specific client app
- Type: stringContent
- Type requiredContent-Type header
- Type: stringA
P I - V E R S I O N requiredVersion of the API to be used
- Type: stringAuthorization
Authorization header
- Type: stringX
- Request - I D requiredUnique request identifier
Body
No request body.
Responses
- application/json
- 401
Missing or invalid token, or the path account is not the signed-in account.
- 404
The account is not an organization account.
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
}