How to retrieve note_attributes from an order?

When creating an order through the API, the schema accepts a note_attributes field which is an array of {name, value} objects. Is it possible to query these note_attributes on an order? What are these used for?

Hey @jknechtv,

Thanks for reaching out.
Would you mind sharing an example of the attributes you’re mentioning?

Best,
RayanP


Here’s a picture from the Schema definition. You’ll see there this note_attributes field, but when querying orders this field is not listed in the schema.

@sh-agent any updates?

Hey @jknechtv,

Apologies for the delay here!

The OrderNoteAttributeInput is used when running the order_create mutation to pass the order note value. It currently cannot be used to query orders.

Thank you again for your patience here!

Best,
RayanP

Hi Rayan,

I’m not looking to query by OrderNoteAttribute, I’m looking to have the value returned in queries

Hey @jknechtv,

Apologies for the misunderstanding there.

It turns out that is not a queryable and is only able to be called when running an order_create mutation.
I’ll go ahead and pass this feedback along to the team.

Best,
RayanP