201Successful Response
Schema: SuccessEnvelope_CreditMemoApplicationResponse_
successbooleanmessagestringcodestringdataCreditMemoApplicationResponse
/api/v1/credit-memos/{credit_memo_id}/applyApply a portion or all of a credit memo to an invoice.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
credit_memo_idstringrequiredSchema: CreditMemoApplicationCreate
invoice_idstringrequiredInvoice to apply credit to
amount_centsintegerrequiredAmount to apply in cents
Schema: SuccessEnvelope_CreditMemoApplicationResponse_
successbooleanmessagestringcodestringdataCreditMemoApplicationResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject