ProductionMu Mutation

createEntityNote

Topics: Commerce Jobs Logistics

Save note changes independently of embedding success

Returns

EntityNotePayload!

Arguments

input for the explicit note mutation

Examples

Add Commerce Order Note

mutation AddCommerceOrderNote($input: CreateEntityNoteInput!) {
  createEntityNote(input: $input) {
    entityNote { id targetId body version }
    errors { path message }
  }
}

Variables

{
  "input": {
    "targetId": "ord_01h455vb4pex5vsknk084sn02q",
    "body": "Customer requested delivery after 10:00. Confirm the delivery appointment before dispatch."
  }
}
Exact field SDL
"""Save note changes independently of embedding success"""
createEntityNote(
  """input for the explicit note mutation"""
  input: CreateEntityNoteInput!
): EntityNotePayload! @topic(names: ["jobs", "commerce", "logistics"]) @topic_example(names: ["commerce.add-order-note"])

Declared on Mutation. Access is checked by the platform for each operation.