Refuses a supplier order waiting for validation, with a required comment: the order goes back to Draft and its validations no longer count. Same rights as the validation
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
POST
/api-v1/procurement/supplier-orders/{id}/refuse
curl \
--request POST 'https://wyzio.app/api-v1/procurement/supplier-orders/{id}/refuse' \
--header "Content-Type: application/json" \
--data '{
"comment": "Price too high, please negotiate"
}'
Request examples
# Headers
# Payload
{
"comment": "Price too high, please negotiate"
}
Response examples (200)
{}