Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Files__sync Attachments

Authenticated · x-tenant · Replace usage log rows for one record. Requires a signed-in staff user. Needs the `files__File` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).

MUTATIONfiles__syncAttachments(body: SyncFileAttachmentsInput!): Boolean!

Authenticated · x-tenant · Replace usage log rows for one record. Requires a signed-in staff user. Needs the files__File update permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

body*

Returns

files__syncAttachments*Boolean!
Example Request
mutation Files__syncAttachments($body: SyncFileAttachmentsInput!) {  files__syncAttachments(body: $body)}
Variables
{  "body": {    "collection": "string",    "documentId": "1",    "fields": [      {        "field": "string"      }    ]  }}
Example Response
{  "data": {    "files__syncAttachments": true  }}