Skip to main content

refund_details

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

Overview​

Namerefund_details
TypeResource
Idovh.me.refund_details

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
refund_detail_idstring (wire: refundDetailId)
refund_idstring (wire: refundId)
descriptionstring
domainstring
quantitystring
referencestring
total_priceobjectPrice with its currency and textual representation (wire: totalPrice)
unit_priceobjectPrice with its currency and textual representation (wire: unitPrice)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectrefund_detail_id, refund_idGet this object properties
listselectrefund_idx_pagination_modeGive access to all entries of the refund

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"}})
refund_detail_idstring (wire: refundDetailId)
refund_idstring (wire: refundId)
x_pagination_modestringSent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode)

SELECT examples​

Get this object properties

SELECT
refund_detail_id,
refund_id,
description,
domain,
quantity,
reference,
total_price,
unit_price
FROM ovh.me.refund_details
WHERE refund_detail_id = '{{ refund_detail_id }}' -- required
AND refund_id = '{{ refund_id }}' -- required
;