maesn
For developers

How to integrate with Weclapp: From tenant and token to the first read and write

Weclapp is integrated through a REST API that each instance serves under its own hostname. Your customer generates an API token in their Weclapp account, and every request names the tenant in the URL and the token in a header. This guide covers each step in order: base URL, authentication, JSON conventions, reading, filtering, writing, error responses, load management, webhooks and testing.

Lennart Svensson, CTO and Co-Founder at maesn
Lennart Svensson
CTO and Co-Founder · · Updated
Illustration for How to Integrate with Weclapp: Token to First Request
The interface

Weclapp’s REST API and the tenant in the base URL

Weclapp’s API is a REST API that exchanges JSON over HTTPS. The current version is v2, and Weclapp provides its specification as an OpenAPI 3 file in JSON and YAML.

The tenant is the subdomain of one Weclapp instance. Weclapp’s reference gives the base URL of the API as https://<TENANT>.weclapp.com/webapp/api/v2/ and describes <TENANT>.weclapp.com as “the domain of the specific weclapp instance”.

Every request needs the tenant because each instance has its own API endpoints, which give access to the data of that instance. Your application therefore stores the tenant of each customer together with the token of that customer.

The URL pattern of the common operations, relative to the base URL
OperationHTTP methodPath
Query or list recordsGET/<resource>
Total number of recordsGET/<resource>/count
Get a specific record by IDGET/<resource>/id/<id>
Create a new recordPOST/<resource>
Update a specific recordPUT/<resource>/id/<id>
Delete a specific recordDELETE/<resource>/id/<id>

The resources implement these operations in the same way, although not every resource supports all of them. Some resources offer further operations. They are executed with a POST to /<resource>/<operation> or to /<resource>/id/<id>/<operation>, and some operations that only read data also accept a GET.

Weclapp requires the header Accept: application/json on all requests and Content-Type: application/json on PUT and POST requests. It also asks for a User-Agent header on all automated requests.

A client should always send Accept-Encoding: gzip. Without this header the API still compresses the response and returns it with Content-Encoding: gzip.

The first request needs an instance and a token. The next section describes the token, and the section on testing describes Weclapp’s free trial.

A first request with the headers Weclapp asks forHTTP
GET /webapp/api/v2/party?pageSize=10 HTTP/1.1
Host: <TENANT>.weclapp.com
AuthenticationToken: <TOKEN>
Accept: application/json
Accept-Encoding: gzip
User-Agent: YourProduct/1.0

The request returns at most 10 records of the party resource, which the later examples use as well. In case of an error the response can be text/plain, and Weclapp asks you to treat it as an error that needs action.

Base URL, URL pattern, further operations and headers from Weclapp’s v2 reference, checked 16 November 2026.

A version stays available for at least one year after the next major version

Weclapp publishes fundamental changes in a new major version, and the existing version remains available for at least one year after that release. The reference still lists v1 next to v2, and a changelog documents the changes between the two versions.

Versions and the API lifecycle from Weclapp’s v2 reference, the changes between v1 and v2 from its changelog, checked 16 November 2026.

Which objects can be read and written through maesn is listed on the Weclapp API page.

Access

Authenticating with an API token that belongs to one user

Weclapp authenticates API requests with an API token. There is one token for each user, and the user finds it in Weclapp under My settings > API. The reference asks users to keep the token secret like a password.

A token can be sent in two ways. The first is the header AuthenticationToken with the token as its value. The second is HTTP Basic authentication, with * as the username and the token as the password.

The same request with each of the two methodsHTTP
GET /webapp/api/v2/party HTTP/1.1
Host: <TENANT>.weclapp.com
AuthenticationToken: <TOKEN>
Accept: application/json
 
GET /webapp/api/v2/party HTTP/1.1
Host: <TENANT>.weclapp.com
Authorization: Basic <base64(*:TOKEN)>
Accept: application/json

The examples in Weclapp’s reference use the AuthenticationToken header.

