This query returns the details of a single order in your Squarespace store, looked up by its order ID.
- API endpoint slug
- squarespace.look_up_an_order
- Runtime method
- performQuery("squarespace.look_up_an_order"}
Query fields
- Label
- Which order?
- Helper text
- The order's Squarespace ID. Use the OrderId ingredient from a Squarespace trigger, or copy it from the end of the order's dashboard URL.
- Slug
- order_id
- Required
- true
- Can have default value
- true
Ingredients
- Slug
- order_id
- Filter code
- Squarespace.lookUpAnOrder.OrderId
- Type
- String
- Example
- 585d498fdee9f31a60284a37
- Slug
- order_number
- Filter code
- Squarespace.lookUpAnOrder.OrderNumber
- Type
- String
- Example
- 142
- Slug
- customer_email
- Filter code
- Squarespace.lookUpAnOrder.CustomerEmail
- Type
- String
- Example
- bob@example.com
- Slug
- customer_name
- Filter code
- Squarespace.lookUpAnOrder.CustomerName
- Type
- String
- Example
- Bob Loblaw
- Slug
- total_price
- Filter code
- Squarespace.lookUpAnOrder.TotalPrice
- Type
- String
- Example
- 49.99
- Slug
- currency
- Filter code
- Squarespace.lookUpAnOrder.Currency
- Type
- String
- Example
- USD
- Slug
- fulfillment_status
- Filter code
- Squarespace.lookUpAnOrder.FulfillmentStatus
- Type
- String
- Example
- PENDING
- Slug
- payment_state
- Filter code
- Squarespace.lookUpAnOrder.PaymentState
- Type
- String
- Example
- PAID
- Slug
- item_count
- Filter code
- Squarespace.lookUpAnOrder.ItemCount
- Type
- String
- Example
- 3
- Slug
- line_items_summary
- Filter code
- Squarespace.lookUpAnOrder.LineItemsSummary
- Type
- String
- Example
- 1 x Spring Mix Tote, 2 x Enamel Mug
- Slug
- shipping_address
- Filter code
- Squarespace.lookUpAnOrder.ShippingAddress
- Type
- String
- Example
- 459 Broadway, New York, NY 10003, US
- Slug
- tracking_numbers
- Filter code
- Squarespace.lookUpAnOrder.TrackingNumbers
- Type
- String
- Example
- 103932814692659
- Slug
- product_image_url
- Filter code
- Squarespace.lookUpAnOrder.ProductImageUrl
- Type
- Image URL
- Example
- https://static.squarespace.com/universal/commerce/images/spring-mix.jpg
- Slug
- created_on
- Filter code
- Squarespace.lookUpAnOrder.CreatedOn
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
- Slug
- updated_on
- Filter code
- Squarespace.lookUpAnOrder.UpdatedOn
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00