Customers > Customers > customerNotesCreate
Commerce APICustomersCustomerscustomerNotesCreate
customerNotesCreate
POST:customer_notes.json

Description

Create one or multiple customer notes.

Customers cannot see these notes.

Permission bit: "customer_notes.create"

Topic: Customers

Arguments

customer_id: String!

Unique customer identifier. See also: Unique Identifiers

Example: "cu_EQzGqWoY"


data: [NoteCreate!]!

Main argument for mutations.


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