Hyros icon

Hyros

Interact with Hyros API - Complete coverage of all endpoints

Actions60

Order → Update

AI-generated

Summary

Update an order in Hyros by order ID, replacing its line items and applying any supplied order-level fields. When Integration Type is set, the ID is matched against an item’s External ID for that integration.

Inputs

  • Order ID (required) — Order identifier to update. If Integration Type is provided, this is matched against an item External ID belonging to the order.
  • Items (required) — One or more replacement line items. Each requires a Name and Price; optional fields include category, cost of goods, external ID, rebill status, item discount, packages, quantity, SKU, tag, and taxes. Packages are sent as an array.
  • Update Fields — Optional order fields: cart ID, currency, external subscription ID, hard cost, integration type, order discount, price format, shipping cost, stage, and taxes. Hard Cost must be nonnegative; omitting it preserves the stored value and sending 0 clears it.

Output shape

A single API response object for the updated order.

The operation sends a PUT request to the order endpoint. It replaces the order’s items, so at least one item is required; supplied update fields are added to the request.

Links

Discussion