novinzodevelopers
Your store's APIApps referenceReseller connections

Update Connection

PUT/admin/connections/{connectionId}

Path Parameters

connectionId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

name*string
status*string

Value in

  • "active"
  • "disabled"

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/admin/connections/string" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "status": "active"  }'
{  "id": "string",  "kind": "hamilton",  "name": "string",  "baseUrl": "string",  "status": "active",  "manifest": {    "protocolVersion": 1,    "capabilities": [      "catalog.read"    ],    "constraints": {      "maxBatch": 1,      "hwidResetMinIntervalMinutes": 1,      "trialMaxMinutes": 1,      "rateLimitPerMinute": 1    }  },  "products": [    {      "id": "string",      "name": "string",      "durations": {        "_tag": "Fixed",        "minutes": [          1        ]      },      "trialMaxMinutes": 1,      "status": {        "key": "string",        "label": "string",        "tone": "success",        "message": "string"      }    }  ],  "manifestFetchedAt": "string",  "lastError": "string",  "acceptsEvents": true,  "eventsPath": "string",  "createdAt": "string",  "updatedAt": "string"}