Version: 202506
Update supplier
PUT/openapi/2025-06/suppliers/:id
Updates the details of an existing supplier by its unique identifier (id).
Request
Path Parameters
id uint64required
Supplier ID to update
- application/json
- Body
- Example
Bodyrequired
supplier objectrequired
Object containing supplier details
urlstringrequired
Updated URL of the supplier
{
"supplier": {
"url": "string"
}
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
codestring
error code
messagestring
error message
data object
supplier object
Object containing supplier details
iduint64
Supplier ID
titlestring
Name of the supplier
urlstring
URL associated with the supplier
created_atstring
Timestamp when the supplier was created, in ISO-8601 format
updated_atstring
Timestamp when the supplier was last updated, in ISO-8601 format
{
"code": "string",
"message": "string",
"data": {
"supplier": {
"id": 0,
"title": "string",
"url": "string",
"created_at": "string",
"updated_at": "string"
}
}
}