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

application/json

Body Required

refusedReason

  • * string Additional properties

Responses

  • 200

    OK

PATCH /api-v1/purchase-invoice/{id}/refused
curl \
 --request PATCH 'https://wyzio.app/api-v1/purchase-invoice/{id}/refused' \
 --header "Content-Type: application/json" \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string" \
 --data '{"additionalProperty1":"string","additionalProperty2":"string"}'
Request examples
# Headers
TARGET-ORGANIZATION-ID: 42
WEAL-TOKEN: string

# Payload
{
  "additionalProperty1": "string",
  "additionalProperty2": "string"
}