Update Faire Instance
PUT/api/faire/instances/:integrationInstance
Update an existing Faire integration instance.
Path Parameters:
integrationInstance- The ID of the integration instance
Partial Updates:
All fields are optional (use sometimes validation). Only the fields you provide will be updated:
name- New display name (max 255 chars)order_import_start_date- New import start date (or null to remove)is_automatic_sync_enabled- Toggle automatic background sync (boolean)auto_create_products- Auto-create local products from Faire feed (boolean)default_shipping_method_id- ID of the shipping method applied to every sales order imported from Faire. Faire never provides a shipping method on its orders, so this default is used for all imports. Passnullto clear the default. The response includes a hydrateddefault_shipping_methodobject (id, method_name, full_name, carrier_name) when set.inventory.masterOfStock-sku.ioorNeitherinventory.selectedWarehouses[]- Array of warehouse IDs whose stock contributes to the Faire inventory feedinventory.inventoryModificationRules- Min/max/buffer rules for the published inventory quantitiesfinancial_line_type_overrides- Optional object overriding the FinancialLineType used for the Faire-specific lines created on each imported order. All keys are optional; passnullto clear an override. Classification is enforced on each branch — see below:commission- FinancialLineType ID (must be acosttype). Applied to the marketplace fee Faire deducts on each order. Default branch creates/usesFaire Commission(cost).payout_fee- FinancialLineType ID (must be acosttype). Applied to the per-payout processing fee Faire takes. Default branch creates/usesFaire Payout Fee(cost).payout_protection_fee- FinancialLineType ID (must be acosttype). Applied when Faire deducts a payout-protection insurance charge on an order. Default branch creates/usesFaire Payout Protection Fee(cost).damaged_and_missing_items- FinancialLineType ID (must be acosttype). Applied when Faire deducts an adjustment for damaged or missing items on a delivered order. Default branch creates/usesFaire Damaged & Missing Items(cost).covered_shipping- FinancialLineType ID (must be arevenuetype). Applied when Faire reimburses shipping cost on covered orders. Default branch creates/usesFaire-Covered Shipping(revenue).- Validation: Mismatched classification (e.g., a revenue type passed for
commission) returns422witherrors.financial_line_type_overrides.<branch>.
Note: fulfillment_mode is fixed at creation time and ignored on update.
Response:
Returns the updated integration instance, including the resolved financial_line_type_overrides object (each branch is either null if no override is configured, or { id, name, classification }).
Request
Responses
- 200
Successful response