Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

[Storefront API] When orders/order#customerUrl to null?

[Storefront API] When orders/order#customerUrl to null?

bannzai
Visitor
1 0 0

I'm trying to create an order history page and a feature that allows shopify customer to see the details of the orders that can be transitioned from order history page.
So, I found storefront API field of customer orders for `Query.Customer.OrderConnection.Edges.Node#customerUrl` and got feature of see the details of the orders too.

But I have a question about "Why Orders#customerUrl is nullable?" and "When Orders#customerUrl to null?".
Can anyone answer about these questions?

`Query.Customer.OrderConnection.Edges.Node#customerUrl` is referenced here.
> customerUrl (URL)
> The unique URL that the customer can use to access the order.

Thank you.

Replies 0 (0)