Skip to navigation

companyCreditConfig

Get company credit config. Requires a B2B Token.

Arguments

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

Returns

an optional CompanyCreditConfigType
creditEnabledBooleanOptional
Is company credit enabled
creditCurrencyStringOptional
Currency code of credit available credit
availableCreditDoubleOptional
The available credit value
limitPurchasesBooleanOptional
Disable via PO Payment when credit value is exceed
creditHoldBooleanOptional
Prevent all company users from making purchase
currencyStringOptional
All currency info, contains currency symbol, decimal place, etc.