Inventory > Purchase Orders > purchaseOrderNotesCreate
Commerce APIInventoryPurchase OrderspurchaseOrderNotesCreate
purchaseOrderNotesCreate
POST:purchase_order_notes.json

Description

Create one or multiple purchase order notes.

Permission bit: "purchase_order_notes.create"

Topic: Purchase Orders

Arguments

data: [NoteCreate!]!

Main argument for mutations.


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