201Successful Response
Schema: SuccessEnvelope_RevenueScheduleResponse_
successbooleanmessagestringcodestringdataRevenueScheduleResponse
/api/v1/revenue-schedules/preordersCollect pre-order cash to deferred revenue (releases on fulfillment).
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: PreorderBookRequest
order_referencestringrequiredStable pre-order identifier (idempotency key)
amount_centsintegerrequiredMerchandise amount in cents
order_datestring · dateCash-collection date (defaults to today)
receive_viastringDebit account for the booking: 'cash', 'ar', or 'clearing'
revenue_ledger_namestringRevenue ledger credited on fulfillment
currencystringreference_idstringOriginating object id
Schema: SuccessEnvelope_RevenueScheduleResponse_
successbooleanmessagestringcodestringdataRevenueScheduleResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject