Skip to navigation

Activate an order

Draft scaffold — not implemented or available in the API.

Starts billing a draft order. Fails unless the customer is active and every line’s price or rate card is active and offered in the order’s currency. Returns 200 with status: "active" once billing confirms, or 202 with status: "activating" if it takes longer, after which the order moves to active, or back to draft if activation fails. {order} takes the order’s ord_ ID or your externalId.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

orderstringRequired1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.

Headers

Paid-BetaenumRequired

This endpoint is in the orders=v1 beta. Send this header to use it.

Allowed values:

Response

200
idstring
The Order ID.
objectenum

The type of object. Always order.

Allowed values:
createdAtdatetime
When the object was created.
activatedAtdatetime or null
When activation completed.
billingContactslist of strings
Billing contact IDs.
billingCycleobject
OrderBillingCycle.
billTostring or null1-255 characters

The customer who pays for the order. Defaults to the customer’s parent when the order is created, then the customer itself.

commitslist of strings
Order commit IDs.
currencystring

Lowercase ISO 4217 currency code, e.g. usd.

customerstring1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.
endsAtdatetime or null

Exclusive end; null means no end.

externalIdstring or null
Your stable identifier, 1 to 255 characters.
invoiceSettingsobject
OrderInvoiceSettings.
lineslist of objects
Order lines, including ended lines.
livemodeboolean

true for an object on a live account, false on a test account.

metadatamap from strings to strings

String key-value pairs of your own, up to 500 characters per value. Always updatable.

namestring
The resource name.
negotiatedPricinglist of objects
Every negotiated pricing entry on the order, including ended and scheduled ones.
planobject or null
The plan used to build the order.
purchaseOrderNumberstring or null

Purchase-order number printed on invoices.

startsAtdatetime
When billing starts.
statusenum
Order lifecycle state.
Allowed values:
updatedAtdatetime
When the object was last changed.
versioninteger
Amendment concurrency version.
paymentTermsenumOptionalDefaults to net30
Invoice payment terms.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error