A request with a wrong token returns 401 (Unauthorized). A request for an operation the user has insufficient privileges for returns 403 (Forbidden). The permissions of the user who owns the token thus limit what a connection can read and write.

The reference describes no OAuth flow and states no lifetime for the token. For tests in a web browser it mentions another way to authenticate: a request that contains the session cookies of a logged-in Weclapp session uses the user and the permissions of that session.

A new token invalidates all previous tokens

A user can generate a new token at any time, and Weclapp’s reference states that “doing that invalidates all previous tokens”. Your application needs a way for the customer to replace the stored token.

Token, both methods, the session cookies and the quotation from the section on security and authentication in Weclapp’s v2 reference, both status codes from its section on basic operations, checked 16 November 2026.

Data

How decimals, dates and null are serialised in JSON

Decimal numbers, dates and null values need attention when you map a response from Weclapp to the types of your own application. The reference defines the representation of each data type.

The representation of data types in Weclapp’s JSON
TypeRepresentation in JSON
StringJSON string. An empty string or a string that contains only whitespace is interpreted as null.
Booleantrue or false
Decimal numberJSON string with a point as the decimal mark, for example quantities and prices
IntegerJSON number, if it can safely be represented as a double
Float or doubleJSON number
Date or timestampJSON number with the milliseconds since 1970-01-01T00:00:00Z
EnumJSON string with the name of the option

Most numbers in Weclapp are decimal numbers with a fixed precision and scale. They are, in the words of the reference, “serialized as JSON strings and not as JSON numbers to prevent accidental loss of precision” in JSON libraries that represent numbers as doubles.

A unit and a sales price, as Weclapp’s reference shows themJSON
{
"id": "2770",
"version": "0",
"createdDate": 1597915605986,
"description": "Stück",
"lastModifiedDate": 1597915605985,
"name": "Stk."
}
 
{
"articleUnitPrice": "39.95",
"currencyId": "256",
"quantity": "1",
"reductionAdditionItems": []
}

createdDate and lastModifiedDate are timestamps in milliseconds. articleUnitPrice and quantity are decimal numbers and therefore strings. In these examples id and version are strings as well.

A property with the value null is not serialised by default, so a response contains only the properties that have a value. The query parameter serializeNulls includes them in the response. In a request, every expected property that is missing from the JSON object is assumed to be null.

Weclapp describes the deserialisation of data sent to the API as relatively lenient. Where a string is expected and a number is given, the number is used as the string, and the other way around where possible.

The type table, the quotation and the handling of null from the JSON section of Weclapp’s v2 reference, both examples from its sections on referenced entities and additional properties, checked 16 November 2026.

Data

Reading customers and suppliers from the party resource, page by page

A list is read with GET on the URL of a resource and a single record with GET on /<resource>/id/<id>. Weclapp’s reference explains the common operations for the party resource, and this guide uses the same resource.

A party is a person or an organisation. The property partyType has the values PERSON and ORGANIZATION, and Weclapp’s example of a party contains the boolean properties customer and supplier. Customers and suppliers are both records of this one resource.

Version v2 has no separate endpoints for them. Its changelog lists /contact, /customer, /lead and /supplier as removed endpoints, with the instruction to use /party.

The second page of parties with 100 records per page, and the total numberHTTP
GET /webapp/api/v2/party?page=2&pageSize=100 HTTP/1.1
Host: <TENANT>.weclapp.com
AuthenticationToken: <TOKEN>
Accept: application/json
 
GET /webapp/api/v2/party/count HTTP/1.1
Host: <TENANT>.weclapp.com
AuthenticationToken: <TOKEN>
Accept: application/json

The examples in the reference return a list in the array result. The parameter page is one-based, so page=1 is the first page and also the default.

Without parameters a list request returns the first 100 records. pageSize sets the number of records per request and is usually limited to 1.000. The reference notes exceptions to both values in the documentation of the specific resources.

The parameter page selects the page of results. Additionally, offset skips a specified number of records. The count operation returns the total number of records and accepts the same filter parameters as the list request, so the number of pages of a filtered list can be calculated in advance.

