Inventory > Purchase Orders > purchaseOrderNotesModify
Commerce APIInventoryPurchase OrderspurchaseOrderNotesModify
purchaseOrderNotesModify
POST:purchase_order_notes.json

Description

Modify one or multiple purchase order notes.

Permission bit: "purchase_order_notes.modify"

Topic: Purchase Orders

Arguments

data: [NoteModify!]!

Main argument for mutations.


ids: [String!]!

List of purchase order note ids. See also: Unique Identifiers

Example: ["np_EQzGqWoY"]


purchase_order_id: String!

Unique purchase order identifier. See also: Unique Identifiers

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