Hello,
We have added several custom assets with locked:true and now i’m trying to unlock them for a user.
Before unlocking when i GET assets by
/v1/assets?filter=viewable-by-user-and-app&filterAllowLocked=true&filterApplicationId=[app_id]&order=editorPosition&bodyType=generic&bodyType=fullbody&gender=neutral&limit=20&page=1&type=top&gender=female&filterUserId=[userId]
in response i see my custom asset with locked: true.
Then i use unlocking API:
/v1/assets/{{assetId}}/unlock
with body:
{“data”: {“userId”: “{{userId}}”}}
and have empty response with status 200.
Now if i equip asset it works but if i get assets list again i still get this asset with locked: true
even though url has param filterUserId
/v1/assets?..&filterUserId=[userId]
So basicly it seems that after unlocking the asset nothing changes in the attributes.
My question is how can i find out if the asset was already unlocked for a user?
Thanx in advance for your response