List all TerminalHardwareShippingMethod
objects.
Parameters
- countrystringRequired
Only return Shipping Methods that have the given country. If provided, country must be a two-letter country code (ISO 3166-1 alpha-2).
- nameenum
Only return Shipping Methods that have the given name.
Possible enum valuesexpress
Express
priority
Priority
standard
Standard
- statusenum
Only return Shipping Methods that have the given status. Defaults to Available.
Possible enum valuesavailable
Available for new orders.
unavailable
Can no longer be used for order creation.
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.
- providerenum
The provider associated with this ShippingMethod.
Possible enum valuesstripe
The Stripe provider
- 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 shipping methods. Each entry in the array is a separate ShippingMethod object.
{ "object": "list", "url": "/v1/terminal/hardware_shipping_methods", "has_more": false, "data": [ { "id": "thsm_MfuTjLaPEgXMa4", "object": "terminal.hardware_shipping_method", "country": "US", "estimated_delivery_window": { "maximum_date": "2023-10-03", "minimum_date": "2023-10-03" }, "name": "standard", "status": "available", "unavailable_after": null } ]}