Returns > Returns > returnNotesCreate
Commerce APIReturnsReturnsreturnNotesCreate
returnNotesCreate
POST:return_notes.json

Description

Create one or multiple return notes.

Permission bit: "return_notes.create"

Topic: Returns

Arguments

data: [NoteCreate!]!

Main argument for mutations.


return_id: String!

Unique return identifier. See also: Unique Identifiers

Example: "rt_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