Skip to content

Stop receiving from a supplier: receives naming it are refused and pickers stop offering it. What was received from it — and the supplier recall — is unaffected. Idempotent.

POST
/suppliers/{id}/deactivate
curl --request POST \
--url https://app.dev.buildtrace.eu/api/suppliers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/deactivate \
--header 'Authorization: Bearer <token>'

Required scope: suppliers:write.

id
required
string format: uuid

Deactivated

Media typeapplication/json
object
id
required
string format: uuid
code
required
string
name
required
string
contact
string
notes
string
active
required
boolean

Example generated

{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"code": "example",
"name": "example",
"contact": "example",
"notes": "example",
"active": true
}

Unauthorized

Not found