cart_item_required_configurations
Creates, updates, deletes, gets or lists a cart_item_required_configurations resource.
Overview​
| Name | cart_item_required_configurations |
| Type | Resource |
| Id | ovh.order.cart_item_required_configurations |
Fields​
The following fields are returned by SELECT queries:
- list
Information about a configuration
| Name | Datatype | Description |
|---|---|---|
fields | array | Indicates if some particular fields have to be inputed during the creation of type resource |
label | string | Label for your configuration item |
required | boolean | Indicates if the configuration item is required |
type | string | Type of the configuration item |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | cart_id, item_id | Retrieve all required configuration item of the cart item |
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.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The 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"}}) |
cart_id | string | Cart ID (wire: cartId) |
item_id | integer | Item ID (wire: itemId) |
SELECT examples​
- list
Retrieve all required configuration item of the cart item
SELECT
fields,
label,
required,
type
FROM ovh.order.cart_item_required_configurations
WHERE cart_id = '{{ cart_id }}' -- required
AND item_id = '{{ item_id }}' -- required
;