API DocumentationManufacturer customer organisation controller

Add metadata to a customer organisation

Adds a new metadata entry (key/value pair) to a customer organisation. Keys must be unique per organisation.

POST
/api/manufacturer/v1/organisation/{organisationId}/metadata
AuthorizationBearer <token>

In: header

Path Parameters

organisationIdinteger

ID of the organisation to add metadata to

Formatint64
metadataKeystring
valuestring

Response Body

curl -X POST "http://m-api-dev.phas.io/api/manufacturer/v1/organisation/1/metadata" \  -H "Content-Type: application/json" \  -d '{    "metadataKey": "string",    "value": "string"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "metadataKey": "string",
  "value": "string"
}
Empty

Last updated on