Paramètres

Update a site's fields.

Permissions requises : admin:settings

patch/api/v1/settings/sites/{site_id}

Request

  • Base URL: https://erp.eyeot.fr/api/v1
  • URL: https://erp.eyeot.fr/api/v1/api/v1/settings/sites/{site_id}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

addressstring nullable
citystring
contact_emailstring email nullable
contact_namestring nullable
contact_phonestring nullable
namestring
site_type'HQ' | 'Production' | 'Logistique'

Response

Succès — payload {data, meta} (cf. API-GUIDE §3.1)

Changes

No recorded changes to this operation across all 1 revision of this API.