Skip to content

facestorept/api-sdk-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for swagger

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

Overview

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

Installation

Put the package under your project folder and add the following in import:

    "./swagger"

Documentation for API Endpoints

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}/

Documentation For Models

Documentation For Authorization

APIKeyHeader

  • 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)

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published