Skip to content

Latest commit

 

History

History
75 lines (48 loc) · 2.38 KB

PricesApi.md

File metadata and controls

75 lines (48 loc) · 2.38 KB

{{classname}}

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

CreatePrice(ctx, body, productId) Create

Create a price

Required Parameters

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

Return type

(empty response body)

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ListPrice

InlineResponse20011 ListPrice(ctx, productId, optional) List

List all prices

Required Parameters

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

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 |

Return type

InlineResponse20011

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]