Use the document service to access a single document by its document identifier. The identifier ({id}) of the requested document is part of the path and is identical with the Confluence page identifier.
Updating existing properties checks for properties defined in any projectdoc macro. New properties, without a reference to an existing property, are written to the Document Properties Marker Macro per default.