Actions220
- Additional Field (v2) Actions
- Address (v2) Actions
- Address Format (v2) Actions
- Attachment (v2) Actions
- Cache (v2) Actions
- Category (v2) Actions
- Category Icon (v2) Actions
- Category Image (v2) Actions
- Country (v2) Actions
- Cronjob (v2) Actions
- Currency (v3) Actions
- Customer (v3) Actions
- Customer Group (v2) Actions
- Customer (v2) Actions
- Email (v2) Actions
- Language (v2) Actions
- Manufacturer (v2) Actions
- Order (v2) Actions
- Order History (v2) Actions
- Order Item (v2) Actions
- Order Item Attribute (v2) Actions
- Order Status (v2) Actions
- Order Total (v2) Actions
- Order Tracking Code (v2) Actions
- Parcel Service (v2) Actions
- Payment Details (v2) Actions
- Product (v2) Actions
- Product Additional Field (v2) Actions
- Product Image (v2) Actions
- Product Link (v2) Actions
- Product Price (v2) Actions
- Quantity Unit (v2) Actions
- Review (v2) Actions
- Shop Information (v2) Actions
- Special Offer (v2) Actions
- Tax (v2) Actions
- Tracking Code (v2) Actions
- VPE (v2) Actions
- Withdrawal (v2) Actions
- Zone (v2) Actions
- Customer Addon Value (v3) Actions
- Customer Memo (v3) Actions
- Image List (v3) Actions
- Option (v3) Actions
- Parcel Service (v3) Actions
- Product Option (v3) Actions
- Product Variant (v3) Actions
- Tracking Code (v3) Actions
- Withdrawal (v3) Actions
Order Item Attribute (v2) → Create
AI-generatedSummary
Create a new attribute for a specific order item in Gambio via the v2 API.
Inputs
- Authentication — Choose how to authenticate with the Gambio API: Basic Auth with admin email and password (works for v2 and v3 API) or Bearer Token (JWT) for v3 API only.
- Order ID (required) — The ID of the order to which the item attribute will be added.
- Item ID (required) — The ID of the specific order item to which the attribute will be attached.
- Attribute Data (JSON) (required) — A JSON object containing the attribute data, which may use either the attributes system (optionId and optionValueId) or properties system (combisId). Typical fields include 'name', 'value', 'price', 'priceType', 'combisId', 'optionId', and 'optionValueId'.
Output shape
a single record containing the created order item attribute as returned by the Gambio API.
This operation sends a POST request to the endpoint /api.php/v2/orders/{orderId}/items/{itemId}/attributes. The response includes the details of the created attribute. No pagination applies.
Examples
Example 1: Create a color attribute 'Farbe: rot' with zero price for order 123 item 456
Set Order ID to 123, Item ID to 456, and use the Attribute Data JSON to specify name, value, and pricing fields accordingly.