The query parameter properties limits a response to the properties you name, for example properties=id,customerNumber,customerSalesChannel. An unknown property in this parameter returns an error response.

A list can also be requested with POST to /<resource>/query. According to the reference, POST queries have fewer restrictions than GET requests. For POST queries Weclapp recommends filter expressions in the request body. The next section describes them.

Operations, pagination, the count and the properties parameter from Weclapp’s v2 reference, the values of partyType from its OpenAPI specification, the removed endpoints from its changelog, checked 16 November 2026.

Data

Filters, sorting and the unknown property that is silently ignored

A filter is a query parameter that consists of a property name and an operator, joined with a minus. customerSalesChannel-eq=NET1 returns the parties whose sales channel is NET1. If a request contains several filter parameters, the results match all of them.

Two filters and a sort order, built from the examples in Weclapp’s referenceHTTP
GET /webapp/api/v2/party
?customerSalesChannel-eq=NET1
&createdDate-gt=1398436281262
&sort=-lastModifiedDate

createdDate-gt compares with a timestamp in milliseconds and returns the parties created after it. sort=-lastModifiedDate sorts by the time of the last modification in descending order. The line breaks are for display only.

The operators of Weclapp’s filter parameters
OperatorMeaning
eqEqual
neNot equal
ltLess than
gtGreater than
leLess than or equal
geGreater than or equal
nullThe property is null. The value of the parameter is ignored.
notnullThe property is not null. The value of the parameter is ignored.
likeLike expression with % and _ as placeholders, similar to SQL LIKE
notlikeNot like expression
ilikeLike expression that ignores case
notilikeNot like expression that ignores case
inThe value is in a list, which is specified as a JSON array
notinThe value is not in the specified list

According to the reference, not all operators work for all property types. Filter parameters with the prefix or- are linked by OR: or-name-eq=charlie&or-name-eq=chaplin returns the parties whose name equals charlie or chaplin. The prefix or<groupname>- forms groups that are combined with AND.

A filter on a property that does not exist returns no error. The reference states: “Filtering query parameters for unknown properties or properties that don’t support filtering are silently ignored.” The request is then answered without this filter.

Sorting handles the same case differently. The parameter sort takes one or more property names separated by commas, with a minus in front for descending order, and here the reference states: “If an unsupported or unknown property is specified then an error response is returned.”

One misspelled property, two resultscreatedDate without the final e
In a filter parameter200 OK
?createdDat-gt=1398436281262

The filter is ignored and the list is returned unfiltered

Filter parameters for unknown properties, or for properties that do not support filtering, are silently ignored.

In the sort parameterError response
?sort=createdDat

The request is rejected

An unsupported or unknown property in the sort parameter returns an error response.

A successful status does not confirm the filter. Compare the count with and without the filter. If both are equal, check the name of the property.

The same misspelled property in a filter parameter and in the sort parameter, with the result Weclapp documents for each.

Filter parameters compare dates as timestamps in milliseconds. Filter expressions, which Weclapp also offers in the parameter filter, combine several conditions and accept a date as an ISO 8601 string with a time zone. The reference marks them with the warning “This is still a beta feature.”

A condition on the last modification, from a filter expression in Weclapp’s referenceHTTP
GET /webapp/api/v2/party
?filter=(lastModifiedDate >= "2022-01-01T00:00:00Z")

The condition limits the list to the parties modified since the given point in time. The reference sends the expression URL-encoded.

A condition on lastModifiedDate with the time of the last run limits a request to the records changed since then. Weclapp’s recommendations for API users include the rule “No unfiltered polling”.

Syntax, operators, both quotations on unknown properties, filter expressions and the recommendation from Weclapp’s v2 reference, checked 16 November 2026.

Data

Writing a party with POST, PUT and optimistic locking

A create is a POST to the URL of a resource, and an update is a PUT to the URL of the record. Both requests contain the record as JSON.

