Block a supplier
POST/suppliers/:code/block
Put a supplier on the block list with a fixed, translatable reason key. Blocked suppliers cannot be selected for approval in the PR wizard.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Successfully blocked supplier
Bad request - invalid code or reason key
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Supplier not found
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request
Internal server error