Send Squarespace order details to Telegram when QR scanned
This query returns the details of a single order in your Squarespace store, looked up by its order ID.
Developer info
- API endpoint slug
- squarespace.look_up_an_order
- Runtime method
- performQuery("squarespace.look_up_an_order"}
Query fields
Order Text input > Other
- 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
Order
- Slug
- order_id
- Filter code
- Squarespace.lookUpAnOrder.OrderId
- Type
- String
- Example
- 585d498fdee9f31a60284a37
Order number The customer-facing order number shown in your Squarespace dashboard.
- Slug
- order_number
- Filter code
- Squarespace.lookUpAnOrder.OrderNumber
- Type
- String
- Example
- 142
Customer email
- Slug
- customer_email
- Filter code
- Squarespace.lookUpAnOrder.CustomerEmail
- Type
- String
- Example
- bob@example.com
Customer name
- Slug
- customer_name
- Filter code
- Squarespace.lookUpAnOrder.CustomerName
- Type
- String
- Example
- Bob Loblaw
Total price The order total, with no currency symbol.
- Slug
- total_price
- Filter code
- Squarespace.lookUpAnOrder.TotalPrice
- Type
- String
- Example
- 49.99
Currency
- Slug
- currency
- Filter code
- Squarespace.lookUpAnOrder.Currency
- Type
- String
- Example
- USD
Fulfillment status
- Slug
- fulfillment_status
- Filter code
- Squarespace.lookUpAnOrder.FulfillmentStatus
- Type
- String
- Example
- PENDING
Payment state
- Slug
- payment_state
- Filter code
- Squarespace.lookUpAnOrder.PaymentState
- Type
- String
- Example
- PAID
Item count The total number of units across every line item in the order.
- Slug
- item_count
- Filter code
- Squarespace.lookUpAnOrder.ItemCount
- Type
- String
- Example
- 3
Line items summary Every line item in the order, as a comma-separated list.
- Slug
- line_items_summary
- Filter code
- Squarespace.lookUpAnOrder.LineItemsSummary
- Type
- String
- Example
- 1 x Spring Mix Tote, 2 x Enamel Mug
Shipping address The shipping address on one line. Blank for orders with nothing to ship.
- Slug
- shipping_address
- Filter code
- Squarespace.lookUpAnOrder.ShippingAddress
- Type
- String
- Example
- 459 Broadway, New York, NY 10003, US
Tracking numbers Tracking numbers recorded against the order, as a comma-separated list. Blank until the order is fulfilled with tracking.
- Slug
- tracking_numbers
- Filter code
- Squarespace.lookUpAnOrder.TrackingNumbers
- Type
- String
- Example
- 103932814692659
Product image url The product image for the first item in the order, when it has one.
- Slug
- product_image_url
- Filter code
- Squarespace.lookUpAnOrder.ProductImageUrl
- Type
- Image URL
- Example
- https://static.squarespace.com/universal/commerce/images/spring-mix.jpg
Created on
- Slug
- created_on
- Filter code
- Squarespace.lookUpAnOrder.CreatedOn
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
Updated on
- Slug
- updated_on
- Filter code
- Squarespace.lookUpAnOrder.UpdatedOn
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
