Repository navigation
Get WooCommerceOrderNote
Retrieve WooCommerce order notes
Get-WooCommerceOrderNote [-id] <String> [[-NoteId] <String>]
[<CommonParameters>]
This API lets you retrieve and view a list of all notes added to an order, or retrieve a single order note. Order notes are private internal notes or customer messages attached to an order.
Get-WooCommerceOrderNote -id 123
Retrieves all notes associated with order ID 123.
Get-WooCommerceOrderNote -OrderId 123 -NoteId 456
Retrieves the specific note with ID 456 from order 123. Note that 'OrderId' is an alias for the -id parameter.
Get-WooCommerceOrderNote -id 123 | Select-Object -Property author, note
Retrieves all notes for order 123 and displays the author and note content for each.
Unique identifier for the order. This parameter is mandatory and specifies which order's notes to retrieve. Accepts 'OrderId' as an alias.
Type: String
Parameter Sets: (All)
Aliases: OrderId
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseUnique identifier for a specific order note. If provided, only that particular note will be retrieved. If omitted, all notes for the order are retrieved.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Requires valid WooCommerce credentials set via Set-WooCommerceCredential. Order notes can include customer-facing notes or internal-only notes depending on the note type.
https://woocommerce.github.io/woocommerce-rest-api-docs/#list-all-order-notes
Last updated: 2026-04-15T19:56:20Z Version: 0.1.0
- Get-WooCommerceCredential
- Invoke-WooCommerceAPICall
- Set-WooCommerceCredential
- Customers
- Data
- Order notes
- Orders
- Payment gateways
- Product categories
- Product custom fields
- Product reviews
- Product tags
- Product variations
- Products
- Refunds
- Reports
- Setting options
- Settings
- Shipping methods
- Shipping zone locations
- Shipping zone methods
- Shipping zones
- Webhooks