URI:

/api/customers/setForeignCode

REQUEST:
{
  "key": "Loremipsumdolorsitametconsecteturadipiscingelitlaoreet",
  "owner_code": "netstorming",
  "code": "test_cust1",
  "user_login": "usr01",
  "foreign_code": "ext_001_t1"
}

Request parameters:

Key Compulsory Value type Max length Notes
key yes varchar API Key provided by Netstorming
owner_code yes varchar 3-12 alphanumeric chars Owner the requested customers belongs to
code yes varchar 3-12 alphanumeric chars Customer code in Netstorming system
user_login yes varchar 3-12 alphanumeric chars User login in Netstorming system
foreign_code yes varchar Foreign code
RESPONSE:
{
    "success": true
}

Response parameters:

Key Compulsory Value type Notes
success yes bool
Examples

You can find an example here