For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Search docs
/
Ask AI
Dev Portal
Docs
API Reference
Learn
Community
Changelog
Developer
Developer
Developer
Developer
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
Is company credit enabled
creditCurrency
String
Currency code of credit available credit
availableCredit
Double
The available credit value
limitPurchases
Boolean
Disable via PO Payment when credit value is exceed
creditHold
Boolean
Prevent all company users from making purchase
currency
GenericScalar
All currency info, contains currency symbol, decimal place, etc.