Skip to main content
POST
/
commerce
/
customer
/
accounts
/
{accountId}
/
purchaseOrderAccount
Error
A valid request URL is required to generate request examples
{
  "id": 123,
  "accountId": 123,
  "isEnabled": true,
  "creditLimit": 123,
  "availableBalance": 123,
  "totalAvailableBalance": 123,
  "overdraftAllowance": 123,
  "overdraftAllowanceType": "<string>",
  "customerPurchaseOrderPaymentTerms": [
    {
      "siteId": 123,
      "code": "<string>",
      "description": "<string>",
      "auditInfo": {
        "updateDate": "2023-11-07T05:31:56Z",
        "createDate": "2023-11-07T05:31:56Z",
        "updateBy": "<string>",
        "createBy": "<string>"
      }
    }
  ],
  "auditInfo": {
    "updateDate": "2023-11-07T05:31:56Z",
    "createDate": "2023-11-07T05:31:56Z",
    "updateBy": "<string>",
    "createBy": "<string>"
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

accountId
integer<int32>
required

Unique identifier of the account.

Query Parameters

responseFields
string

limits which fields are returned in the response body

Body

application/json
id
integer<int32>
accountId
integer<int32>
isEnabled
boolean
creditLimit
number<double>
availableBalance
number<double>
totalAvailableBalance
number<double>
overdraftAllowance
number<double> | null
overdraftAllowanceType
string | null

Indicates type of overdraft. Possible values are "Percent" and "Amount"

customerPurchaseOrderPaymentTerms
object[] | null
auditInfo
object

Response

Success

id
integer<int32>
accountId
integer<int32>
isEnabled
boolean
creditLimit
number<double>
availableBalance
number<double>
totalAvailableBalance
number<double>
overdraftAllowance
number<double> | null
overdraftAllowanceType
string | null

Indicates type of overdraft. Possible values are "Percent" and "Amount"

customerPurchaseOrderPaymentTerms
object[] | null
auditInfo
object