List all TerminalHardwareOrder objects.
Parameters
- statusenum
Only return orders that have the given status.
Possible enum valuescanceledOrder was canceled. Please create a new order to receive these items.
deliveredOrder has been delivered!
pendingOrder has been received and can still be canceled.
ready_to_ ship Order has been confirmed and is pending shipment. It cannot be canceled.
shippedOrder has been shipped, and can no longer be canceled.
undeliverableOne or more of the order’s items could not be delivered.
More parameters
- ending_
beforestring A cursor for use in pagination.
ending_is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withbefore obj_, your subsequent call can includebar ending_in order to fetch the previous page of the list.before=obj_ bar - limitinteger
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
- starting_
afterstring A cursor for use in pagination.
starting_is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withafter obj_, your subsequent call can includefoo starting_in order to fetch the next page of the list.after=obj_ foo
Returns
A dictionary with a data property that contains an array of terminal hardware orders. Each entry in the array is a separate order object.
{ "object": "list", "url": "/v1/terminal/hardware_orders", "has_more": false, "data": [ { "id": "thor_1Nj6mu2eZvKYlo2CRG74vB9n", "object": "terminal.hardware_order", "amount": 13602, "created": 1692995962, "currency": "usd", "hardware_order_items": [ { "amount": 11800, "currency": "usd", "quantity": 2, "terminal_hardware_sku": { "id": "thsku_OEu70OWVaQ0DG3", "amount": 450, "country": "US", "currency": "usd", "product": "thpr_NGubNsbUoS1oik" } } ], "livemode": true, "metadata": {}, "payment_type": "monthly_invoice", "po_number": null, "shipment_tracking": [], "shipping": { "address": { "city": "San Francisco", "country": "US", "line1": "1234 Main Street", "line2": "", "postal_code": "94111", "state": "CA" }, "amount": 800, "company": "Rocket Rides", "currency": "usd", "email": "test@example.com", "name": "Jenny Rosen", "phone": "15555555555" }, "shipping_method": "standard", "status": "pending", "tax": 1002, "total_tax_amounts": [ { "amount": 1002, "inclusive": false, "rate": { "display_name": "Sales Tax", "jurisdiction": "LOS ANGELES", "percentage": 8.25 } } ], "updated": null } ]}