Ziwako Docs
ZiwakoRéférence APIPartnerships

Update Partnership

PUT
/partnerships/{id}

Authorization

X-API-Key<token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/partnerships/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "type": "string",  "code": "string",  "status": 0,  "message": "string",  "data": {    "id": "string",    "owner": "string",    "partner": "string",    "status": "active",    "defaultRate": 0,    "scope": "all",    "productRates": [      {        "product": "string",        "rate": 0      }    ],    "since": "2019-08-24T14:15:22Z",    "until": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}