REST API for Latepoint icon

REST API for Latepoint

Consume REST API for LatePoint on Tools

Orders → Create

AI-generated

Summary

Creates a new order in LatePoint by sending a POST request to the REST API's /orders endpoint, using either individual fields or a custom JSON/form body.

Inputs

  • Customer ID (required) — ID of the customer placing the order (orderCustomerId). Sent as customer_id. Ignored when Send Body is enabled.
  • Additional Fields — Optional order fields: customer_id, subtotal, total, status (open/completed/cancelled), payment_status (not_paid/paid/partially_paid), fulfillment_status (not_fulfilled/fulfilled/completed), customer_comment, coupon_code. They are merged into the body. The required Customer ID overrides any customer_id set here.
  • Send Body — When true, the request body comes entirely from the JSON Body or Form Data parameters. The Customer ID and Additional Fields are not used.
  • Body Content Type — JSON or Form Data. Shown only when Send Body is on.
  • JSON Body — JSON object used as the request body. Invalid JSON throws an error.
  • Form Data — Name/value pairs that are assembled into a key-value object body. Note that the request is still sent as JSON.
  • Description — Free-text prompt/context for AI use. The source does not send it to the API.

Output shape

One item per input item. Its json is the API response's data field, i.e. the created order record. If there is no data field, the full response is returned.

Authenticates with a Bearer API key and a base URL from the credentials. With Continue On Fail enabled, a failed item yields {error: message}. Only the Customer ID is sent in field mode, so other fields such as totals take the API's defaults unless you add them in Additional Fields.

Examples

Example 1: Open an empty order for an existing customer

Resource: Orders, Operation: Create, Customer ID: 42. Leave Send Body off.

Example 2: Create a paid order with totals and a coupon

Customer ID: 42. Additional Fields: subtotal 100, total 90, payment_status paid, coupon_code SAVE10.

Example 3: Send a fully custom payload

Send Body on, Body Content Type JSON, JSON Body: {"customer_id": 42, "total": 50, "status": "open"}.

Links

Discussion