Orders > Orders > orderNotesCreate
Commerce APIOrdersOrdersorderNotesCreate
orderNotesCreate
POST:order_notes.json

Description

Create one or multiple order notes.

Customers cannot see these notes.

Permission bit: "order_notes.create"

Topic: Orders

Arguments

data: [NoteCreate!]!

Main argument for mutations.


order_id: String!

Unique order identifier. See also: Unique Identifiers

Example: "or_EQzGqWoY"


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

text: String!

Note text

Example: "Hello, my name is Bob."

Valid when: text is not empty

Valid when: text's length doesn't exceed 4096 characters


Result

[Note!]

Preview (typescript)

Loading module