POST
/
public
/
v1
/
billing-service
/
vendors
/
{external-vendor-id}
/
credit-limit
curl --request POST \
  --url https://api.topsort.com/public/v1/billing-service/vendors/{external-vendor-id}/credit-limit \
  --header 'Content-Type: application/json' \
  --data '{
  "creditLimit": 1
}'
{
  "result": true
}

Path Parameters

external-vendor-id
string
required

The External ID of the Vendor to retrieve.

Minimum length: 1

Body

application/json

Basic request Data for Credit Limit, contains just the Credit Limit as a float

creditLimit
number
Required range: x >= 0

Response

200
application/json
Successful Response

This is the result of the Credit Limit Set. returns True if the operation was executed correctly.

result
boolean
required