Creating a party, with the body from Weclapp’s referenceHTTP
POST /webapp/api/v2/party HTTP/1.1
Host: <TENANT>.weclapp.com
AuthenticationToken: <TOKEN>
Content-Type: application/json
Accept: application/json
 
{
"customerNumber": "10004",
"partyType": "PERSON",
"lastName": "Mustermann"
}
 
HTTP/1.1 201 Created
Location: https://<TENANT>.weclapp.com/webapp/api/v2/party/id/<id>

The response status is 201 (Created), and the Location header contains the URL of the created record.

The read-only properties id, version, createdDate and lastModifiedDate must be omitted in a create, otherwise the server responds with status 400. A property that does not exist also returns 400, and a property the requester is not authorised for returns 403. Some required properties have defaults, which are used when the property is missing or null.

An update of the complete entity has to specify every property that is not null, because all unspecified properties are interpreted as null. Writable boolean properties are always mandatory in such an update.

Weclapp strongly recommends that a client first gets the latest version of the record, then modifies that JSON and finally performs the PUT. New properties that the client does not know about are then not accidentally overwritten with null.

To update only specific properties, set the parameter ignoreMissingProperties=true. In Weclapp’s example below, only the property lastName is updated and all other properties are unchanged.

Updating one property of the party with the ID 7992, as Weclapp documents itHTTP
PUT /webapp/api/v2/party/id/7992?ignoreMissingProperties=true HTTP/1.1
Host: <TENANT>.weclapp.com
AuthenticationToken: <TOKEN>
Content-Type: application/json
Accept: application/json
 
{
"version": "0",
"lastName": "Mustermann-Neu"
}
 
HTTP/1.1 200 OK

The property version in the body activates optimistic locking. The body of the response contains the updated entity.

For updates the resources usually support optimistic locking, which compares the version in the request body with the current version of the record. If the two do not match, the request fails with an optimistic lock error, status 409 (Conflict). The caller then gets the latest version, applies the changes again and repeats the request.

A request without version is not checked. According to the reference it “might accidentally overwrite changes done by another user in the meantime”.

Lists within an entity have a rule of their own when only specific properties are updated. For an existing entry it is sufficient to specify its id, and an existing entry whose id is omitted is removed or emptied.

Lists that cannot be changed as a whole but whose elements can, such as customAttributes, are the exception. Elements that are not contained in the request are taken from the existing entity.

Validating a write with a dry run

The generic PUT, POST and DELETE endpoints accept the query parameter dryRun=true. In this mode the submitted data is validated and, where possible, the business logic is executed. The response matches a productive execution as far as possible, except that success returns 200 and the properties id, version, createdDate and lastModifiedDate are not included.

A record is deleted with a DELETE request to its URL. If the deletion is possible, the response status is 204 (No Content). Otherwise Weclapp returns an error response.

Both examples, the rules for create and update, optimistic locking, the dry run and the delete from Weclapp’s v2 reference, the status of the optimistic lock error from its error reference, checked 16 November 2026.

Data

Error responses in the RFC 7807 structure

Any request can return an error response, and its JSON is structured as described in RFC 7807. The properties type, title, status and detail describe the error. Weclapp adds validationErrors, a list of the validation errors that were found.

A dry run of a sales order that refers to an unknown customer, from Weclapp’s referenceHTTP
POST /webapp/api/v2/salesOrder?dryRun=true HTTP/1.1
Host: <TENANT>.weclapp.com
AuthenticationToken: <TOKEN>
Content-Type: application/json
Accept: application/json
 
{ "customerId": "3183" }
 
HTTP/1.1 400 Bad Request
 
{
"detail": "customer not found",
"error": "customer not found",
"status": 400,
"title": "entity validation failed",
"type": "/webapp/view/api/errors.html#!/errors/validation",
"validationErrors": [
{
"detail": "referenced entity not found",
"instance": "salesOrder",
"location": "customerId",
"title": "referenced entity not found",
"type": "/webapp/view/api/errors.html#!/validation/reference"
}
]
}

