Gambio icon

Gambio

Interact with Gambio REST API v3

Actions220

Order Total (v2) → Create

AI-generated

Summary

Create a new order total entry for a specified order in the Gambio store.

Inputs

  • Authentication — Choose authentication method with the Gambio API: Basic Auth (admin email and password) or Bearer Token (JWT). Defaults to Basic Auth.
  • Order ID (required) — The numeric ID of the order to which the order total will be added.
  • Total Data (JSON) (required) — A JSON object describing the order total details such as title, value, valueText, class (e.g. ot_subtotal, ot_shipping), and sortOrder. Must be a properly formatted JSON object.
  • Request Options — Optional advanced HTTP request settings including batching (items per batch and interval), ignoring SSL issues, proxy configuration, and timeout in milliseconds.

Output shape

A single record representing the created order total resource as returned by the Gambio API.

The operation sends a POST request to '/api.php/v2/orders/{orderIdTotal}/totals' with the parsed JSON body defined by Total Data. The response includes the created order total data. Authentication and request options are configurable but optional. Errors from the API will be returned in the node output as usual.

Discussion