Edit in GitHubLog an issue

guestOrder query

Use the guestOrder query to retrieve details about an order placed by a guest or customer who is not logged in. To retrieve this information, the guest must supply the order number, email, and last name that was used to create the order.

Syntax

{guestOrder(input: GuestOrderInformationInput!) {CustomerOrder!}}

Reference

The guestOrder reference provides detailed information about the types and fields defined in this query.

Example usage

Request:

Copied to your clipboard
{
guestOrder(
input: {
number: "000000001",
email: "test@example.com",
lastname: "User"
}
) {
status
order_date
number
token
billing_address {
firstname
lastname
}
items {
product_sku
}
}
}

Response:

Copied to your clipboard
{
"data": {
"guestOrder": {
"status": "Pending",
"order_date": "2024-03-18 08:40:14",
"number": "000000001",
"token": "0:3:OSScWU6PKLn3kFyMhNWyskG0opgVvFBnJmtuaFHKGwDFT83S6Kv9U39iYwixuU+vhwDz2AF4pCs3GtLhHbQ=",
"billing_address": {
"firstname": "Guest",
"lastname": "User"
},
"items": [
{
"product_sku": "24-WB07"
}
]
}
}
}
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2026 Adobe. All rights reserved.