Product
Every Subscription has one or more products. A Wholesaler can offer any number of Products in their catalog
GET /v1/accounts/{accountId}/products
Query Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
accountId |
required | UUID | Account UUID |
productId |
required | UUID | Product UUID |
fromAccountId |
required | UUID |
Response:
[
{
"name": "Product A",
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
{
"name": "Product B",
"uuid": "520056b6-92d5-457c-9e52-0ddf4b24f1f3"
}
]
Properties
| Option | Type | Default | Description |
|---|---|---|---|
name |
string | A name for the product which would appear in UI. | |
uuid |
UUID | Unique identifier for the product. Each product is unique for each Wholesaler. |