location is the JSONPath of the affected property. The property error is not part of RFC 7807: according to Weclapp, the unstructured error responses used until now are still part of the JSON, so that existing code should work without changes.

To distinguish errors in code, Weclapp recommends evaluating only the part of type after the last slash, in this example validation and reference. The responses are sent with Content-Type: application/json and not with application/problem+json, because the migration to the RFC 7807 structure is still in progress.

The error types in Weclapp’s error reference
TypeStatusMeaning
context409The operation is not possible in this context or with the current state of the data
conversation400The request was sent in the context of a running session, which the stateless API does not allow
entity_not_found400The entity or a referenced sub-entity could not be found
forbidden403The credentials are not sufficient for the requested operation
invalid_json400The request body could not be parsed as JSON
not_found404The endpoint, method or entity could not be found
optimistic_lock409The entity has been modified by someone else in the meantime
persistence409A persistence problem that no more specific error covers
request_timeout400The request did not complete within the timeout of the X-Weclapp-Request-Timeout-Ms header
unauthorized401Authorisation or authentication problem
unexpected500An error that no more specific error covers
unsupported_mime_type415The provided file type is not supported for the operation
validation400The input is malformed or not allowed in this context

HTTP 429 comes from Weclapp’s load management, which the next section describes, and is not among these error types.

Structure, the recommendation on type, the content type and every error type from the API error reference in Weclapp’s v2 reference, the example from its section on the dry run, checked 16 November 2026.

Limits

Load management with a queue and no fixed rate limits

Weclapp states that its API has “no fixed rate limits”. It protects the platform with two mechanisms: a limit on the number of parallel requests per tenant and a protection against sustained high load.

Requests above the limit for parallel requests are not rejected. They wait until resources become available, currently for up to 30 seconds. After that the API responds with HTTP 429 Too Many Requests.

For sustained load Weclapp uses the effective request time as an indicator. In its example, 500 requests of 100 ms each amount to 50 request-seconds of total load and are no problem, even when they run in parallel. Many compute-intensive requests that run continuously over several minutes could be critical.

One request without timeout headersThree outcomes in Weclapp’s load management
Resources are availableProcessed at once

No wait headers

The two headers of the outcomes below are not present when a request did not have to wait.

Too many parallel requests, or the load is too highWaits, then processed

X-Weclapp-Wait-MsX-Weclapp-Wait-Reason

The request is not rejected. The response states how many milliseconds the request had to wait and whether the reason was concurrency, load or both.

Still waiting in the queue after 30 secondsHTTP 429

X-Weclapp-Wait-MsX-Weclapp-Wait-Reason

A request can currently wait in the queue for up to 30 seconds. After that the API responds with 429 Too Many Requests, and the two headers are present on this response as well.

Set request timeouts to at least one minute. Weclapp recommends this so that a request waiting in the queue is not aborted before it gets a successful response.

A request without timeout headers under Weclapp’s load management, with its three outcomes and the response headers of each.

A request that waits in the queue and is then processed returns a successful response after a longer time. For this reason Weclapp recommends request timeouts of at least one minute, “to avoid aborting requests too early that would get a successful response”.

Four headers belong to the load management. Your application can send two of them with a request to limit the waiting time or the total duration of the request, and Weclapp returns the other two in the response when a request had to wait.

The headers of Weclapp’s load management
HeaderSent byMeaning
X-Weclapp-Wait-Timeout-MsYour application, in the requestMaximum time in milliseconds the client is willing to wait before processing starts
X-Weclapp-Request-Timeout-MsYour application, in the requestBest-effort timeout in milliseconds for the entire request, including any waiting
X-Weclapp-Wait-MsWeclapp, in the responseMilliseconds the request had to wait before processing started
X-Weclapp-Wait-ReasonWeclapp, in the responseconcurrency or load, and concurrency, load if both apply

The two request headers can only reduce a timeout and never exceed the server-side limits. Invalid, negative or zero values are ignored. If both are set, X-Weclapp-Request-Timeout-Ms also limits the waiting time in the queue.

