All URIs are relative to http://example.com/rest/default
| Method | HTTP request | Description |
|---|---|---|
| GetV1StoreStoreConfigs | Get /V1/store/storeConfigs | store/storeConfigs |
[]StoreDataStoreConfigInterface GetV1StoreStoreConfigs(ctx).StoreCodes(storeCodes).Execute()
store/storeConfigs
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Hevelop/go-client-magento"
)
func main() {
storeCodes := []string{"Inner_example"} // []string | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.StoreStoreConfigsAPI.GetV1StoreStoreConfigs(context.Background()).StoreCodes(storeCodes).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `StoreStoreConfigsAPI.GetV1StoreStoreConfigs``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetV1StoreStoreConfigs`: []StoreDataStoreConfigInterface
fmt.Fprintf(os.Stdout, "Response from `StoreStoreConfigsAPI.GetV1StoreStoreConfigs`: %v\n", resp)
}Other parameters are passed through a pointer to a apiGetV1StoreStoreConfigsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| storeCodes | []string |
[]StoreDataStoreConfigInterface
No authorization required
- Content-Type: Not defined
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]