Skip to main content

Save Integration Credentials

PUT 

/v1/api/integrations/credentials

Creates or updates a site's WMS/ERP integration credentials. Only the fields present in the body are written — an omitted field keeps its stored value, so the dashboard can save its form without resending secrets it never received. An empty string or explicit null clears a field.

Which fields a given provider needs is declared in its manifest (GET /v1/api/integrations/providers). Credentials are stored per site — a customer has at most one WMS/ERP — so switching providers reuses the same stored row. Secret fields (api_key, bearer_token, oauth_client_secret, webhook_secret) are encrypted at rest.

Auth Required

Required Permissions (any one of):

  • system.settings:write ("System Settings Write")
  • admin.sites:write ("Sites Write")

Request​

Responses​

Credentials saved