Recent searches


No recent searches

About read-only fields in the macro API



Posted Jan 28, 2021

The API documentation for macros says "There are no read-only fields".
When I tried to create a macro with the Create API including all the fields actually described in the document, no error occurred, but some fields were automatically rewritten.
Specifically, id, url, created_at, updated_at, and position.

Why are these values not read-only? Is it possible to overwrite under certain conditions?

In particular, `updated_at` should normally be read-only and I don't think there is any reason to overwrite it.

Please let me know if there is a clear reason or a plan to fix these.

 


0

1

1 comment

image avatar

Greg Katechis

Zendesk Developer Advocacy

That's a great question! I just tried updating a macro with some of these fields and I received a 400 instead of a 422 as well, so that is another area for us to investigate. I sent a line over to the product team that handles this. I'll let you know when I hear back from them!

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post