Skip to main content

order_associated_objects

Creates, updates, deletes, gets or lists an order_associated_objects resource.

Overview​

Nameorder_associated_objects
TypeResource
Idovh.me.order_associated_objects

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idstring
typestringType of objects an order can be linked to (Bill, Deposit, Refund, ReverseBill, Withdrawal)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectorder_idReturn main data about the object the processing of the order generated

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"}})
order_idinteger (wire: orderId)

SELECT examples​

Return main data about the object the processing of the order generated

SELECT
id,
type
FROM ovh.me.order_associated_objects
WHERE order_id = '{{ order_id }}' -- required
;