POST

Order.Get

Load one orders_for_cust row (dashboard edit_orders_for_cust data).

Permissions

  • User must be logged in with a valid bearer token.
  • Returned or changed records are limited by the user permissions, team access, folder access, and account settings.

Action

  • Returns Order information as JSON for the UI.

Push Service

No push is sent because this function only reads data or returns helper information.

Automation

No automation is run for this function.

Special Instructions

  • Send the bearer token on protected calls with Authorization: Bearer YOUR TOKEN.
  • Send parameters as POST body fields exactly as documented.

Required Parameters

NameTypeSampleExplanation
orders_for_cust_id
post
int267974Row id. Aliases: id, data_id, order_row_id.

Optional Parameters

No optional body parameters are defined for this function.

Authentication

Send the bearer token returned by Login in the request header.

Authorization: Bearer YOUR TOKEN

Sample Request

{
    "url": "\/app\/Order.Get",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": {
        "orders_for_cust_id": "267974"
    },
    "url_user": "https:\/\/{user}.bull36.com\/app\/Order.Get",
    "url_domain": "https:\/\/{domain}\/app\/Order.Get"
}

Endpoint

POST /app/Order.Get
POST https://{user}.bull36.com/app/Order.Get
POST https://{domain}/app/Order.Get

Sample Output

{
    "success": 1,
    "data": {
        "id": 267974,
        "cust_id": 108545,
        "total_price": "18",
        "custom_fields": []
    }
}

JavaScript Example

const res = await fetch('/app/Order.Get', { method: 'POST', headers: { Authorization: 'Bearer YOUR TOKEN' }, body: new URLSearchParams({ orders_for_cust_id: '267974' }) });
console.log(await res.json());

Error Example

{
    "success": "0",
    "message": "Request failed"
}