Update Order Items
Order Items
Update Order Items
Update specific details of an order item including special instructions, product information, and item specifications.
PATCH
Update Order Items
This endpoint allows you to update specific details of an order item after the order has been created. You can modify special instructions, update product descriptions, change categories, or adjust item specifications without affecting quantity or pricing.
This endpoint is designed for updating item metadata and preparation instructions. For quantity changes or item removal, use the Patch Order Cart endpoint instead.
Path Parameters
string
required
The unique identifier of the order containing the item to update
string
required
The unique identifier of the specific order item to update
Request Body
string
Updated special preparation instructions for this item
string
Updated product name as displayed in store
string
Updated product description
string
Updated product category classification
string
Updated item size specification
string
Internal notes for kitchen staff or fulfillment team
string
Employee ID who made the update (for audit trail)
Response
boolean
Indicates whether the update was successful
string
Confirmation message or error details
string
The ID of the updated order item
array
List of fields that were successfully updated
string
Timestamp when the update was applied
Request Example
Response Example
Update Tracking
Update Tracking
When an order item is updated, the following occurs:
- Field Validation: All provided fields are validated for format and content
- Audit Log: Change is recorded with timestamp and user information
- Fulfillment Update: Kitchen/fulfillment systems are notified of changes
- History Tracking: Previous values are preserved for audit trail
- Status Check: Order status is verified to ensure modifications are allowed
Immutable Fields: Certain fields like quantity, pricing, and core product identifiers cannot be updated through this endpoint. Use the appropriate order modification endpoints for those changes.
Use Cases
Common Update Scenarios
Common Update Scenarios
Special Instructions Updates
- Add dietary restrictions or allergies
- Update preparation preferences
- Include delivery instructions
- Fix product name typos
- Update descriptions for clarity
- Correct category classifications
- Add handling instructions
- Include quality control notes
- Specify packing requirements
- Update based on customer requests
- Clarify ambiguous instructions
- Add additional context for staff
Error Responses
Common Error Scenarios
Common Error Scenarios
Order Item Not FoundOrder Not ModifiableInvalid Field ValueValidation Error
Character Limits: Special instructions and descriptions have character limits. Ensure your updates stay within these bounds to avoid validation errors.
Field Validation Rules
Validation Requirements
Validation Requirements
special_instructions
- Maximum length: 500 characters
- Can include basic punctuation and numbers
- No HTML or special formatting allowed
- Maximum length: 200 characters
- Must be unique within the order
- Cannot be empty if provided
- Maximum length: 1000 characters
- Supports basic formatting
- Optional field
- Must match existing category in system
- Case-sensitive matching
- Cannot be null if provided
- Maximum length: 50 characters
- Free-form text field
- Commonly used values: “Small”, “Medium”, “Large”, “1 count”, etc.