The two response headers are present on successful responses and on 429 responses. They are not present when the request did not have to wait.

A request with both timeout headers, with the values from Weclapp’s exampleHTTP
GET /webapp/api/v2/party HTTP/1.1
Host: <TENANT>.weclapp.com
AuthenticationToken: <TOKEN>
Accept: application/json
X-Weclapp-Wait-Timeout-Ms: 5000
X-Weclapp-Request-Timeout-Ms: 15000

The client waits at most 5 seconds before processing starts, and the entire request should complete within 15 seconds. A request that does not complete within X-Weclapp-Request-Timeout-Ms returns the error request_timeout with status 400.

Weclapp’s reference gives these recommendations to API users:

  • Handle the 429. The client must handle HTTP 429 and implement retry logic with exponential backoff.
  • Distribute the load. Avoid short peaks of many parallel requests and distribute resource-intensive tasks over a longer period of time.
  • Filter and combine. Do not poll without a filter, and prefer fewer, larger requests.
  • Use webhooks. Weclapp names an event-driven architecture with webhooks as the ideal case.
  • Cache. Retrieve data such as custom attribute definitions only once.

Both mechanisms, the 30 seconds, the example, the four headers and the recommendations from the section on load management in Weclapp’s v2 reference, the timeout error from its error reference, checked 16 November 2026.

Change notifications

How webhooks work, directly and through maesn

A webhook is a request Weclapp sends to a URL of your application when a record is created, changed or deleted. Each webhook is set up in one Weclapp instance for one entity and one URL, with a selection of the three events.

In Weclapp’s interface a webhook is created in the global settings, in the webhooks area of the integration settings. The API offers the resource /webhook for the same purpose. Its OpenAPI specification marks url, entityName, requestMethod and the booleans atCreate, atUpdate and atDelete as required, and requestMethod has the values GET and POST.

The values Weclapp transmits with a POST, according to its help articleJSON
{
"entityId": "<ID>",
"entityName": "<name>",
"type": "<CREATE, UPDATE or DELETE>"
}

entityId is the ID of the record, entityName the name of its entity and type the kind of change, with the possible values CREATE, UPDATE and DELETE.

The notification contains these three values, and the record itself is read with a separate request. The help article does not list the possible values of entityName and describes no signature for the request.

If the URL cannot be reached, Weclapp repeats the attempt after 1, 5 and 30 minutes, after 5 hours and after 1 day. If it still cannot be reached after one day, the webhook is deactivated, and the list of webhooks records this with an error message.

Setup, the transmitted values and the retries from Weclapp’s help article on webhooks, which is in German, the properties of the webhook resource from its OpenAPI specification, checked 16 November 2026.

Through maesn you create a webhook subscription for one connected customer, with a resource and an event type. A notification from Weclapp then reaches your application in the unified event format.

How webhooks differ between ERP and accounting systems is the subject of our article on webhooks in ERP and accounting.

The request that creates a subscription for created customersHTTP
POST /webhooks
X-API-KEY: <your API key>
X-ACCOUNT-KEY: <account key of the customer>
 
{
"callbackUrl": "https://example.com/webhook-endpoint/12345",
"eventType": "CREATED",
"resource": "CUSTOMER"
}

The body is from our Weclapp documentation. The response contains the id of the subscription.

The event for a created customer, as your callback URL receives itJSON
{
"eventType": "CREATED",
"filterDate": null,
"resource": "CUSTOMER",
"resourceId": "1605408d-ed88-4228-8a12-ab857a2972d8",
"userId": null
}

The example is from our Weclapp documentation. In the event for Weclapp, filterDate and userId are null.

Go-live

Testing in a trial instance and moving to customer tenants

Weclapp’s reference describes one pattern for the base URL, with the tenant in the hostname, and no separate host for tests. A test environment is a Weclapp instance of its own, with its own tenant and its own tokens.

