PATCH /api-v1/purchase-invoice/{id}/refused

Headers

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID integer

    ID of organization, for which the operation must be performed

Path parameters

  • id integer Required
application/json

Body Required

  • * string Additional properties

Responses

  • 200

    OK

  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

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 "WEAL-TOKEN: string" \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --data '{"additionalProperty1":"string","additionalProperty2":"string"}'
Request examples
# Headers
WEAL-TOKEN: string
TARGET-ORGANIZATION-ID: 42

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