curl --request POST \
--url https://api.topsort.com/public/v1/billing-service/vendors/{external-vendor-id}/credit-limit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"creditLimit": 1
}
'{
"result": true
}Endpoint to set the credit limit for a vendor.
This endpoint is a no-op as vendor credit limit has been removed.
curl --request POST \
--url https://api.topsort.com/public/v1/billing-service/vendors/{external-vendor-id}/credit-limit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"creditLimit": 1
}
'{
"result": true
}A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.
The External ID of the Vendor to retrieve.
1Basic request Data for Credit Limit, contains just the Credit Limit as a float.
x >= 0Successful Response
Result of the Credit Limit Set. Returns True if the operation was executed correctly.
Was this page helpful?