No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.GoClientCodegen
Put the package under your project folder and add the following in import:
"./swagger"
All URIs are relative to https://api.facestore.local/v1
Class | Method | HTTP request | Description |
---|---|---|---|
BrandsApi | AddBrands | Post /brands | |
BrandsApi | DeleteBrandById | Delete /brands/{id}/ | |
BrandsApi | GetBrandById | Get /brands/{id}/ | |
BrandsApi | GetBrands | Get /brands | |
BrandsApi | UpdateCategoryById | Put /brands/{id}/ | |
BrandsApi | UpdateCategoryById_0 | Patch /brands/{id}/ | |
CategoriesApi | AddCategories | Post /categories | |
CategoriesApi | DeleteCategoryById | Delete /categories/{id}/ | |
CategoriesApi | GetCategories | Get /categories | |
CategoriesApi | GetCategoryById | Get /categories/{id}/ | |
CategoriesApi | UpdateCategoryById | Put /categories/{id}/ | |
CustomersApi | GetCustomerById | Get /customers/{id}/ | |
CustomersApi | GetCustomers | Get /customers | |
OrdersApi | GetOrderById | Get /orders/{id}/ | |
OrdersApi | GetOrders | Get /orders | |
PaymentsApi | GetPaymentById | Get /payments/{id}/ | |
PaymentsApi | GetPayments | Get /payments | |
ProductsApi | AddProduct | Post /products | |
ProductsApi | DeleteProductById | Delete /products/{id}/ | |
ProductsApi | GetProductById | Get /products/{id}/ | |
ProductsApi | GetProducts | Get /products | |
ProductsApi | UpdateProductById | Put /products/{id}/ | |
ProductsApi | UpdateProductById_0 | Patch /products/{id}/ | |
ProductsAttributesApi | AddProductsAttributes | Post /attributes | |
ProductsAttributesApi | DeleteProductAttributeById | Delete /attributes/{id}/ | |
ProductsAttributesApi | GetProductAttributeById | Get /attributes/{id}/ | |
ProductsAttributesApi | GetProductsAttributes | Get /attributes | |
ProductsAttributesApi | UpdateProductAttributeById | Put /attributes/{id}/ | |
ShippingsApi | AddShipping | Post /shippings | |
ShippingsApi | DeleteShippingById | Delete /shippings/{id}/ | |
ShippingsApi | GetShippingById | Get /shippings/{id}/ | |
ShippingsApi | GetShippings | Get /shippings | |
ShippingsApi | UpdateShippingById | Put /shippings/{id}/ | |
ShippingsApi | UpdateShippingById_0 | Patch /shippings/{id}/ | |
TaxesApi | AddTaxes | Post /taxes | |
TaxesApi | DeleteTaxById | Delete /taxes/{id}/ | |
TaxesApi | GetTaxById | Get /taxes/{id}/ | |
TaxesApi | GetTaxes | Get /taxes | |
TaxesApi | UpdateTaxById | Put /taxes/{id}/ | |
TaxesApi | UpdateTaxById_0 | Patch /taxes/{id}/ |
- Attribute
- AttributeOptions
- Brand
- Category
- Customer
- DefaultResponse
- I18n
- I18nProduct
- I18nProductSeo
- InlineResponse200
- InlineResponse2001
- InlineResponse2001Meta
- InlineResponse2002
- InlineResponse2003
- InlineResponse2004
- InlineResponse2005
- InlineResponse2006
- InlineResponse201
- InlineResponse2011
- InlineResponse2012
- InlineResponse2013
- InlineResponse2014
- MetaPartialResponse
- NotFoundResponse
- Options
- Order
- Payment
- Product
- Shipping
- Tax
- Type: API key
Example
auth := context.WithValue(context.TODO(), sw.ContextAPIKey, sw.APIKey{
Key: "APIKEY",
Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)