REST API for Latepoint icon

REST API for Latepoint

Consume REST API for LatePoint on Tools

Orders → Update

AI-generated

Summary

Update an existing order by specifying its unique ID and sending updated data either as individual fields or a custom JSON or form data body.

Inputs

  • ID (required) — The unique identifier of the order to update.
  • Send Body — Toggle to send a custom request body instead of individual fields.
  • Body Content Type — The format of the custom body content to send—JSON or Form Data. Shown only if 'Send Body' is true.
  • JSON Body — A JSON object to send as the request body containing update data. Required if sending body as JSON.
  • Form Data — Form data parameters to send as the request body. Required if sending body as form data.
  • Additional Fields — Individual fields to update on the order, such as customer_id, subtotal, total, status, payment_status, fulfillment_status, customer_comment, and coupon_code.
  • Description — A description or prompt to provide context and purpose for this API operation (mainly for AI assistance).

Output shape

a single record representing the updated order

The operation returns the updated order data. Use 'Send Body' to fully customize the update payload. If not sending a custom body, fields set in Additional Fields are used. The response includes order details after the update.

Examples

Example 1: Update order status and total

Set Resource to 'Orders', Operation to 'Update', enter the order's ID, and under Additional Fields set 'status' and 'total' to new values.

Example 2: Send custom JSON body to update order

Set Resource to 'Orders', Operation to 'Update', enter order ID, enable 'Send Body', select 'JSON' as Body Content Type, and provide a JSON object defining desired fields.

Links

Discussion