Seed default payment terms

POST/api/v1/payment-terms/seed-defaults

Seed default payment terms for the business (if none exist).

Operation ID: seed_default_terms_api_v1_payment_terms_seed_defaults_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Responses

201Successful Response

successboolean
messagestring
codestring
dataPaymentTermsListResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject