- 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 EditPOST
- Confirm Order EditPOST
- Request Order EditPOST
- Add Items to Order EditPOST
- Update Order Item Quantity of Order EditPOST
- Remove Item from Order EditDELETE
- Update an Item in an Order EditPOST
- Add Shipping Method to Order EditPOST
- Remove Shipping Method from Order EditDELETE
- Update Shipping Method of an Order EditPOST
- Cancel Order EditDELETE
- 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
Update Shipping Method of an Order Edit
POST
/admin/order-edits/{id}/shipping-method/{action_id}
Order Edits
SHIPPING_ADD
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
Shell
JavaScript
Java
Swift
curl --location -g --request POST '{{BASE_URL}}/admin/order-edits//shipping-method/' \
--header 'Content-Type: application/json' \
--data-raw '{
"custom_amount": 0,
"internal_note": "string",
"metadata": {}
}'
Response Response Example
200 - Example 1
Request
Authorization
or
or
or
Path Params
id
stringÂ
required
action_id
stringÂ
required
SHIPPING_ADD
action.Body Params application/json
The shipping method's details.
custom_amount
numberÂ
custom_amount
internal_note
stringÂ
internal_note
metadata
objectÂ
optional
Examples
Responses
🟢200OK
application/json
Body
The preview of an order edit.
order_preview
object (AdminOrderPreview)Â
required
order_change
object (AdminOrderChange)Â
required
shipping_address
object (AdminOrderAddress)Â
optional
billing_address
object (AdminOrderAddress)Â
optional
summary
object (BaseOrderSummary)Â
required
customer
object (AdminCustomer)Â
optional
sales_channel
object (AdminSalesChannel)Â
optional
region
object (AdminRegion)Â
optional
return_requested_total
numberÂ
return_requested_total
currency_code
stringÂ
currency_code
version
numberÂ
version
id
stringÂ
id
region_id
stringÂ
region_id
customer_id
stringÂ
customer_id
sales_channel_id
stringÂ
sales_channel_id
email
string <email>
email
display_id
numberÂ
display_id
payment_collections
array[object (AdminPaymentCollection) {14}]Â
required
fulfillments
array[object (AdminOrderFulfillment) {13}]Â
optional
transactions
array[object (BaseOrderTransaction) {9}]Â
optional
metadata
objectÂ
optional
created_at
string <date-time>
created_at
updated_at
string <date-time>
updated_at
original_item_total
numberÂ
original_item_total
original_item_subtotal
numberÂ
original_item_subtotal
original_item_tax_total
numberÂ
original_item_tax_total
item_total
numberÂ
item_total
item_subtotal
numberÂ
item_subtotal
item_tax_total
numberÂ
item_tax_total
original_total
numberÂ
original_total
original_subtotal
numberÂ
original_subtotal
original_tax_total
numberÂ
original_tax_total
total
numberÂ
total
subtotal
numberÂ
subtotal
tax_total
numberÂ
tax_total
discount_total
numberÂ
discount_total
discount_tax_total
numberÂ
discount_tax_total
gift_card_total
numberÂ
gift_card_total
gift_card_tax_total
numberÂ
gift_card_tax_total
shipping_total
numberÂ
shipping_total
shipping_subtotal
numberÂ
shipping_subtotal
shipping_tax_total
numberÂ
shipping_tax_total
original_shipping_total
numberÂ
original_shipping_total
original_shipping_subtotal
numberÂ
original_shipping_subtotal
original_shipping_tax_total
numberÂ
original_shipping_tax_total
status
stringÂ
status
credit_lines
array[object (OrderCreditLine) {9}]Â
optional
payment_status
enum<string>Â
required
Allowed values:
cancelednot_paidawaitingauthorizedpartially_authorizedcapturedpartially_capturedpartially_refundedrefundedrequires_action
fulfillment_status
enum<string>Â
required
Allowed values:
cancelednot_fulfilledpartially_fulfilledfulfilledpartially_shippedshippedpartially_delivereddelivered
shipping_methods
array [object {22}]Â
optional
items
array [object {44}]Â
optional
🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
🟠409409
🟠422Parameter Error
🔴500Server Error
Modified at 2025-06-17 04:10:32