Skip to main content

Update Supplier

PUT 

/api/suppliers/:supplier

Update an existing supplier. All fields are optional.

  • purchase_order_format — only allowed on PUT.
  • purchase_order_csv_columns — optional array of column keys controlling which columns appear in this supplier's outgoing PO email CSV attachment. Each entry must be one of the keys returned by GET /api/purchase-orders/csv-columns. Set to null (or omit) to fall back to the tenant default. Set to an empty array to fall back to the tenant default. Order of the array determines column order in the CSV. Use the POST /api/suppliers/:supplier/csv-sample endpoint to preview the layout.

Authentication: Requires Bearer token. Requires IsPowerUserAccess middleware.

Request

Responses

Successful response