Headers required:
Each request must contain the following headers in order to get processed

Requests and responses of the API are based on JSON. The server will only accept requests with Content-Type: application/json.
The things needed from Hageman to be able to do a successful request are:
Each request must contain the following headers in order to get processed
Content-Type: application/json
Environment: [test/live]
Username: {your-username}
Password: {your-password}
Needed for live request runs.
DescTxt1: "Test article 3", // required; string (60)
Changed to
DescTxt1: "Test article 3", // required; string (40)
Within the JS code at Articles - Maintain
'DescTxt1' => 'Test article 3', // required; string (60)
Changed to
'DescTxt1' => 'Test article 3', // required; string (40)
Within the PHP code at Articles - Maintain
'type' => 'articles',
'method' => 'stock',
Changed to
'type' => 'stock',
'method' => 'fetch',
Within the PHP code at Stock - Fetch