- Plugins
- Auth
- Draft Orders
- Create a Draft Order EditPOST
- Cancel Edit on Draft OrderDELETE
- Confirm an Edit on a Draft OrderPOST
- Request Edit on Draft OrderPOST
- Convert a Draft Order to an OrderPOST
- Add Item to Draft Order EditPOST
- Update Existing Item in Draft Order EditPOST
- Remove Item from Draft Order EditDELETE
- Update New Item in Draft Order EditPOST
- Add Promotions to Draft Order EditPOST
- Remove Promotions from Draft Order EditDELETE
- Add Shipping Method to Draft Order EditPOST
- Remove Shipping Method from Draft Order EditDELETE
- Update Existing Shipping Method in Draft Order EditPOST
- Remove New Shipping Method from Draft OrderDELETE
- Update New Shipping Method in Draft Order EditPOST
- Delete a Draft OrderDELETE
- Get a Draft OrderGET
- Update a Draft OrderPOST
- Create Draft OrderPOST
- List Draft OrdersGET
- Fulfillment Providers
- Fulfillment Sets
- Inventory Items
- Manage Inventory Levels
- Manage Inventory Levels of Inventory Item
- Create Inventory Level for Inventory Item
- List Inventory Levels
- Update an Inventory Level of an Inventory Item
- Remove Inventory Level of Inventory Item
- Create Inventory Item
- List Inventory Items
- Get a Inventory Item
- Delete Inventory Item
- Update an Inventory Item
- Order Edits
- Create Order Edit
- Confirm Order Edit
- Request Order Edit
- Add Items to Order Edit
- Update Order Item Quantity of Order Edit
- Remove Item from Order Edit
- Update an Item in an Order Edit
- Add Shipping Method to Order Edit
- Remove Shipping Method from Order Edit
- Update Shipping Method of an Order Edit
- Cancel Order Edit
- Orders
- List Changes on an Order
- Mark a Fulfillment as Delivered.
- Get Preview
- Archive an Order
- Cancel Order
- Cancel Transfer Request
- Create Credit Line for Order
- Request Order Transfer
- Complete Order
- Update Order
- Get an Order
- List Line Items
- Cancel Fulfillment
- Create an Order Fulfillment
- Create Shipment for an Order's Fulfillment
- List Orders
- Payment Collections
- Products
- Create Product Import
- Confirm Product Import
- Export Products
- Manage Products
- Manage Variants in a Product
- Associate Variant with Inventory Item
- Remove Inventory Item Association with Product Variant
- Update Product Variant's Inventory Details
- Delete a Product
- Get a Product
- Update a Product
- Create a Product Option
- List a Product's Options
- Get a Product's Option
- Delete an Option from Product
- Update a Product's Option
- Get Variant of a Product
- Delete Product Variant
- Update a Product Variant
- Manage Variants Inventory in a Product
- Create a Product Variant
- List Variants of a Product
- Create Product
- List Products
- Claims
- Get a Claim
- Cancel a Claim
- Add Inbound Items to a Claim
- Remove an Inbound Item from Claim
- Update Inbound Items of a Claim
- Add an Inbound Shipping Method to a Claim
- Cancel Claim Request
- Confirm a Claim Request
- Add Claim Items to a Claim
- Remove a Claim Item from a Claim
- Update a Claim Item
- Remove Inbound Shipping Method from Claim
- Update Inbound Shipping Method of a Claim
- Add Outbound Items to a Claim
- Remove an Outbound Item from Claim
- Update Outbound Item of a Claim
- Add Outbound Shipping Methods to a Claim
- Remove Outbound Shipping Method from Claim
- Update Outbound Shipping Method of a Claim
- Create a Claim
- List Claims
- Currencies
- Exchanges
- Get an Exchange
- Cancel an Exchange
- Add Inbound Items to an Exchange
- Remove Inbound Item from Exchange
- Update an Inbount Item of an Exchange
- Add an Inbound Shipping Method to an Exchange
- Cancel Exchange Request
- Confirm an Exchange
- Remove Inbound Shipping Method from Exchange
- Update Inbound Shipping Method of an Exchange
- Add Outbound Items to Exchange
- Remove Outbound Item from Exchange
- Update Outbound Item of an Exchange
- Add Outbound Shipping Method to Exchange
- Remove Outbound Shipping Method from Exchange
- Update Outbound Shipping Method of Exchange
- Create Exchange
- List Exchanges
- Fulfillments
- Invites
- Notifications
- Payments
- Returns
- Cancel a return.
- Get a Return
- Update a Return
- Add Damaged Items to Return
- Remove Damaged Item from Return
- Update Damaged Item of Return
- Add Received Items to Return
- Remove a Received Item from Return
- Update a Received Item in a Return
- Confirm Return Receival
- Add Requested Items to Return
- Remove Item from Return
- Update Requested Item in Return
- Add a Shipping Method to a Return
- Remove Shipping Method from Return
- Update a Shipping Method of a Return
- Start Return Receival
- Cancel Return Receival
- Confirm Return Request
- Cancel Return Request
- Create Return
- List Returns
- Users
- Workflows Executions
- Api Keys
- Price Lists
- Stores
- Tax Rates
- Price Preferences
- Return Reasons
- Sales Channels
- Stock Locations
- Tax Regions
- Promotions
- Customer Groups
- Product Tags
- Product Types
- Refund Reasons
- Uploads
- Campaigns
- Collections
- Customers
- Product Categories
- Reservations
- Shipping Profiles
- Regions
- Tax Providers
- Shipping Options
- Product Variants
Remove Item from Draft Order Edit
DELETE
/admin/draft-orders/{id}/edit/items/{action_id}
Draft Orders
ITEM_ADD
or ITEM_UPDATE
action.actions
property, whose value is an array of actions. You can check the action's name using its action
property, and use the value of the id
property.Request Request Example
JavaScript
Shell
Java
Swift
curl --location -g --request DELETE '{{BASE_URL}}/admin/draft-orders//edit/items/'
Response Response Example
400 - Not Allowed Error
{
"message": "Discount must be set to dynamic",
"type": "not_allowed"
}
Request
Authorization
or
or
or
Path Params
id
stringÂ
required
action_id
stringÂ
required
ITEM_ADD
or ITEM_UPDATE
action.Responses
🟢200OK
This response does not have a body.
🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
🟠409409
🟠422Parameter Error
🔴500Server Error
Modified at 2025-06-17 04:10:32