Retrieve a Terminal Hardware Shipping Method Preview
GET / v1 / terminal / hardware_shipping_methods /:id
Retrieves a TerminalHardwareShippingMethod object.
Parameters
No parameters.
Returns
Returns a TerminalHardwareShippingMethod object if a valid identifier was provided.
cURL
Response
{ "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}
List all Terminal Hardware Shipping Methods Preview
GET / v1 / terminal / hardware_shipping_methods
List all TerminalHardwareShippingMethod objects.
Parameters
- country string Required Only return Shipping Methods that have the given country. Country must be a two-letter country code ( ISO 3166-1 alpha-2).
- name enum Only return Shipping Methods that have the given name. Possible enum values
expressExpressfreightFreightpriorityPrioritystandardStandard - status enum Only return Shipping Methods that have the given status. Defaults to Available. Possible enum values
availableAvailable for new orders.unavailableCan no longer be used for order creation.
More parameters
- ending _ before string
- limit integer
- provider enum
- starting _ after string
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.
cURL
Response
