Gambio icon

Gambio

Interact with Gambio REST API v3

Actions220

Order Item Attribute (v2) → Update

AI-generated

Summary

Update an existing order item attribute in a specified order and item using Gambio's v2 API.

Inputs

  • Authentication — Choose between Basic Auth (admin email and password, compatible with v2 and v3 API) or Bearer Token (JWT from Gambio Admin, compatible with v3 API only) for API authentication.
  • Order ID (required) — Specify the ID of the order containing the item attribute to update.
  • Item ID (required) — Specify the ID of the order item containing the attribute to update.
  • Attribute ID (required) — Specify the ID of the attribute to be updated.
  • Attribute Data (JSON) (required) — Provide a JSON object with attribute details to update. This includes fields such as name, value, price, priceType, and either the attributes system (optionId and optionValueId) or properties system (combisId).

Output shape

a single record representing the updated order item attribute.

The operation sends a PUT request to the endpoint /api.php/v2/orders/{orderId}/items/{itemId}/attributes/{attributeId}/Property with the attribute data parsed from the JSON input. The response contains the updated attribute data as per Gambio's API response.

Discussion