All URIs are relative to https://{customerId}.billabear.cloud/api/v1
Method | HTTP request | Description |
---|---|---|
CreatePrice | Post /product/{productId}/price | Create |
ListPrice | Get /product/{productId}/price | List |
CreatePrice(ctx, body, productId) Create
Create a price
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | Price | ||
productId | string | The id of the product to retrieve |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20011 ListPrice(ctx, productId, optional) List
List all prices
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
productId | string | The id of the product to retrieve | |
optional | *PricesApiListPriceOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PricesApiListPriceOpts struct
Name | Type | Description | Notes |
---|
limit | optional.Int32| How many items to return at one time (max 100) | lastKey | optional.String| The key to be used in pagination to say what the last key of the previous page was |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]