Skip to navigation

Update Vendor

View as Markdown

Update Vendor

The updateVendor API is used to update vendor information in the external API. The request should include a payload with the vendorId and data parameters. Upon successful execution, the API returns a response with a success key indicating whether the operation was successful or not.

Request Body

ParamRequiredTypeDescription
vendorIdMandatoryIntegerThe ID of the vendor.
dataMandatoryObjectAdditional data related to the vendor.

Example Request:

{
"vendorId": 0,
"data": {}
}

Example Response:

{
"success": true
}

Headers

DICE-APP-IDstringOptional
Company Code of client
X-CLIENT-IDstringOptional
API Client ID
X-CLIENT-SECRETstringOptional
API Client Secret

Request

This endpoint expects an object.
vendorIdintegerRequired
dataobjectRequired

Response

OK
successboolean