Update an Order

This endpoint is only relevant to Fully Hosted and Custom integrations.

If you’re building with a Forage SDK, then use the Payments endpoints.

A POST request to /orders/{order_ref}/ modifies the indicated Order object.

The order_ref is the ref value that Forage returns in response to the request that created the Order’s parent Session.

On success, the API responds with the updated Order.

To modify payments associated with an Order, send a request to Update an OrderPayment instead.