API
Get Vendor Credit Limit
GET
/v1/billing-service/vendors/{external-vendor-id}/credit-limit
Endpoint to get the credit limit for a vendor.
This endpoint has been deprecated and now it returns the marketplace credit limit for all vendors.
Authentication
Topsort’s APIs are authenticated via bearer tokens. Requests must include an authorization header containing your private API key.
Don't have an API key yet? Learn how to generate one.
Authorization
required
string
The header containing a private API key. Format this header as follows:
Authorization: Bearer <YOUR-API-KEY>
Path Parameters
object
external-vendor-id
required
The External ID of the Vendor to retrieve.
string
The External ID of the Vendor to retrieve.
Responses
Successful Response
This response contains the Credit Limit for the Vendor as a float and adds a property for Vendors (defaultsToMarketplaceCreditLimit)
application/json
object
creditLimit
number
currencyCode
required
string
defaultsToMarketplaceCreditLimit
required
boolean
Validation Error
application/json
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string