Change some entries of the brand, without overwriting what someone else saved
Writes ONLY the entries sent, each one a field of its own (colors.primary is not colors.accent); null removes an entry. A font sent must be in the catalog (font_not_in_catalog) and an image sent must exist in the library (asset_not_found). Send the revision you read and, as base, what you read of each entry you send: an entry somebody else changed meanwhile and that differs from yours is a conflict, brand_revision_conflict lists only those and nothing is written; an entry nobody else touched is written. The answer carries the new revision.
PATCH
https://api.invox.page/v1/brandAuthorization
Header parameters
Request body JSON required
Returns
200
The brand, with its new revision.
JSON
400
organization_required: This credential needs to say which organization it acts on · validation_failed: The request is not valid · malformed_request: The request body is not valid JSON
JSON
401
unauthenticated: No credential was sent · invalid_credential: The credential is not valid
JSON
403
missing_scope: The credential lacks the permission this operation requires · organization_mismatch: The X-Organization header names another organization than the key's · organization_archived: The organization is archived
JSON
404
not_found: The resource does not exist in this organization · asset_not_found: The image does not exist in the library
JSON
409
brand_revision_conflict: Someone else changed these entries of the brand since you read them
JSON
422
font_not_in_catalog: The template uses a font that is not in the catalog
JSON
429
rate_limited: Too many requests
JSON
500
internal_error: The service failed
JSON
503
service_unavailable: The service cannot answer right now
JSON