For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Developer
Developer
Search docs
/
Ask AI
Dev Portal
Docs
API Reference
Learn
Community
Changelog
GraphQL
B2B
Queries
companyCreditConfig
Copy page
Get company credit config. Requires a B2B Token.
Arguments
isMasqueradingCompany
Boolean
Optional
If true, it will return the masquerading company credit config
Returns
an optional CompanyCreditConfigType
creditEnabled
Boolean
Optional
Is company credit enabled
creditCurrency
String
Optional
Currency code of credit available credit
availableCredit
Double
Optional
The available credit value
limitPurchases
Boolean
Optional
Disable via PO Payment when credit value is exceed
creditHold
Boolean
Optional
Prevent all company users from making purchase
currency
String
Optional
All currency info, contains currency symbol, decimal place, etc.