Skip to main content
POST
/
v1
/
admin
/
orders
/
{id}
/
retry-allocation
Retry allocation for unallocated order items
curl --request POST \
  --url http://localhost:3000/v1/admin/orders/{id}/retry-allocation \
  --header 'Content-Type: application/json' \
  --data '
{
  "order_item_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "success": true,
  "retried_items": 123,
  "allocation": {
    "rfc_items": 123,
    "sweep_items": 123,
    "pick_lists_created": 123,
    "sweeps_used": [
      "<string>"
    ]
  },
  "attempts": [
    {
      "order_item_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "success",
      "fulfillment_source": "<string>",
      "sweep_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "error_message": "<string>"
    }
  ],
  "errors": [
    "<string>"
  ]
}

Path Parameters

id
string<uuid>
required

Body

application/json
order_item_ids
string<uuid>[]

Specific item IDs to retry. Omit to retry all unallocated items.

Response

200 - application/json

Retry allocation results

success
boolean
required
retried_items
number
required
allocation
object
required
attempts
object[]
required
errors
string[]