API
Set Vendor Credit Limit
POST
/v1/billing-service/vendors/{external-vendor-id}/credit-limit
Endpoint to set the credit limit for a vendor.
This endpoint is a no-op as vendor credit limit has been removed.
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.
Request Body
Basic request Data for Credit Limit, contains just the Credit Limit as a float
application/json
object
creditLimit
number
Responses
Successful Response
This is the result of the Credit Limit Set. returns True if the operation was executed correctly.
application/json
object
result
required
boolean
Validation Error
application/json
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string