Skip to main content

Auto Orders

📄️Update the payment information on an auto order

Updates the credit card on the original order behind an auto order, along with any rebills sitting in accounts receivable, and reactivates the auto order. Card data is accepted as hosted field tokens only. raw card numbers and card verification numbers are rejected. Set attempt_rebill to true to also attempt the rebill immediately, which runs synchronously and may take some time while the gateway is contacted. A declined card is reported in the response body rather than as an API error.

Webhooks​

The following webhook events are available for this resource. See Webhooks for how delivery, retries, and versioning work.

EventDescriptionReflowExpandable
auto_order_cancelFired when an auto order is canceled—Yes
auto_order_createFired when an auto order is created—Yes
auto_order_declineFired when an auto order is declined—Yes
auto_order_disableFired when an auto order is disabled—Yes
auto_order_item_cancelFired when an item on an auto order has reached its no_order_after date and effectively cancels—Yes
auto_order_item_cancel_scheduledFired when an item on an auto order is scheduled for cancellation (no_order_after set so the item has no future shipments)—Yes
auto_order_item_pauseFired when an item on an auto order is paused—Yes
auto_order_item_reactivateFired when an item on an auto order is reactivated (no_order_after cleared)—Yes
auto_order_item_unpauseFired when an item on an auto order is unpaused—Yes
auto_order_preshipmentFired when an auto order generates a new pre-shipment notice—Yes
auto_order_rebillFired when an auto order is rebilled—Yes
auto_order_updateFired when an auto order is updated—Yes
Was this page helpful?