Skip to main content

Unarchive Faire Order

POST 

/api/faire/orders/:order/unarchive

Unarchives a single Faire order — clears archived_at via the Archive trait. After unarchiving, the order becomes eligible for auto-create-SKU-orders again.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Idempotent: unarchiving an already-active order returns unarchived: false.

Path Parameters:

  • order — The internal Faire order ID (faire_orders.id)

Response Fields:

  • message — Human-readable result
  • unarchivedtrue when the call flipped the row, false if it was already active

Request

Responses

OK

Response Headers
    Content-Type