Skip to main content

Note API

The Note API provides read-only access to the optional text note that the customer left during checkout. Use this API to display delivery instructions, special requests, or other freeform messages the customer included with their order.

  • Display delivery instructions: Show the customer's note containing special delivery instructions, such as "Ring the doorbell twice."
  • Show special requests: Display any special requests the customer included with their order.
  • Conditional rendering: Check whether a note exists and conditionally render a section in your extension.

The shopify global object provides the note that the customer left during checkout. Access the following properties on shopify to read the customer's note.

<string | undefined>
required

A note left by the customer to the merchant, either in their cart or during checkout. The value is undefined if no note was provided.


  • Only a single note is supported per order. There's no way to retrieve multiple notes or a note history.

Was this page helpful?