Orders > Orders > ordersRestock
POST:orders/restock.json
Description
Restock one or multiple items from an order.
Permission bit: "orders.restock"
Topic: Orders
Arguments
data: OrderRestock!
Main argument for mutations.
Unique order identifier. See also: Unique Identifiers
Example: "or_EQzGqWoY"
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Whether to perform full restock or not
Example: false
line_items: [OrderRestockLineItem!]
Line items to restock
Result
Preview (typescript)
Loading module