Skip to main content

voip_line_options_shipping_addresses

Creates, updates, deletes, gets or lists a voip_line_options_shipping_addresses resource.

Overview​

Namevoip_line_options_shipping_addresses
TypeResource
Idovh.pack_xdsl.voip_line_options_shipping_addresses

Fields​

The following fields are returned by SELECT queries:

Shipping address

NameDatatypeDescription
shipping_idstring (wire: shippingId)
city_namestring (wire: cityName)
first_namestring (wire: firstName)
last_namestring (wire: lastName)
addressstring
country_codestring (wire: countryCode)
zip_codestring (wire: zipCode)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectpack_nameList the shipping addresses for a VoIP line order. Returns the addresses the hardware of a VoIP line of the xDSL pack can be shipped to.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_hoststringThe OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}})
pack_namestringThe internal name of your pack (wire: packName)

SELECT examples​

List the shipping addresses for a VoIP line order. Returns the addresses the hardware of a VoIP line of the xDSL pack can be shipped to.

SELECT
shipping_id,
city_name,
first_name,
last_name,
address,
country_code,
zip_code
FROM ovh.pack_xdsl.voip_line_options_shipping_addresses
WHERE pack_name = '{{ pack_name }}' -- required
;