ProductApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
| Method | HTTP request | Description |
|---|---|---|
| deleteProduct | DELETE ProductApi | Delete a Product. |
deleteProduct
Void
deleteProduct(id)
Delete a Product.
Deletes a specific Product.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ProductApi;
ProductApi apiInstance = new ProductApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Product.
try {
Void result = apiInstance.deleteProduct(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProductApi#deleteProduct");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the Product. |
Return type
Void
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getProduct
Product
getProduct(id)
Retrieve a single Product
Retrieves a single Product for a specific uid.