Skip to main content

Update SKU Order from Faire Order

POST 

/api/faire/instances/:integrationInstance/orders/:order/update-sku-order

Refetches the order from Faire and synchronously syncs the linked SKU.io sales order's status fields (order_status, payment_status, last_synced_from_sales_channel_at).

Path Parameters:

  • integrationInstance — The ID of the integration instance
  • order — The internal Faire order ID (faire_orders.id)

Body: Empty.

Response Fields:

  • message — Human-readable result
  • refetchedtrue when the latest order state was successfully fetched from Faire before the SKU sync

Errors:

  • 403 when the order does not belong to the supplied integration instance
  • 404 when the Faire order has no linked SKU sales order
  • 422 when the SKU sales order update fails (e.g., refetch error or downstream validation)

Request

Responses

Successful response