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 | Param | Required | Type | Description | | --- | --- | --- | --- | | vendorId | Mandatory | Integer | The ID of the vendor. | | data | Mandatory | Object | Additional data related to the vendor. | Example Request: ``` json { "vendorId": 0, "data": {} } ``` Example Response: ``` json { "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