This is similar to Autodispatch Job
Autodispatch Order
For a given order, you can set up auto dispatch features by creating a Dispatch Strategy. In some scenarios, you may want to create an order to display the quotes to your customer before sending the order for fulfillment. This is the case in a checkout experience, where you would want to display the delivery options before dispatching the order. After the customer accepts the order and would like to place it, you can utilize theAutodispatch Order
endpoint to make sure
that the order is sent using the customized Options Group that you have created.
Therefore, to autodispatch a order using an options group, you need to ensure that an options group has been attached to the
order and that you have selected a dispatching strategy for the options group. When creating a order, you can display the
quotes to your customers, and then instead of selecting a quote, you can autodispatch the order using this endpoint.
Autodispatch Preferred Quote
When a call to/autodispatch
is made, the quote with the tag autodispatch_preferred_quote
will be selected.
You may utilize this tag to know what price to display to your customers, if you are utilizing this feature as
part of your checkout experience. You can access the full list of quotes order["quotes"]
and then filter
the one with "autodispatch_preferred_quote"
in quote.tags
.
Note: please make sure that Enable Autodispatch
is switched off so that the order is not autodispatched upon creation.Path Parameters
Unique reference number for the order: either order.id (starts with "ord_") or order.externalId
Example:
"ord_1234567890"
Response
OK
Expected output from autodispatch job endpoint.
A Nash Job.