All URIs are relative to https://api.api2cart.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 |
open class func bridgeDelete(completion: @escaping (_ data: AttributeValueDelete200Response?, _ error: Error?) -> Void)
bridge.delete
Delete bridge from the store.
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import OpenAPIClient
// bridge.delete
BridgeAPI.bridgeDelete() { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
This endpoint does not need any parameter.
AttributeValueDelete200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func bridgeDownload(whitelabel: Bool? = nil, completion: @escaping (_ data: URL?, _ error: Error?) -> Void)
bridge.download
Download bridge for store.
Please note that the method would not work if you call it from Swagger UI.
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import OpenAPIClient
let whitelabel = true // Bool | Identifies if there is a necessity to download whitelabel bridge. (optional) (default to false)
// bridge.download
BridgeAPI.bridgeDownload(whitelabel: whitelabel) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
whitelabel | Bool | Identifies if there is a necessity to download whitelabel bridge. | [optional] [default to false] |
URL
- Content-Type: Not defined
- Accept: application/zip
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func bridgeUpdate(completion: @escaping (_ data: AttributeUpdate200Response?, _ error: Error?) -> Void)
bridge.update
Update bridge in the store.
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import OpenAPIClient
// bridge.update
BridgeAPI.bridgeUpdate() { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]