Get owner information
OK
Update owner information
owner info
Type int json:"type" db:"owner_type_id" binding:"required"
json:"type" db:"owner_type_id" binding:"required"
No Content
const response = await fetch('//api.client.nbcgate.tech/api/owner/info', { method: 'GET', headers: {}, }); const data = await response.json();
{ "data": { "avatar": "text", "countryId": 0, "createdDate": "text", "id": 0, "nameOwner": "text", "ownerSubType": 0, "ownerType": 0, "referral_program_level_id": 0, "siteUrl": "text", "status": 0 } }
const response = await fetch('//api.client.nbcgate.tech/api/owner/info', { method: 'PUT', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "id": 0 }), }); const data = await response.json();
{ "errors": [ { "code": 0, "field": "text", "message": "text" } ], "message": "text", "statusCode": 0 }