deleteLineItemById
View as MarkdownRemoves a line item from a draft order
mutation
Requires one of commerce.order:create, commerce.order:update, commerce.order:cancel, or commerce.order:complete (use the scope that matches the operation).
Removes a line item from a draft order
Required headers
| Header | Required | Description |
|---|---|---|
x-store-id | Yes | ID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: extensions.code: "UNAUTHENTICATED". |
Go to Authentication for credential setup.
Arguments
orderIdID!requiredidID!required
Possible returns
BooleanBoolean— TheBooleanscalar type representstrueorfalse.
Last updated on
How is this guide?