Request
curl -X POST -H "Content-Type: application/json" -d \
'{
    "key": "Loremipsumdolorsitametconsecteturadipiscingelitlaoreet",
    "code": "test01",
    "user_login": "test1",
    "foreign_code": "text_01_a325"
}' https://test.netstorming.net/api/customers/setForeignCode
Response
{
    "success": true
}