Skip to content

Commit

Permalink
Add API order acceptance restriction note for Express orders
Browse files Browse the repository at this point in the history
  • Loading branch information
mzachariadis committed Mar 28, 2024
1 parent dcfd8e8 commit 360836d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/localizable/smart_cart/orders_api.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ issuing "accept" or "reject" requests for the order, respectively.

To accept an order you need to provide the `pickup_location` and the `pickup_window` which are required. You can also specify `number_of_parcels` which is optional with a default value of `1` if missing.

> <i class="fa fa-exclamation-triangle"></i>
> Express orders cannot be accepted via the API. An automated mechanism will handle the order acceptance.

The available param values used are provided in `accept_options` when retrieving a single order.

<pre class="terminal">
Expand Down

0 comments on commit 360836d

Please sign in to comment.