Weclapp offers a free trial of 30 days. According to its registration page, the trial version includes all modules without restrictions and a selection of dummy data, and the trial phase ends automatically.

For live data your customers connect their own instances. Two values differ for each customer, and the requests stay the same:

  • The tenant. The hostname of every request is the domain of the customer’s instance.
  • The token. A user of that instance generates it under My settings > API, and the permissions of that user apply to your requests.

A listing in the Weclapp Store is a separate step. Weclapp’s store page states that new plugins are temporarily accepted from its sales partners only, and that it will announce there when further integrations can be listed again.

The base URL from Weclapp’s v2 reference, the trial from its registration page, the listing of plugins from its store page, which is in German, checked 16 November 2026.

Where maesn fits

Weclapp through maesn: What the Unified API handles for you

The sections above describe what a direct integration implements for one system. Through maesn you reach Weclapp with the same REST API and the same common data model as every other supported system, and these parts are handled on our side:

  • The tenant and the token. Your customer enters two values, the API token and the tenant ID, on a page provided by maesn or in your own interface through the create account endpoint. Both are stored with the connection, and your requests then identify it with an account key.
  • Webhooks. A subscription is created with one request per resource and event type for a connected customer, and each notification arrives in the unified event format.
  • Change detection. One filter returns the objects that are new or changed since a timestamp, in the same form for the systems you connect.
  • Pagination. Lists are read through one paged interface with page sizes of 5, 10, 20, 50 and 100.

What stays in your product is the handling of load. Requests to Weclapp through maesn are synchronous, so an HTTP 429 from Weclapp is returned to your application, and the retry with backoff is implemented there. Which user provides the token stays with your customer, and the permissions of that user decide what Weclapp returns.

How errors are returned through the unified interface is described on the unified error handling page. How fields outside the common data model are handled is described on the customisation handling page.

FAQ

Frequently asked questions

How does Weclapp announce changes to its API?

According to its change policy, Weclapp may modify the attributes and resources of the API from time to time without advance notice. It states that it will use commercially reasonable efforts to notify users through notifications or posts on its developer website. Deprecated attributes are tracked in the changelog, and an API newsletter informs about planned changes.

What changed between v1 and v2 of Weclapp’s API?

Weclapp names improved behaviour with POST and PUT, consistent behaviour for custom attributes, improved status codes in error responses and the removal of obsolete endpoints. In v2, invalid properties in a create or update return an error and are no longer ignored. The secondary name and number properties of referenced entities were removed in favour of the Id properties.

How do I filter Weclapp records by a custom attribute?

With the ID of the attribute in the name of the parameter. customAttribute4587-eq=NEW returns the records with the value NEW for the custom attribute with the ID 4587. Attributes of the types LIST and MULTISELECT_LIST are filtered with the suffix .id or .value, for example customAttribute3387.value-eq=OPTION1. Weclapp recommends retrieving the definitions of custom attributes only once.

How do I load referenced entities in the same Weclapp request?

With the parameter includeReferencedEntities and a comma-separated list of the properties that refer to other entities, for example unitId and articleCategoryId on an article. The response then contains an additional object referencedEntities with the referenced records. According to Weclapp this saves the subsequent requests for them.

What are additional properties in Weclapp?

Properties that are calculated or complex to determine and are therefore only returned on request. You name them in the parameter additionalProperties, for example currentSalesPrice on an article. The response then contains an object additionalProperties with an array of values for each property, and the index of a value refers to the entity at the same position in the result.

How does orderBy differ from the sort parameter in Weclapp?

The parameter orderBy accepts ordering expressions with semantics similar to an SQL ORDER BY clause, for example length(trim(lastName)) desc, firstName asc. Weclapp marks it as a beta feature. Only one of sort and orderBy may be used per query, and orderBy supports neither property predicates nor ordering by lists.

Build once on the Unified API.

A tenant in every hostname, decimal numbers as strings and a queue before the first HTTP 429: that is the contract of one system, and the next system you connect has a different one. Through maesn you build against one interface for all of them.