orders

Activate order

Activate a draft order by ID. Activation starts billing for the order using the same validation and side effects as the dashboard activation flow.

post/orders/{id}/activate

Request

  • Base URL: https://api.agentpaid.io/api/v2
  • URL: https://api.agentpaid.io/api/v2/orders/{id}/activate
  • Auth: HTTP bearer

Path parameters

idstring required

Response

200

idstring required
customerIdstring required
billingCustomerIdstring nullable required
billingContactIdsstring[] required
createdAtstring date-time required
updatedAtstring date-time required
endDatestring date-time nullable required
namestring required
startDatestring date-time required
subscriptionTermsinteger nullable required
billedAmountNoTaxnumber double required
billedTaxnumber double required
estimatedTaxnumber double required
orderAmountnumber double required
pendingBillingAmountnumber double required
totalAmountnumber double required
totalBilledAmountnumber double required
creationState'draft' | 'active' required
paymentTermsstring nullable required
numbernumber double required
metadataobject nullable required
showPaymentLinkboolean nullable required
showBankDetailsboolean nullable required
autoPostInvoicesboolean nullable required
autoSendBillingEmailsboolean nullable required
autoSendPaymentEmailsboolean nullable required
versioninteger required
billingFrequencyOverriddenboolean required
purchaseOrderReferencestring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.