Skip to main content
POST
/
api
/
public
/
v1
/
plugins
/
v2
/
swap
Swap instance (V2)
curl --request POST \
  --url https://app.tagadapay.com/api/public/v1/plugins/v2/swap \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "oldDeploymentInstanceId": "plugin_instance_old123",
  "newDeploymentId": "plugin_deployment_new123",
  "storeId": "store_abc123"
}'
"<any>"

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
currentDeploymentId
string
required
currentDeploymentInstanceId
string
required
storeId
string
required
targetDeploymentId
string
required
targetDeploymentInstanceId
string
required
hostname
string
alias
string
customDomain
string
basePath
string
default:/
matcher
string
excluder
string

Response

Successful response

The response is of type any.