Partially update a schema type
Updates the schema of a schema type. content_type cannot be changed. schema must be included in the body.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The model name of the content type the schema type describes (e.g. product).
productThe body of a schema-type update request. Only schema is writable; content_type cannot be changed. schema must be supplied — a request that omits it fails.
The JSON-schema document describing the model's structured attribute data. Must be supplied on update.
The updated schema type.
A schema type — a JSON-schema definition bound to a model (content type).
The unique identifier of the record.
The identifier of the Django content type (model) this schema describes. Set on create; unique across all schema types.
The JSON-schema document describing the model's structured attribute data.
The model name of the content type (e.g. product).
When the record was created.
When the record was last modified.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested schema type does not exist.
PATCH /api/v1/remote/1/schema_types/{content_type__model}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 99
{
"schema": {
"type": "object",
"properties": {
"material": {
"type": "string"
},
"weight": {
"type": "number"
}
}
}
}{
"pk": 3,
"content_type": 17,
"schema": {
"type": "object",
"properties": {
"material": {
"type": "string"
}
}
},
"model": "product",
"created_date": "2026-06-01T10:00:00Z",
"modified_date": "2026-06-01T10:00:00Z"
}Last updated
Was this helpful?

