companyCreditConfig

Get company credit config. Requires a B2B Token.

Arguments

isMasqueradingCompanyBooleanOptional
If true, it will return the masquerading company credit config

Returns

an optional Object
creditEnabledBoolean
Is company credit enabled
creditCurrencyString
Currency code of credit available credit
availableCreditDouble
The available credit value
limitPurchasesBoolean
Disable via PO Payment when credit value is exceed
creditHoldBoolean
Prevent all company users from making purchase
currencyGenericScalar
All currency info, contains currency symbol, decimal place, etc.