All URIs are relative to https://api.api2cart.local.com/v1.1
| Method | HTTP request | Description |
|---|---|---|
| BridgeDelete | Post /bridge.delete.json | bridge.delete |
| BridgeDownload | Get /bridge.download.file | bridge.download |
| BridgeUpdate | Post /bridge.update.json | bridge.update |
AttributeValueDelete200Response BridgeDelete(ctx).Execute()
bridge.delete
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BridgeAPI.BridgeDelete(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BridgeAPI.BridgeDelete``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BridgeDelete`: AttributeValueDelete200Response
fmt.Fprintf(os.Stdout, "Response from `BridgeAPI.BridgeDelete`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiBridgeDeleteRequest struct via the builder pattern
AttributeValueDelete200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
*os.File BridgeDownload(ctx).Whitelabel(whitelabel).Execute()
bridge.download
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
whitelabel := true // bool | Identifies if there is a necessity to download whitelabel bridge. (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BridgeAPI.BridgeDownload(context.Background()).Whitelabel(whitelabel).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BridgeAPI.BridgeDownload``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BridgeDownload`: *os.File
fmt.Fprintf(os.Stdout, "Response from `BridgeAPI.BridgeDownload`: %v\n", resp)
}Other parameters are passed through a pointer to a apiBridgeDownloadRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| whitelabel | bool | Identifies if there is a necessity to download whitelabel bridge. | [default to false] |
- Content-Type: Not defined
- Accept: application/zip
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AttributeUpdate200Response BridgeUpdate(ctx).Execute()
bridge.update
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.BridgeAPI.BridgeUpdate(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `BridgeAPI.BridgeUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BridgeUpdate`: AttributeUpdate200Response
fmt.Fprintf(os.Stdout, "Response from `BridgeAPI.BridgeUpdate`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiBridgeUpdateRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]