Refused from purchase invoice
PATCH
/api-v1/purchase-invoice/{id}/refused
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
WEAL-TOKEN string Required
API token (can be retrieved from account settings)
Path parameters
-
id integer Required
id
PATCH /api-v1/purchase-invoice/{id}/refused
curl \
-X PATCH http://wyzio.app/api-v1/purchase-invoice/{id}/refused \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string" \
-d '{"key":"string"}'
Request example
# Headers
TARGET-ORGANIZATION-ID: 42
WEAL-TOKEN: string
# Payload
{
"key": "string"
}