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 byGET /api/purchase-orders/csv-columns. Set tonull(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 thePOST /api/suppliers/:supplier/csv-sampleendpoint to preview the layout.
Authentication: Requires Bearer token. Requires IsPowerUserAccess middleware.
Request
Responses
- 200
Successful response