taxSummaryCreate - admin-graphql - MUTATION
Version: unstable
Description:
Creates a tax summary for a given order.
If both an order ID and a start and end time are provided, the order ID will be used.
Access Scopes
`write_taxes` access scope. Also: The caller must be a tax calculations app and the relevant feature must be on.
Arguments
-
endTime:
DateTime -
The end time of the range of orders to create the tax summary for.
-
orderId:
ID -
The ID of the order to create the tax summary for.
-
startTime:
DateTime -
The start time of the range of orders to create the tax summary for.
Returns
-
enqueuedOrders:
Order
A list of orders that were successfully enqueued to create a tax summary.
-
userErrors:
TaxSummaryCreateUserError!
The list of errors that occurred from executing the mutation.
Examples