Get owner information
GET //api/owner/info HTTP/1.1 Host: api.client.nbcgate.tech Authorization: YOUR_API_KEY Accept: */*
OK
{ "data": { "avatar": "text", "countryId": 1, "createdDate": "text", "id": 1, "nameOwner": "text", "ownerSubType": 1, "ownerType": 1, "referral_program_level_id": 1, "siteUrl": "text", "status": 1 } }
Update owner information
Type int json:"type" db:"owner_type_id" binding:"required"
json:"type" db:"owner_type_id" binding:"required"
PUT //api/owner/info HTTP/1.1 Host: api.client.nbcgate.tech Authorization: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 114 { "avatar": { "content": "text", "extension": "text", "name": "text" }, "countryId": 1, "id": 1, "name": "text", "siteUrl": "text" }
No Content
No content