Admin API / Mutations

updateOrderSellerNote

Sets the seller's private note on an order. The order's seller and the seller's store staff share one note, and no buyer sees it. The note replaces the earlier note. An empty or blank note clears it. A repeat with the same note changes nothing. Returns OrderNotFoundError when the caller cannot read the order, and UnauthorizedError with requiredRole: null when the order's seller is not the caller and not the owner of a store that the caller staffs. A note of more than 5,000 characters (Unicode code points) after trim gives a thrown VALIDATION_ERROR.

Requires a client key with one of these scopes: admin:orders:writeRequires this member role or higher: SELLER
updateOrderSellerNote(
  input: UpdateOrderSellerNoteInput!
): UpdateOrderSellerNotePayload!

Arguments

ArgumentTypeDescription
inputUpdateOrderSellerNoteInput!The order and the note.

Return type

UpdateOrderSellerNotePayload!