201Successful Response
Schema: SuccessEnvelope_VendorCreditApplicationResponse_
successbooleanmessagestringcodestringdataVendorCreditApplicationResponse
/api/v1/vendor-credits/{vendor_credit_id}/applyApply a portion or all of a vendor credit to a bill.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
vendor_credit_idstringrequiredSchema: VendorCreditApplicationCreate
bill_idstringrequiredBill to apply credit to
amount_centsintegerrequiredAmount to apply in cents
Schema: SuccessEnvelope_VendorCreditApplicationResponse_
successbooleanmessagestringcodestringdataVendorCreditApplicationResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject