API Changelog

Integrate weclapp with other applications or services with our REST API. Sign up here for our API newsletter.

Our complete API documentation can be found here: weclapp API. Previous API changes and other changes can be read in the changelog.

Preview Version 23.11.1 - June 1st, 2023

Changes in /incomingGoods

Added validations:

  • senderPartyId uses the same restrictions as the UI now

Changes in /article

Added properties:

  • customerArticleNumbers (array)

customerArticleNumbers properties:

  • customerId (string)
  • customerArticleNumber (string)

Changes in /purchaseOrder

The property packageTrackingUrl can now be edited in any state of the purchase order, just like in the UI.

Changes in /purchaseInvoice

Added properties:

  • purchaseInvoiceItems.servicePeriodFromDate (integer)
  • purchaseInvoiceItems.servicePeriodToDate (integer)

Changes in /quotation

Added property:

  • rejectionReason (string)

Allow user to enter reason only when quotation status changes to rejected.

Version 23.10.1 - May 17th, 2023

Changes in /salesOrder/id/:id/createPurchaseOrder

  • Breaking change: Result change from single reference to array reference.
  • Changed properties:
    • supplierId (string) is now optional
  • Added properties:
    • multiplePurchaseOrders (boolean) [Optional]

Changes in /salesInvoice

Added property:

  • precedingSalesInvoiceId (string, read-only)

Validation for inactive articles in records

It is not possible anymore to set inactive articles in records / record items.

Affected endpoints:

  • /contract
  • /incomingGoods
  • /purchaseInvoice
  • /purchaseOrder
  • /purchaseOrderRequest
  • /purchaseOrderRequestOffer
  • /quotation
  • /salesInvoice
  • /salesOrder
  • /shipment
  • /performanceRecord
  • /productionOrder

Field unitCost can now be updpated regardless of status of main entity

The field unitCost can now be updated for items of the entities SalesInvoicePurchaseInvoiceSalesOrder – regardless of the status (i.e. any status not NEW) of main entity. In this regard the API offers now the same functionality as the UI.

In case the entity does not allow for other fields to be updates – only the unitCost field may be sent as an update – otherwise the update is still prohibited. This is to prevent undesired updates of other fields that should be prohibited

Changes in /ticket

Added properties:

  • billableStatus (boolean)
  • performanceRecordedStatus (String)
  • invoicingStatus (String)

Extend filter

In addition to the default behavior of linking filter expressions via “and” you can also link individual filter expressions via “or” by prefixing their parameter name with “or-“. See the official API documentation for more information and examples.

Remove accountType “GOOGLE_PLUS”

After the service was stopped some time ago, the type “GOOGLE_PLUS” was removed.

Affected endpoints:

  • /contact
  • /customer
  • /lead
  • /party
  • /supplier

Affected property:

  • onlineAccount.accountType

Version 23.09.1 - May 4th, 2023

Changes in /paymentRun

Breaking API Change:

Removed property:

  • paymentRunItem.purchaseOpenItemId.id (string, read-only)

Added property:

  • paymentRunItem.purchaseOpenItemId (string, read-only)

Changes in /paymentRunItem

Removed property:

  • purchaseOpenItemId.id (string, read-only)

Added property:

  • purchaseOpenItemId (string, read-only)

Changes for ticket

New endpoint /ticketCategory

Available for: GET

Properties:

  • active (boolean)
  • name (string)
  • parentTicketCategoryId (string)
  • pseudoCategory (boolean)
  • published (boolean)
  • visibleInCustomerPortal (boolean)

New endpoint /ticketChannel

Available for: GET,POST,PUT,DELETE

Properties:

  • active (boolean)
  • positionNumber (integer)
  • name (string)
  • description (string)

New endpoint /ticketType

Available for: GET,POST,PUT,DELETE

Properties:

  • active (boolean)
  • positionNumber (integer)
  • name (string)
  • description (string)

New endpoint /ticketStatus

Available for: GET,POST,PUT,DELETE

Properties:

  • name (string)
  • color (string)
  • positionNumber (integer)
  • internalTicketStatus (string)
  • defaultForInternal (boolean)
  • targetStatusId (string)
  • autoChangeDays (integer)
  • autoChangeTicketStatusId (string)

New endpoint /ticketServiceLevelAgreement

Available for: GET,POST,PUT,DELETE

Properties:

  • active (boolean)
  • degreeOfPerformance (integer)
  • customers (array)
  • types (array)
  • categories (array)
  • ratingId (string)
  • name (string)
  • active (boolean)
  • visible (boolean)
  • includeNoTicketType (boolean)
  • targets (array)

New endpoint /ticketFaq

Available for: GET,POST,PUT,DELETE

Properties:

  • question (string)
  • answer (string)
  • positionNumber (integer)
  • active (boolean)
  • visibility (string)
  • ticketCategories (array)
  • createdById (string)
  • customers (array)

New endpoint /propertyTranslation

Methods:
get /readPropertyTranslations
post /updatePropertyTranslations

Properties:

  • propertyName (string)
  • values (array)
  • values.locale (string)
  • values.text (string)

New endpoint /translation

Supported methods: GET, POST, PUT, DELETE

Properties:

  • key (string)
  • values (array)
  • values.locale (string)
  • values.text (string)

Changes for document

New endpoint /document/copy

Available for: POST

Properties:

  • sourceDocumentId (String)
  • entityName (String)
  • entityId (String)

New endpoint /document/id/{id}/copy

Available for: POST

Properties:

  • sourceDocumentId (String)
  • comment (String)

Changes in /customAttributeDefinition

Added property:

  • label (string)

Changes in /salesOrder

The description property can now be edited even if the SalesOrder is already completed.

Changes in /salesInvoice

Affected property: salesInvoiceType
Added value: “RETAIL_INVOICE”

Important: To use the below new properties, the new dropshipping logic must be enabled (request via ideas@weclapp.com).

Changes in /party

Added property:

  • enableDropshippingInNewSupplySources (boolean)

Changes in /articleSupplySource

Added property:

  • dropshippingPossible (boolean)

Changes in /purchaseOrderRequest/id/{id}/createPurchaseOrder

Added property:

  • offerItemToUpdateSupplierInformation.updatePurchasePrice (boolean), false only possible for dropshipping requests

Version 23.08.1 - April 20th, 2023

Changes in /purchaseOrderRequest

Added property:

  • purchaseOrderRequestItems.freeTextItem (boolean)

Changes in /salesOrder/id{id}/createDropshipping

If the ERP setting “Allow selection of articles without supply sources” is inactive, the sales order only contains article items and none of them has a supply source at supplier S, an error message is issued when trying to create a dropshipping purchase order at S, just like in the UI.

Changes in /purchaseOrder/id/{id}/createPurchaseInvoice

Added optional parameter invoiceDate (integer)

Changes in /party

Added properties:

  • supplierInternalNote (string)
  • customerInternalNote (string)

Changes in /tax

Added property:

  • depositAccountId (string)

Changes in /shipment

Property shippingLabelsCount can be updated regardless of shipment status.

Version 23.07.1 - April 6th, 2023

Changes in /ticket

Contacts can be changed via API consistent to UI.

Changes in /costCenter

The endpoint also supports PUT, POST and DELETE now.

Changes in /warehouseStockMovement

Added property:

  • costCenterId (string)

Changes in /purchaseOrder

Added property:

  • confirmationNumber (string)

If any item in the purchase order is linked to a blanket purchase order, trying to change the supplier will produce the error message “blanket purchase order has a different supplier”.

Changes in /salesOrder

Order item property plannedWorkingTimePerUnit is now validated to be equal to the order item unit’s amount of hours in default unit for hour if invoicing type is “EFFORT” (also: unit has to be a time unit).

Changes in /salesOrder/id/{id}/createDropshipping

The endpoint behavior is now aligned with the UI:

  • The description is inherited from the sales order.
  • If sales order and purchase order have common additional fields, the values are inherited from the sales order.
  • The shipment type is set according to the purchase setting “Shipment type for sales order commissions / dropshipping purchase orders”
  • It is not possible to create a dropshipping purchase order if the sales order
    • is a retail sale or a consignment order,
    • has been manually closed or cancelled,
    • is without weclapp shipment,
    • only contains free-text items or
    • only contains items which are already included in shipments with full order quantity.
  • It is not possible to create a dropshipping purchase order if the sales order workflow action “Start dropshipping” is inactive.

Changes in /salesOrder/id/{id}/createPurchaseOrder

The endpoint behavior is now aligned with the UI:

  • The description is inherited from the sales order.
  • The warehouse is inherited from the sales order if no warehouseId is provided as a parameter.
  • If sales order and purchase order have common additional fields, the values are inherited from the sales order.
  • The shipment type is set according to the purchase setting “Shipment type for sales order commissions / dropshipping purchase orders”
  • It is not possible to create a purchase order if the sales order
    • is a retail sale or a consignment order,
    • has been manually closed or cancelled,
    • has a fulfillment provider != “weclapp shipment” set
    • only contains free-text items or
    • only contains items which are already included in shipments with full order quantity.
  • It is not possible to create a purchase order if the sales order workflow action “Create sales order commission” is inactive.

Changes in /unit

Added property:

  • defaultUnitHourAmount (string)

Version 23.06.1 - March 23rd, 2023

Changes in /termOfPayment

Added property:

  • datevTermOfPaymentNumber (integer)

Changes in /contract

The differing shipping address and the differing inovice address can be changed via API consistent to UI.

Changes for /purchaseOrderRequest

Added property:

  • purchaseOrderRequestOffers.purchaseOrderRequestOfferItems.useSupplierArticleNumber (boolean)

Changes in /purchaseOrderRequest/id/{id}/createPurchaseOrder

Added property:

  • offerItemToUpdateSupplierInformation.createOrUpdateArticleSupplySource (boolean)

Like in the UI, it is now possible to create multiple purchase orders from one supplier request offer, provided that, at the time of creation, there are still accepted offer items not yet included in purchase orders or blanket purchase orders.

Changes in /salesOrder/id/{id}/createDropshipping

To ensure a fluent dropshipping workflow, tax rules of a foreign country are initialized automatically before dropshipping purchase order creation, just like in the UI.

Changes in /blanketPurchaseOrder

Omitting the required property discountPercentage on PUT now triggers the error message “discountPercentage is required” (with status code 400) instead of the generic “persistence error” (with status code 409).

Version 23.05.1 - March 9th, 2023

Changes in /purchaseOrder/id/{id}/createIncomingGoods

It is not possible anymore to create an incoming goods for a purchase order which only contains service items.

Changes in /contracts

Added property contractCostItems (array) with following sub-properties:

  • articleId (string)
  • title (string)
  • description (string)
  • descriptionFixed (string)
  • quantity (string)
  • unitPrice (string)
  • unitPriceInCompanyCurrency (string)
  • manualUnitPrice (boolean)
  • note (string)
  • discountPercentage (string)
  • netAmount (string)
  • netAmountInCompanyCurrency (string)
  • interval (string)
  • intervalType (string)
  • unitId (string)
  • servicePeriodFrom (integer)
  • servicePeriodTo (integer)

Changes in /article

Added property defineIndividualTaskTemplates (boolean).

Version 23.04.1 - February 23rd, 2023

Changes in /ticket

Added properties:

  • language (string)
  • room (string)

Changes in /blanketPurchaseOrder

  • It is not possible anymore to create a blanket purchase order for a supplier with order stop, just like in the UI.
  • Omitting articleId or supplierId on PUT/POST now triggers a dedicated error message.

Changes in /purchaseOrderRequest/id/:id/createPurchaseOrder

  • Purchase order creation now works for types SALES_ORDER_COMMISSION_REQUEST and DROP_SHIPPING_REQUEST.
  • Before the purchase order creation, the supplier request offer is validated like in the UI:
    • one order item cannot be linked to multiple offer items,
    • all offer items must be linked to a sales order item (if purchaseOrderRequestType = DROP_SHIPPING_REQUEST),
    • at least one sales order item must be selected for each purchase order (if purchaseOrderRequestType = SALES_ORDER_COMMISSION_REQUEST).

Changes in /quotation

In systems that didn’t work with projects in the last half year it is no longer possible to create quotations with the type ‘PROJECT’ or change current quotations to the type ‘PROJECT’. Working with or accepting already present quotations of that type is still possible.

New endpoint /quotation/id/{id}/inquire (POST)

Body parameter:

  • taskId (string, optional)

New endpoint /quotation/id/{id}/accept (POST)

Body parameters (optional):

  • quotationItems.quotationItemId (string)
  • quotationItems.quantity (string)

Version 23.03.1 - February 9th, 2023

Provide support for open items

Changes to /paymentRun

Breaking API Change:

Removed property:

  • paymentRunItem.openItem (object)

Added property:

  • paymentRunItem.purchaseOpenItemId (string)

New endpoint /purchaseOpenItem

Available for: GET.

Properties:

  • amount (string)
  • amountDiscount (string)
  • amountOpen (string)
  • amountPaid (string)
  • cleared (boolean)
  • clearanceDate (integer)
  • openItemNumber (string)
  • openItemType (string)
  • paymentApplications (array, object)
  • purchaseInvoiceId (string)

Additional endpoint: /purchaseOpenItem/id/{id}/createPaymentApplication

Available for: POST.

New endpoint /salesOpenItem

Available for: GET.

Properties:

  • amount (string)
  • amountDiscount (string)
  • amountOpen (string)
  • amountPaid (string)
  • cleared (boolean)
  • clearanceDate (integer)
  • openItemNumber (string)
  • openItemType (string)
  • paymentApplications (array object)
  • salesInvoiceId (string)

Additional endpoint: /salesOpenItem/id/{id}/createPaymentApplication

Available for: POST.

Changes for article

Changes in /article

It is not possible anymore to add an article of type “SHIPPING_COST” to productionBillOfMaterialItems.

Added property:

  •  defaultPriceCalculationType (string)

Possible values: [“MARGIN_CALCULATION”, “PURCHASE”, “RECOMMENDED_RETAIL_PRICE”, “SALES”]

Changes in /article/id/{id}/createLabelPdf

Creation of labels for shipping cost articles is not possible, just like in the UI.

Provide support for ticketing

New endpoint /ticket

Available for: GET, POST, PUT, DELETE.

Properties:

  • assignedUserId (string)
  • billable (boolean)
  • ccEmailAddresses (string)
  • contactId (string)
  • contractId (string)
  • description (string)
  • disableEmailTemplates (boolean)
  • email (string)
  • entityReferences (array)
  • finishedDate (integer, readonly)
  • firstName (string)
  • lastName (string)
  • legacyArticleId (string)
  • legacyTimeAndMaterialTicket (boolean)
  • mail2TicketId (string, readonly)
  • mobilePhoneNumber (string)
  • note (string)
  • partyId (string)
  • phoneNumber (string)
  • publicPageExpirationDate (integer, readonly)
  • publicPageUuid (string, readonly)
  • resolvedYourIssue (boolean, readonly)
  • responsibleUserId (string)
  • solutionDueDate (integer)
  • subject (string, mandatory)
  • tags (array)
  • ticketCategoryId (string)
  • ticketChannelId (string)
  • ticketNumber (string)
  • ticketPriorityId (string, mandatory)
  • ticketRating (string) – possible values: [“STARS_1”, … “STARS_5”]
  • ticketRatingComment (string, readonly)
  • ticketRatingDate (integer, readonly)
  • ticketServiceLevelAgreementId (string)
  • ticketStatusId (string)
  • ticketTypeId (string)

The following property cannot be changed or set to “true” if legacy time and material tickets are generally not possible in the system:

  • legacyTimeAndMaterialTicket

New endpoint /ticket/id/{id}/createPublicPage

Available for: POST.

New endpoint /ticket/id/{id}/disablePublicPage

Available for: POST.

Improvements for custom attributes

Provide the support for custom attributes of type REFERENCE to be able to filter by the id of the referenced entity.

Example query parameter: ?customAttribute<id1>.entityReferences.entityId-eq=<id2>

Changes in /purchaseOrderRequest

Trying to add more than ten offers to the purchase order request now triggers a dedicated error message intead of the generic “unexpected exception”.

Trying to add offers with the same supplier used more than once now triggers a dedicated error message intead of the generic “unexpected exception”.

Create/download contract document

New endpoint /contract/id/{id}/createContractDocument

Available for: POST.

New endpoint /contract/id/{id}/downloadLatestContractDocumentPdf

Available for: GET.

Changes in /salesOrder

The following properties are now validated to be null if fulfillmentProviderId is null:

  • defaultShippingCarrierId
  • shipmentMethodId

Changes for Supplier Request

Changes in /purchaseOrderRequest

It is not possible anymore to create a supplier request offer for a supplier with order stop, just like in the UI.

Changes in /purchaseOrderRequest/id/{id}/createPurchaseOrder

It is not possible anymore to create a purchase order from a supplier request offer whose supplier is order-stopped, just like in the UI.

Changes in /purchaseOrderRequest/id/{id}/createBlanketPurchaseOrder

It is not possible anymore to create a blanket purchase order from a supplier request offer whose supplier is order-stopped, just like in the UI.

Version 23.02.1 - January 26th, 2023

Changes in /shipment

Added property:

  • responsibleUserId (string)

Changes in /incomingGoods

Added property:

  • responsibleUserId (string)

Download purchase order documents and create/download dropshipping delivery note

Provides support to download purchase order documents and to create/download dropshipping delivery note.

New endpoints:

  • /purchaseOrder/id/{id}/createDropshippingDeliveryNotePdf (POST)
  • /purchaseOrder/id/{id}/downloadLatestPurchaseOrderPdf (GET)
  • /purchaseOrder/id/{id}/downloadLatestDropshippingDeliveryNotePdf (GET)

Changes in /salesOrder

Affected property:

  • /salesOrder/id/{id}/createDropshipping/salesOrder/id/{id}/createPurchaseOrder

It is not possible anymore to create (dropshipping) purchase orders for a supplier with order stop.

Changes in /salesInvoice

Added property:

  • salesInvoiceItems.serialNumbers (string, read-only)

Changes in /article

Added properties:

  • contractBillingMode (string)
  • contractBillingCycle (string)

Changed property:

  • articlePrices.reductionAdditions.type

Possible values: [“ADDITIONAL_ABS”, “REDUCTION_ABS”, “ADDITION_PERCENT”, “REDUCTION_ABSOLUTE”]
Removed values: [“REBATE_PERCENT”]

Changes in

  • /quotation
  • /salesOrder
  • /salesInvoice
  • /purchaseOrder
  • /purchaseInvoice
  • /contract
  • /purchaseOrderRequest

Affected property:

  • {their respective items list}.reductionAdditionItems.type

Possible values: [“ADDITION_ABSOLUTE”, “REDUCTION_ABSOLUTE”, “ADDITION_PERCENT”, “REDUCTION_ABSOLUTE”]
Removed values: [“REBATE_PERCENT”]

Changes in /accountingTransaction

Affected property: type

Added value: “CARRY_FORWARD”

Version 23.01.1 - January 12th, 2023

Changes in /articleSupplySource

Absence/nullness of the property articleNumber now produces a dedicated error message instead of the generic “persistence error”.

Changes in /article/articleSupplySource

Added property:

  • internalNote (string)

Changes in /priceCalculationParameter

Added properties:

  • margin (string)
  • profit (string)

Changes in /salesOrder

Added properties:

  • projectGoals (string)
  • plannedProjectStartDate (integer)
  • plannedProjectEndDate (integer)
  • servicesFinished (boolean, readOnly)
  • onlyServices (boolean, readOnly)

Changes in /tax

Added property:

  • taxKey (string)

New endpoint /taxDeterminationRule

Available for: GET, POST, PUT, DELETE.

Added properties:

  • accountingCodeId (string)
  • customerDebtorAccountingCodeId (string)
  • dispatchCountryCode (string)
  • endDate (integer)
  • partyType (string)
  • recipientCountryCode (string)
  • sales (boolean)
  • startDate (integer)
  • taxId (string)
  • taxRateType (string)
  • validVatId (boolean)

New endpoint /tax/configurePurchaseTaxes

Available for: POST.

Parameter:

  • countryCode (string)

New endpoint /tax/configureSalesTaxes

Available for: POST.

Parameters:

  • countryCode (string)
  • personsThirdCountryFreeTax (boolean)
  • taxEuPersonsRecipientCountry (boolean)

New endpoint /tax/resetSystemTaxes

Available for: POST.

Parameters:

  • countryCode (string)
  • personsThirdCountryFreeTax (boolean)
  • initAllStores (boolean)
  • taxRecipientCountry (boolean)

New endpoint /tax/findPurchaseTax

Available for: GET.

Returns a tax object with all its properties.

Changes in /comment

Added filter support for property: recipientUsers.

New endpoint /userRole

Supported methods: GET, POST, PUT, DELETE.

Properties:

  • name (string)
  • permissions (array, string)
  • includedUserRoles (array, object)

Changes in /user

Added property:

  • userRoles (array, object)

Changes in /party

Added property:

  • supplierMinimumPurchaseOrderAmount (string)

Version 22.23.2 - December 15th, 2022

Changes in /article

The following properties are now validated to be >= 0, just like in the UI:

  • articleGrossWeight
  • articleNetWeight
  • articleHeight
  • articleLength
  • articleWidth
  • fixedPurchaseQuantity
  • minimumPurchaseQuantity
  • minimumStockQuantity
  • targetStockQuantity

Changes in /articleSupplySource:

The following properties are now validated to be >= 0, just like in the UI:

  • fixedPurchaseQuantity
  • minimumPurchaseQuantity

Changes in /party

Added property:

  • customerFormerSalesPartner (boolean)

Changes in /quotation

Added properties:

  • commissionSalesPartners (array)
  • quotationItems.commissionSalesPartners (array)

Changes in /contract

Added properties:

  • commissionSalesPartners (array)
  • contractItems.commissionSalesPartners (array)

Changes in /salesOrder

Added property:

  • orderItems.commissionSalesPartners (array)

Changes in /salesInvoice

Added property:

  • salesInvoiceItems.commissionSalesPartners (array)

Version 22.23.1 - December 1st, 2022

Changes in /contract

Breaking API Changes:

Renamed properties in contract.contractItems:

  • validFrom -> servicePeriodFromDate
  • validTo -> servicePeriodToDate

Changes in /quotation

  • Duplicate quotation number now returns HTTP status code 409 instead of 400, as it is the case for other entities.
  • quotationVersion now is read-only instead of being able to be specified on POST.

New endpoint /tag

Available for: GET, POST, PUT, DELETE.

Added property:

  • name (string)

Changes in /warehouseLevel

Added properties:

  • deleteInLogisticsMigration (boolean, readonly)

Changes in /party

Added properties:

  • customerDefaultShippingCarrierId (string)
  • supplierDefaultShippingCarrierId (string)

Provision of CRM-Events

New endpoint /crmEvent:

Supports: GET, POST, PUT, DELETE.

Provided properties:

  • callCategoryId (string)
  • contactId (string)
  • creatorUserId (string, read-only)
  • startDate (integer)
  • endDate (integer)
  • description (string)
  • eventCategoryId (string)
  • location (string)
  • opportunityId (string)
  • partyId (string)
  • subject (string)
  • type (string)

New endpoint /crmEventCategory:

Supports: GET, POST, PUT, DELETE.

Provided properties:

  • active (boolean)
  • description (string)
  • name (string)
  • positionNumber (integer)

New endpoint /crmCallCategory:

Supports: GET, POST, PUT, DELETE.

Provided properties:

  • active (boolean)
  • description (string)
  • name (string)
  • positionNumber (integer)

Changes in /salesInvoice

Affected properties:

  • status
  • statusHistory.status

Possible values: [“NEW”, “ENTRY_COMPLETED”, “DOCUMENT_CREATED”, “VOID”, “OPEN_ITEM_CREATED”]
Removed values: [“INVOICE_CHECKED”, “INVOICE_VERIFICATION”]

Changes in /purchaseInvoice

Affected properties:

  • status
  • statusHistory.status

Possible values: [“NEW”, “INVOICE_VERIFICATION”, “INVOICE_CHECKED”, “ENTRY_COMPLETED”, “VOID”, “OPEN_ITEM_CREATED”]
Removed values: [“DOCUMENT_CREATED”]

Changes in /tax

  • taxType can no longer be subsequently changed for existing taxes (UPDATE). It can only be set during creation of new taxes.
  • taxType “TAX_FREE” no longer exists.

New parameter for creating demoTestSystems

New mandatory parameter for creating demoTestSystems via /system/createDemoTestSystem:

  • allUsers (boolean)

Version 22.22.1 - November 17th, 2022

Changes in /purchaseOrderRequest

Breaking API Changes:

  • Removed property purchaseOrderRequestItems.customAttributes.
  • Removed property purchaseOrderRequestOffers.purchaseOrderRequestOfferItems.customAttributes.

New endpoint /ticketAssignmentRule

Available for: GET, POST, PUT, DELETE.

Properties:

  • partyId (string)
  • distributionChannel (string)
  • ticketPriorityId (string)
  • ticketChannelId (string)
  • commercialLanguage (string)
  • responsibleUserId (string)
  • ticketTypeId (string)
  • targetStatus (string, mandatory)
  • ticketAssigneeType (string, mandatory, possible values: “TICKET_AGENT”, “CUSTOMER_RESPONSIBLE_PERSON”)
  • assigneeUserId (string)

Changes in /quotation, /salesOrder, /salesInvoice, /purchaseInvoice, /purchaseOrder

In line with the UI, it is not possible anymore to create/update/delete shipping cost items when the record is in a completed state.

Provide support to create article labels and datasheets

New endpoints:

  • POST /article/id/{id}/createDatasheetPdf
    • Properties:
      • commercialLanguageId (string, required)
      • salesChannel (string, required)
  • POST /article/id/{id}/createLabelPdf
    • Properties:
      • printCount (integer, required)
      • startPosition (integer, required)

Changes in /purchaseOrder

Added property:

  • commission (string)

Changes in /quotation

  • The property invoiceRecipientId now also supports leads, just like the UI.

Version 22.21.1 - November 3rd, 2022

Changes in /attendance

New endpoint /currentAttendance is available for: GET.

Permissions

The following properties will only be usable for users with either ERP administrator role or Accounting administrator role:

  • /salesInvoice
    • salesInvoiceItems.manualUnitCost
    • salesInvoiceItems.unitCost
    • salesInvoiceItems.unitCostInCompanyCurrency
  • /quotation
    • quotationItems.manualUnitCost
    • quotationItems.unitCost
    • quotationItems.unitCostInCompanyCurrency
  • /salesOrder
    • orderItems.manualUnitCost
    • orderItems.unitCost
    • orderItems.unitCostInCompanyCurrency

Provide support for Demo-Test-Systems

New API-Endpoints:

    • GET /system/demoTestSystemInfo
      • Properties:
        • mainInstanceUrl (string)
        • demoInstanceUrl (string)
        • createPossible (boolean)
        • creationInProgress (boolean)
        • templateSystems (array, string)
    • POST /system/createDemoTestSystem
      • Admin permissions required
      • Properties for request:
        • label (string)
        • preset (string)
        • template (object, optional)

Changes in /salesInvoice

Added property:

  • salesInvoiceItems.salesInvoiceItemRelationship.performanceRecordItemId (string, readOnly)

Changes in /notification

Added properties:

  • entityId (string)
  • entityName (string)

Changes in /purchaseInvoice

Added property:

  • bookingText (string)

Changes in /quotation

Added property:

  • publicLink (string, readonly)

Version 22.20.1 - October 20th, 2022

Improvements for roles

Breaking API Changes:

  • Removed property personRole.
  • Added property personRoleId.

affected endpoints:

  • /party
  • /supplier
  • /customer
  • /lead
  • /contact

New endpoint /personRole

Supported methods: GET, POST, PUT, DELETE.

Properties:

  • active (boolean)
  • name (string)
  • positionNumber (integer)

Changes in /cashAccount

Added properties:

  • active (boolean)
  • accountId (string)
  • treasurerId (string, required)

Added operations: PUT, POST.

Changes in /salesOrder

Added properties:

  • availability (string, readonly)
  • availabilityForAllWarehouses (string, readonly)
  • orderItems.availability (string, readonly)
  • orderItems.availabilityForAllWarehouses (string, readonly)

Changes in /shipment

Added properties:

  • availability (string, readonly)
  • availabilityForAllWarehouses (string, readonly)
  • shipmentItems.availability (string, readonly)
  • shipmentItems.availabilityForAllWarehouses (string, readonly)

Changes in /productionOrder

Added properties:

  • availability (string, readonly)
  • availabilityForAllWarehouses (string, readonly)
  • productionOrderItems.availability (string, readonly)
  • productionOrderItems.availabilityForAllWarehouses (string, readonly)

Version 22.19.1 - Oktober 6th, 2022

Improvements for departments

Changes in party endpoints

Breaking API Changes:

  • Removed property personDepartment.
  • Added property personDepartmentId.

affected endpoints:

  • /party
  • /supplier
  • /customer
  • /lead
  • /contact

New endpoint /personDepartment

Supported methods: GET, POST, PUT, DELETE.

Properties:

  • active (boolean)
  • name (string)
  • positionNumber (integer)

Changes in /article

  • Only ERP seller and accounting administrator may add and modify elements of articlePrices.
  • Only ERP administrator and accounting administrator may remove elements from articlePrices.

Changes in /articleSupplySource

Only ERP administrator and accounting administrator may add and modify elements of and remove elements from articlePrices.

Improved error responses

Error responses for operations that are not allowed in the given context / for the given data (typically entity deletion) are now reported as error type "/webapp/view/api/errors.html#!/errors/context" (status code 490 / Conflict).

Changes in /quotation

Added property:

  • template (boolean)

Changes in /purchaseOrder

Added property:

  • purchaseOrderItems.salesOrderItemId (string, readonly)

Changes in /salesOrder

Additional Method:

  • /toggleProjectTeam: Toggles (activates or deactivates) the team feature for the specified salesOrder.

Added properties:

  • projectModeActive (boolean)
  • projectMembers (array)

Added entity ProjectOrderTeamUser

Can be accessed via projectMembers property in /salesOrder.

Properties:

  • userId (string)
  • hourlyCost (integer)
  • teamRole (string)

Changes in prime address

Previous behaviour: When property primeAddress of an address in endpoint /party is set to false the property primaryAddress still remains true and no error message is displayed.

New behaviour: When property primeAddress of an address in endpoint /party is set to false an error message “Company/contact not saved. Please add primary address.” is displayed.

Version 22.18.1 - September 22nd, 2022

Changes in /ticketFaq

  • Updating ticketCategories is also possible with sub categories.

Changes in /article

  • Changes in /article/id/:id/uploadArticleImage: Added optional parameter articleImageId (string) to allow overwriting an existing article image.
  • Changes in PUT /article: PUT /article only changes articlePrices.lastModifiedByUserId, if element of articlePrices is actually changed.

Changes in /financialYear

  • Validation prohibits creating a financial year that covers the validity period of another financial year.

Changes in /incomingGoods

Changed properties:

  • purchaseOrderId set read only.
  • purchaseOrderNumber set read only.
  • purchaseOrders set read only.
  • incomingGoodsItems.purchaseOrderItemId setable, if not already set.

Version 22.17.1 - September 8th, 2022

Changes in /contract

Added properties:

  • ticketServiceLevelAgreementId (string)
  • sentToRecipient (boolean)
  • disableEmailTemplate (boolean)

Version 22.16.1 - August 25th, 2022

Changes for Taxes

Breaking API Change: As already announced in the last product changelog, the tax types will be changed step by step. In the API, this may result in the ID of a tax changing. Existing data records may therefore change as a result of the migration and this must be taken into account. Moreover the tax type “STEUERFREI” will no longer exist.

Changes in /article and /articleSupplySource

  • Added property: lastModifiedByUserId (string, readonly) in articlePrices

Changes in /articlePrice

  • Added property: lastModifiedByUserId (string, readonly)

Changes in /salesOrder

  • Added property: tasks (array, readonly) in salesOrderItem

New endpoint: /financialYear

Available for: GET, POST, PUT, DELETE

Properties:

  • status (string)
  • name (string)
  • validFrom(integer)
  • validTo (integer)
  • periods (array)

Periods properties:

  • financialYearId (string)
  • name (string)
  • open (boolean)
  • periodNumber (integer)
  • validFrom (integer)
  • validTo (integer)

REST-Method /generatePeriods

POST /financialYear/id/:id/generatePeriods: Automatic creation of all available posting periods

Version 22.15.1 - August 11th, 2022

Changes in /article

New endpoint /articleStatus is available for: GET, POST, PUT, DELETE.

Added properties:

  • statusId (string)

New endpoint /attendance

New endpoint /attendance is available for: GET, POST, PUT, DELETE.

Properties:

  • userId (string, readOnly)
  • duration (integer, readOnly)
  • endTime (integer)
  • startTime (integer)
  • dateCreated (integer, readOnly)
  • lastModified (integer, readOnly)

Additional Methods:

  • /logOn
    Starts an active attendance.
  • /logOff
    Ends active attendance.

Provide support for collective sales invoices

Changes in /salesOrder

Extend endpoint /salesOrder/id/{id}/createSalesInvoice for creating a collective invoice.

added optional property:

  • additionalSalesOrderIds (array)

Changes in /salesInvoice

Added properties:

  • salesInvoiceItems.salesInvoiceItemRelationship (array)
  • collectiveInvoicePositionPrintType (string)

Provide new endpoint /salesInvoice/id/{id}/addSalesOrders

Properties:

  • collectiveInvoicePositionPrintType (string)
  • salesOrderIds (array)

Version 22.14.1 - July 28th, 2022

Changes in /salesInvoice and /purchaseInvoice

Breaking API Change: The final invoice state has been renamed from “BOOKED” to “OPEN_ITEM_CREATED”.

Extended production: Added support for  work schedules

Added new endpoint: /productionWorkSchedule

Supported methods: GET, POST, PUT, DELETE

Properties:

  • workScheduleNumber (string)
  • customAttributes (array)
  • description (string)
  • documents (array)
  • workScheduleItems (array)
  • status (string)

productionWorkScheduleItem:

  • costCenterId (string)
  • customAttributes (array)
  • multipleHumanOperation (integer)
  • multipleMachineOperation (integer)
  • positionNumber (integer)
  • quantityBase (integer)
  • setupTime (integer)
  • shortDescription (string)
  • description (string)
  • timeType (string)
  • timeUnit (string)
  • unitTime (integer)
  • validFrom (integer)
  • validTo (integer)
  • productionWorkScheduleId (string, readOnly)

Added new endpoint: /productionWorkScheduleAssignment

Supported methods: GET, POST, PUT, DELETE

Properties:

  • productionWorkScheduleId (string)
  • articleId (string)
  • alternative (boolean)
  • customAttributes (array)
  • validFrom (integer)
  • validTo (integer)

Changes in /article

  • Added property: positionNumber (integer) in supplySources.
  • The property marginCalculationPriceType is now correctly set/updated on POST/PUT.

Changes in /productionOrder

Added property:

  • workItems (array, readOnly)

productionOrderWorkItem:

  • book (boolean)
  • customAttributes (array)
  • manualItem (boolean)
  • positionNumber (integer)
  • shortDescription (string)
  • status (string)
  • targetEndDate (integer)
  • targetOrderTime (integer)
  • targetStartDate (integer)
  • timeType (string)
  • unitTime (integer)
  • description (string)

Changes in /warehouseStockMovement

/bookIncomingMovement, /bookOutgoingMovement and /bookTransferMovement all support custom attributes now.

Added property:

  • customAttributes (array)

Version 22.13.1 - July 14th, 2022

Changes in /ledgerAccount

Breaking API Change: The properties taxId and taxName were removed.

Changes in /article

Users with only the role “Project management user” will no longer see the following properties:

  • accountNumber
  • expenseAccountNumber

Changes in /variantArticle

Added property variantArticleName (string).

Changes in /contract

Added property tags (array).

New endpoint /paymentRun

With this endpoint payment runs can be read and deleted.
There is also a PUT which provides update to existing paymentRunItems and delete of them.

Added properties:

  • paymentRunDate (integer, readonly)
  • paymentRunItems (object-array, readonly)
  • paymentRunNumber (string, readonly)
  • runByUserId (string, readonly)
  • totalAmount (string, readonly)

New endpoint /paymentRunItem

With this endpoint payment runItems can be read.

Added properties:

  • amountDiscount (integer, readonly)
  • amountPayment (integer, readonly)
  • cleared (boolean, readonly)
  • conversionRate (string, readonly)
  • conversionRateDate (integer, readonly)
  • document (object, readonly)
  • moneyTransaction (object, readonly)
  • openItem (object, readonly)
  • paymentAdvice (object, readonly)
  • paymentRunId (string, readonly)
  • paymentRunPaymentType (string, readonly)
  • recordCurrency (object, readonly)
  • bankAccountId (string)
  • partyBankAccountId (string)
  • purpose (string)

Extended record items

Added property manualQuantity (boolean) to record items.
Can only be updated from false to true. Prevents direct update of quantity if false.

Affected endpoints:

  • /contract
  • /incomingGoods
  • /purchaseInvoice
  • /purchaseOrder
  • /purchaseOrderRequest
  • /purchaseOrderRequestOffer
  • /quotation
  • /salesInvoice
  • /salesOrder
  • /shipment

Version 22.12.1 - June 30th, 2022

Changes in /paymentMethod

  • Reading clearingAccountId requires app “Accounting administrator”/”Accounting”.
  • Updating autoClearingAccountTransaction requires app “Accounting administrator”/”Accounting”.

Changes in /shipment

  • /shipment now supports DELETE.

Changes in /incomingGoods

  • /incomingGoods now supports DELETE.
  • /incomingGoods property relatedShipmentId is only visible for users with permission “Shipment read”.

Version 22.11.1 - June 15th, 2022

Articles

  • Breaking API Change: The field articleCategoryId in /article/priceCalculationParameters has been removed.
  • /articleSupplySource now supports DELETE.

Improved error handling

weclapp API error responses are now basically conformant to RFC 7807, with some notable differences:

  • The migration to the RFC 7807 structure is an ongoing process, so some compatibility mechanisms are in place until further notice:
    • The responses come with “Content-Type: application/json” instead of “Content-Type: application/problem+json”
    • The “unstructured” error responses that have been in use until now are still part of the response JSON, so existing code should work without changes.
    • Detail information that should be there according to the new structure may be still missing. This applies especially to validation errors.
  • Two custom fields have been added to the response structure: “location” and “validationErrors”.

The detailed documentation for the response structure and individual errors is part of the weclapp API documentation.

Version 22.10.1 - June 2nd, 2022

Users

Extension of the endpoint /user. For “My weclapp administrator” the endpoint now supports:

  • POST
  • PUT
  • DELETE

Articles

Added properties in /article:

  • launchDate (integer)
  • sellFromDate (integer)
  • sellByDate (integer) – must be after sellFromDate
  • supportUntilDate (integer)

Quotations

Added properties to /quotation

  • requestDate (integer)
  • defaultShippingCarrierId (string)
  • defaultShippingCarrierName (string)

Purchase Invoices

Added properties to /purchaseInvoice:

  • deliveryAddress (object)
  • invoiceAddress (object)

The new properties deliveryAddress and invoiceAddress will show “my delivery address” and “my invoice address” now, just how it’s implemented for purchase orders.

The property recordAddress will now provide the address of the supplier of the record (also same behaviour as for purchase orders).

Contracts

Changes to /contract. The fields cancellationPeriodUnit and cancellationPeriodSoftframe can no longer be set to null, if the field cancellationPeriodQuantity isn’t empty.

Version 22.09.1 - May 19th, 2022

Changes in /article

Added properties:

  • plannedWorkingTimePerUnit (string)
  • invoicingType (string) – possible values: [EFFORT; FIXED_PRICE]

Added value to marginCalculationPriceType: EMPLOYEE_COST

Changes in /quotation

Added properties in quotationItem:

  • serviceItem (boolean)
  • plannedWorkingTimePerUnit (string)
  • invoicingType (string) – possible values: [EFFORT; FIXED_PRICE]

Changes in /salesOrder

Added properties in salesOrderItem:

  • serviceItem (boolean)
  • plannedWorkingTimePerUnit (string)
  • invoicingType (string) – possible values: [EFFORT; FIXED_PRICE]

New endpoint /placeOfService

Added properties:

  • active (boolean)
  • description (string)
  • name (string)
  • positionNumber (integer)

Changes in /customAttributeDefinition

Add values to attributeEntityType:

  • blanketPurchaseOrder
  • performanceRecord

Changes in /sepaDirectDebitMandate

Property firstDebit (boolean) is required.

Changes for several record endpoints

Following endpoints do not longer support service items:

  • /blanketPurchaseOrder
  • /incomingGoods
  • /productionOrder
  • /purchaseOrder (purchaseOrderType: TRIANGULAR, BLANKET_PURCHASE_ORDER)
  • /purchaseOrderRequest
  • /salesOrder (salesOrderPaymentType: COUNTER_SALES, invoicingType: EFFORT)
  • /shipment

Version 22.08.1 - April 21st, 2022

Changes in /purchaseInvoice

/purchaseInvoice now supports DELETE.

Changes in /purchaseOrder

/purchaseOrder now supports DELETE.

Changes in /bankAccount

Added enum property automaticProcessing.

Possible values:
NONE, CLEAR, BOOK, PROCESS.

Changes in /article

  • /article: the following properties are reset to null if the provided article type is “SERVICE” or “SHIPPING_COST” since they are unused:
    • articleGrossWeight
    • articleNetWeight
    • articleLength
    • articleWidth
    • articleHeight
    • countryOfOriginCode
    • customsDescription
    • customsTariffNumber
    • customsTariffNumberId
    • manufacturerId
    • manufacturerName
    • manufacturerPartNumber
    • producerType
  • /article: the following additional properties are reset if the provided article type is “SHIPPING_COST” since they are unused:
    • articleImages -> [] (existing images for this article will be removed)
    • applyCashDiscount -> false
    • description -> null
    • ean -> null
    • longText -> null
    • quantityConversions -> [] (existing quantity conversions for this article will be removed)
    • recordItemGroupName -> null
    • shortDescription1 -> null
    • shortDescription2 -> null
  • /article property productionBillOfMaterialItems will only be visible for ERP administrators of ERP retail license.
  • /article property productionArticle will only be editable for ERP administrators of ERP retail license.

Version 22.07.1 - April 7th, 2022

Changes in /article

Added some article related properties:

  • barcode (string)
  • producerType (string)
  • quantityConversions (array)
  • priceCalculationParameters (array)

Added support for collective incoming shipments

Affected existing endpoint: /purchaseOrder/id/<id>/createIncomingGoods

Add the optional parameter additionalPurchaseOrderIds (array(string)). It is possible to pass orders to add one or more Order/OrderItems as incoming goods.

New endpoint: /incomingGoods/id/<id>/addPurchaseOrders

Adds purchase orders with provided ids (array(string)) to given incomingGoods.

Changes in /bankAccount

Fixed bug at DELETE: Restrict deletion of a bank account the same way as the UI would do.

Add connection failure message – Added property:

  •  connectionFailure (string)

Further Changes

Added property in /notification:

  • priority (string)

Version 22.06.1 - March 24th, 2022

General improvements

  • Improve handling for PUT requests and ignoreMissingProperties=true. Setting nested objects to “null” or removing their values will be handled correctly from now on.
  • Improve error handling for invalid POST + PUT requests. An improved error message is now displayed.

Purchase Order

Added tracking information in /purchaseOrder.

Added properties:

  • shippingCarrierId (string)
  • packageTrackingNumber (string)
  • packageTrackingUrl (string)

Production Order

Changes in /productionOrder:

The status can be set back to “ENTRY_IN_PROGRESS”.

Sales Order

PUT /salesOrder:

When switching the invoice recipient of a sales order, also switch the invoice recipient of all connected and uncancelled shipments.

Incoming Goods

New endpoint /incomingGoods/id/<id>/createSupplierReturn.
Provide new endpoint to allow creating a supplier return for a customer return.

Properties:

  • purchaseOrderId (string)
  • supplierId (string)

External Connections

/externalConnection:

Removed connectionType “EPOST”.

Version 22.05.1 - March 10th, 2022

Change in /calendarEvent

Breaking API Change:

Changed /calendarEvent to return the standard entity reference structure in the “references” property instead of the previous custom one. Now the property is an array of objects, each with “entityName” (name of the referenced endpoint) and “entityId” (ID of the referenced entity) and nothing else.

Permission change in /article

Users can only update the properties batchNumberRequired and serialNumberRequired, if they are assigned app “Cloud ERP retail: ERP administrator” or “Enterprise Resource Planning: Administrator”. Users with app “Cloud ERP service: ERP administrator” will no longer be able to update these properties.

Version 22.04.1 - February 24th, 2022

Sales Invoice

PUT /salesInvoice

Title of sales invoice item is now editable for sales invoices with sales invoice type “FINAL_INVOICE”.

Improvements for Purchase Invoice

Extend /purchaseInvoice

Add read-only property purchaseInvoiceItems.purchaseInvoiceItemRelationship to be able to access the multi-relationship on items layer. This property provides full path filter support.

Included properties:

  • purchaseInvoiceItemId (string)
  • quantity (string)
  • shipmentItemId (string)
  • supplierOrderItemId (string)

Improve curreny conversion

The behavior when changing the currency of a purchase invoice has been improved and now results in a correct currency conversion.

Forms

Add factoring property to customer and records.

New boolean property “factoring” available for /party (customer = true required) and the following record endpoints:

  • /contract (contract party must be a customer)
  • /quotation
  • /salesInvoice
  • /salesOrder 

Extend /serialNumber

customAttributes are now updatable via PUT.

Provide contracts

New endpoint /contract

Supported methods: GET, POST, PUT, DELETE

Supported properties of /contract:

  • additionalAddresses (array)
  • authorizationUnitId (string)
  • automaticExtension (boolean)
  • billUntil (string)
  • billingDay (integer)
  • billingTargetInvoiceStatus (string)
  • billingType (string)
  • cancellationDate (integer)
  • cancellationPeriodQuantity (integer)
  • cancellationPeriodSoftframe (string)
  • cancellationPeriodUnit (string)
  • commercialLanguage (string)
  • commission (string)
  • contractDate (integer)
  • contractItems (array)
  • contractNumber (string)
  • contractNumberAtParty (string)
  • contractStatus (string)
  • correspondenceAddress (object)
  • customAttributes (array)
  • deliveryAddress (object)
  • deliveryEmailAddresses (object)
  • description (string)
  • differingCorrespondenceAddress (boolean)
  • differingDeliveryAddress (boolean)
  • differingInvoiceAddress (boolean)
  • endDate (integer)
  • extensionQuantity (integer)
  • extensionUnit (string)
  • factoring (boolean)
  • invoiceAddress (object)
  • invoiceRecipientId (string)
  • latestCancellationWarningQuantity (integer)
  • latestCancellationWarningUnit (string)
  • latestPossibleTerminationDate (integer)
  • name (string)
  • nextContractBillingDate (integer)
  • nonStandardInputTaxId (string)
  • orderNumberAtCustomer (string)
  • partyId (string)
  • paymentMethodId (string)
  • pricingDate (integer)
  • purchaseEmailAddresses (object)
  • recordComment (string)
  • recordCurrencyId (string)
  • recordEmailAddresses (object)
  • recordFreeText (string)
  • recordOpening (string)
  • reminderDate (integer)
  • reminderSendType (string)
  • reminderType (string)
  • responsibleUserId (string)
  • salesChannel (string)
  • salesInvoiceEmailAddresses (object)
  • salesOrderEmailAddresses (object)
  • startDate (integer)
  • template (boolean)
  • termOfPaymentId (string)
  • terminationReasonId (string)
  • types (array)
  • unlimited (boolean)

Contract Item properties

Supported properties of contract items:

  • addPageBreakBefore (boolean)
  • articleId (string)
  • articleNumber (string)
  • billingGroupId (string)
  • costTypeId (string)
  • customAttributes (array)
  • description (string)
  • descriptionFixed (boolean)
  • discountPercentage (string)
  • freeTextItem (boolean)
  • grossAmount (string)
  • grossAmountInCompanyCurrency (string)
  • groupName (string)
  • interval (string)
  • intervalType (string)
  • manualUnitPrice (boolean)
  • netAmount (string)
  • netAmountForStatistics (string)
  • netAmountForStatisticsInCompanyCurrency (string)
  • netAmountInCompanyCurrency (string)
  • nextContractBillingDate (integer)
  • note (string)
  • parentItemId (string)
  • positionNumber (integer)
  • previousContractBillingDate (integer)
  • quantity (string)
  • reductionAdditionItems (array)
  • taxId (string)
  • title (string)
  • type (string)
  • unitId (string)
  • unitPrice (string)
  • unitPriceInCompanyCurrency (string)
  • validFrom (integer)
  • validTo (integer)

New endpoint /contractBillingGroup

Supported methods: GET, POST, PUT, DELETE

Properties:

  • active (boolean)
  • description (string)
  • name (string)
  • positionNumber (integer)

New endpoint /contractTerminationReason

Supported methods: GET, POST, PUT, DELETE

Properties:

  • active (boolean)
  • description (string)
  • name (string)
  • positionNumber (integer)

New endpoint /contractAuthorizationUnit

Supported method: GET

Properties:

  • name (string)

Extend record items

Add descriptionFixed (boolean) to all record items.

Affected endpoints:

  • /incomingGoods
  • /purchaseInvoice
  • /purchaseOrder
  • /purchaseOrderRequest
  • /purchaseOrder
  • /quotation
  • /salesInvoice
  • /salesOrder
  • /shipment

Version 22.03.1 - February 10th, 2022

Sales Invoice

/salesInvoice

Added property:

  • cancellationNumber (String, readOnly)

Store

/warehouseStockMovement:

Add customAttribute support

Added properties:

  • userId (String)
  • customAttributes (Array)

Extend additional fields

/customAttributeDefinition

Added properties:

  • defaultStringValue (String)
  • defaultNumberValue (String)
  • defaultDateValue (Date)
  • defaultBooleanValue (Boolean)

Added property in selectableValuesdefaultValue (Boolean)

Version 22.02.1 - January 27th, 2022

Production Order

/productionOrder

Provides filter support for productionOrderItems.

Sales Order

/salesOrder

There will be a separate permission for each salesOrderPaymentType. A /salesOrder update operation will only be possible, if the user has permission for its salesOrderPaymentType.

/party

Added property customerSalesOrderPaymentType (string)

Purchase Order

/purchaseOrder

Added property invoicedQuantity (String) to purchaseOrderItems.

Purchase Invoice

/purchaseInvoice

The invoiceDate is now used to calculate the dueDate when creating a purchaseInvoice via API instead of the former used createdDate.

Added property:

  • senderCountryCode (string)

Article Supply Source

/articleSupplySource

The field articleNumber can now contain commas and semicolons

New endpoints for calendar

/calendar

Properties:

  • caldavAccountId (string)
  • calendarColor (string)
  • calendarKey (string)
  • calendarSharingPermissions (array)
  • lastEventsSyncToken (string)
  • mailAccountId (string)
  • name (string)
  • ownerId (string)
  • sharePrivateEvents (boolean)
  • synchronize (boolean)

SharingPermission properties:

  • permissionType (string)
  • userId (string)

/calendarEvent

Properties:

  • calendarId (string, readOnly)
  • userId (string, readOnly)
  • subject (string)
  • description (string)
  • startDate (integer)
  • endDate (integer)
  • location (string)
  • privateEvent (boolean)
  • concerningId (string)
  • contactId (string)
  • deleted (boolean, readOnly)
  • allDayEvent (boolean)
  • reminderTime (integer)
  • reminderSendType (string)
  • showAs (string)
  • references (array)
  • recurringEvent (object)
  • attendees (array)

Reference properties:

  • calendarEventId (string)
  • entityName (string)
  • entityId (string)

RecurringEvent properties:

  • endsOn (integer)
  • eventType (string)
  • repeatOn (string)
  • eventInterval (integer)
  • eventOccurrenceCount (integer)

Attendee properties:

  • calendarEventId (string)
  • userId (string)
  • eventPermission (string)
  • attendeeStatus (string)

Article

/article

The specific permission “Article edit article type” which currently only the role “ERP aministrator” has, will be necessary to update the following /article properties:

  • articleType
  • storable
  • batchNumberRequired
  • serialNumberRequired
  • availableInSale
  • productionArticle
  • showOnDeliveryNote
  • billOfMaterialPartDeliveryPossible
  • useSalesBillOfMaterialItemPrices
  • useSalesBillOfMaterialItemPricesForPurchase

/article property articleCategoryId is only visible with permission “Merchandise category read”.

/article property articlePrices is only visible with permission “Article price read”.

/article query filter properties articleCategoryId, articleCategory are only available with permission “Merchandise category read”.

/article query filter properties minimumStockQuantity, targetStockQuantity, articleAlternativeQuantities are only available with permission “Supply source read”.

/article query filter property showOnDeliveryNote is only available with permission “Article edit delivery information”.

/article query filter properties articlePrices is only available with permission “Article price read”.

Variant Article

/variantArticle

Added property positionNumber (integer) to variantArticleVariant.

/variantArticleVariant

Added property positionNumber (integer, readonly)

New endpoints for CRM

/party

Added properties:

  • customerNonStandardTaxId(string)
  • supplierNonStandardTaxId (string)
  • invoiceBlock (boolean)

/customer

Added property:

  • nonStandardTaxId (string)
  • incoiceBlock (boolean)

/supplier

Added property:

  • nonStandardTaxId (string)

Version 22.01.1 - January 13th, 2022

Quotation

/quotation: If user does not have permission “Store read”, hide properties:

  • warehouseId
  • warehouseName

Sales Order

/salesOrder now supports DELETE.

Purchase Order

/purchaseOrder: Allow mapping of a purchase order item to an existing blanket purchase order.

Added properties:

  • blanketPurchaseOrderId (string)
  • blanketPurchaseOrderReleaseId (string, readonly)

/blanketPurchaseOrder: Indicate if the above mapping is possible for a blanket purchase order (residualQuantity > 0 is required).

Added property:

  • residualQuantity (string, readonly)

Fulfillment Provider

/fulfillmentProvider: If user does not have permission “Store read”, hide property warehouseId.

Creating Supplier Returns

From now a supplier return can also be created via the API.

with relation to supplier

endpoint: POST /shipment

mandatory field:

“shipmentType”: “SUPPLIER_RETURN”
“recipientPartyId”: <supplierId>

with relation to purchaseOrder

endpoint: POST /purchaseOrder/id/:id/createSupplierReturn

New endpoints for Accounting & Finance

/costType

New endpoint /costType is available for: GET, POST, PUT and DELETE.

Property:

  • name (string)

/bankAccount

New endpoint /bankAccount is available for: GET, POST, PUT and DELETE.

Properties:

  • accountHolder (string)
  • accountId (string)
  • accountNumber (string)
  • active (boolean)
  • autoSync (boolean)
  • balance (string, readonly)
  • bankCode (string)
  • creditInstitute (string)
  • creditInstituteCity (string)
  • creditInstituteStreet (string)
  • creditInstituteZip (string)
  • creditLine (string)
  • currencyId (string)
  • differentSepaCreditorIdentifier (string)
  • enabledForElectronicPaymentTransactions (boolean)
  • iban (string)
  • incidentalCostsOfMonetaryTrafficAccountId (string)
  • incidentalCostsOfMonetaryTrafficTaxId (string)
  • lastDownload (integer, readonly)
  • primary (boolean)
  • qrIban (string)
  • qrIdentifier (string)
  • swiftBic (string)

/sepaDirectDebitMandate

New endpoint: /sepaDirectDebitMandate is available for: GET, POST, PUT and DELETE.

Required properties:

  • bankAccountId (string)
  • partyBankAccountId (string)
  • mandateReference (string)

Optional properties:

  • description (string)
  • signatureDate (integer)
  • cancellationDate (integer)
  • firstDebit (boolean)
  • runtime (string)
  • type (string)

/PaymentMethod

Improvements for /PaymentMethod

From now it’s possible to read and update the following values via API:

  • reference (string)
  • documentText (string)
  • discountPercentage (string)
  • discountValue (string)
  • type (string)
  • clearingAccount (string)
  • autoClearingAccountTransaction (boolean)

Comments

Added constraints for UPDATE/CREATE of shouts

      • if (privateComment AND publicComment)
        throw “comments cannot be private and published at the same time”
      • if (solution AND NOT publicComment)
        throw “comment marked as solution must be public
      • if isChildComment
        • if mixed entities ; eg. project comment with ticket subComment
          throw “referenced entities are not the same for parent and child comment
        • if subComment of subComment
          throw “only one level of child comments is allowed
        • if solution
          throw “comments with parent cannot be solution
        • if (privateComment OR publicComment)
          throw “comments with parent cannot be private or public
      • if service does not support public comments (this is currently only available for Tickets)
        • if (NOT privateComment AND NOT publicComment)
          throw “comments have to be either private or public”
        • if solution
          throw “comment cannot be a solution”

Version 21.20.1 - November 25th, 2021

Blanket Purchase Orders

Blanket purchase orders are now available via API with the new endpoint /blanketPurchaseOrder.

This endpoint can be used to create, read, edit and delete blanket purchase orders.

Available for: GET, POST, PUT, DELETE

Possible status:
NEW
DOCUMENT_PRINTED
CONFIRMED
CLOSED
CANCELLED

You can generate releases for a blanket purchase order with
POST /blanketPurchaseOrder/id/{id}/generateReleases

You can download the latest blanket purchase order document (if existent) with
GET /blanketPurchaseOrder/id/{id}/downloadLatestBlanketPurchaseOrderPdf

Endpoint /customsTariffNumber

Added property: description (string)

Affected endpoints:

  • /articleAccountingCode
  • /articleRating
  • /companySize
  • /costCenterGroup
  • /customerLeadLossReason
  • /customerTopic
  • /customsTariffNumber
  • /leadRating
  • /leadSource
  • /legalForm
  • /manufacturer
  • /opportunityTopic
  • /opportunityWinLossReason
  • /partyRating
  • /personalAccountingCode
  • /sector
  • /title

Dropshipping Improvements

  • /purchaseOrder: The order item quantity for a dropshipping purchase order is now validated such that it cannot be larger than the open shipping quantity of the linked sales order.
  • /salesOrder: The order item quantity is now validated such that it cannot be smaller than the quantity contained in possible linked dropshipping purchase orders.
  • /salesOrder/id/:id/createDropshipping: Creation of a dropshipping purchase order is not possible if all sales order items already belong to valid shipments or other dropshipping purchase orders.

Version 21.19.1 - November 11th, 2021

Articles: Added properties for disposition settings

Article related settings “Safety stock days”, “Avg. delivery time”, “Minimum order quantity” and “Fixed order quantity” data can be read and update through API from now. Also “Low-level code” can be read through API.

Endpoint /article

Added properties:

    • fixedPurchaseQuantity  (string)
    • minimumPurchaseQuantity (string)
    • safetyStockDays (integer)
    • averageDeliveryTime (integer)
    • lowLevelCode (integer, readonly)

Endpoint /articleSupplySource

Added properties:

    • fixedPurchaseQuantity (string)
    • minimumPurchaseQuantity (string)

Shipments

Endpoint /shippingCarrier

Added writeable property active (boolean) to shippingCarrier endpoint in order to be able to see which shipping carriers are active as well as the possibility of activating and deactivating shipping carriers.

Endpoint /shipment

New fields in shipment:

    • packageReturnTrackingNumber(string)
    • packageReturnTrackingURL(string)

General Improvements

Using system custom attributes to filter

Allow to filter entities using system custom attributes.

Add currency conversion information

Added read-only properties for currency conversion:

    • currencyConversionRate (string)
    • currencyConversionDate (integer)

Affected endpoints:

    • /purchaseInvoice
    • /purchaseOrder
    • /purchaseOrderRequestOffer
    • /quotation
    • /salesOrder
    • /salesInvoice
    • /shipment

Extend /termsOfPayment

From now it’s possible to read and update the following values via API:

    • reference (string)
    • validFrom (integer)
    • validTo (integer)

Extended validation

Properties of type boolean may no longer be null, which was still possible in certain cases up to now.

Version 21.18.1 – October 28th, 2021

Add more values to onlineAccount

  • AMAZON
  • EBAY
  • GOOGLE_DRIVE

New Endpoints for Personal Accounting Code and Article Accounting Code

New endpoints /articleAccountingCode and /personalAccountingCode are available for: GET, POST, PUT and DELETE. Only the field “name” is mandatory for the POST method.

Changes for Endpoint Shipment

Regardless of the status of the shipment, the following fields are always editable:

  • shippingCarrierId
  • shippingCarrierName
  • shippingReturnCarrierId
  • shippingReturnCarrierName
  • additionalDeliveryInformation

Add more values to internalShippingCarrier

  • FEDEX_INTERNATIONAL_ECONOM
  • FEDEX_INTERNATIONAL_PRIORITY

Extensions at the /productionOrder endpoint

The following new properties are added:

  • allWithdrawalsConfirmed (boolean)
  • articleId (string)
  • articleNumber (string)
  • assignedPickingUserId (string)
  • assignedPickingUserUpdateDate (integer)
  • assignedPickingUserUsername (string)
  • pickingInstructions (string)
  • withdrawalsComplete (boolean)

Version 21.17.1 – October 14th, 2021

New endpoint for quotations

With the newly available endpoint /quotation/id/{id}/createQuotationPdf it is possible to create and download a quotation document.

Shipments & Incoming Goods

Shipment api: Shipments won’t be shown anymore if the recipientParty is a party which the user can’t see (Setting “May only view own contacts” enabled at user)

Incoming goods api: Incoming goods won’t be shown anymore if the senderParty is a party which the user can’t see (Setting “May only view own contacts” enabled at user)

User is added to documents API endpoint

When retrieving document information, the user, who uploaded the document, is now also displayed.
Fields: userId

New field for record endpoints

New field disableEmailTemplate (Boolean) for the following record endpoints:

/purchaseOrderRequest, /shipment, /incomingGoods, /purchaseOrder, /purchaseInvoice, /salesInvoice, /salesOrder, /quotation

Italy: Fattura Elettronica

If the optional invoice workflow action “Create Fattura elettronica-XML” is active, sales orders of payment type “retail sale” cannot be created anymore.

Version 21.16.1 – September 30th, 2021

External connections

New endpoint /externalConnection

Used to get the name and externalConnectionType of externalConnections. ExternalConnections are used in the new ecommerceOrder attribute of salesOrders.

New article fields

With our external connections improvements, system additional fields (per store connection) are added as customAttributes to articles. The following attributes were added:

  • Showare5, Shopware6, Magento1, Magento2, WooCommerce & Shopify: “Available in shop”, “Active in shop” and “Sync stock”
  • Shopify: “Variant ID” & “Product ID”
  • Shopware 6: “Sales Channel”.
  • ITscope & Synaxon: “Available in shop
  • Amazon: “Sync stock


Breaking API Change:
In this context the article fieldavailableInShopis removed
and will be listed under customAttributes of the article.


Removement of Amazon Article fields

Breaking API Change: Amazon fields  amazonSKU, amazonFBASKU, amazonSmallLightSku and amazonASIN have been removed from the API and will be listed under customAttributes of the article.

 

New field ecommerceOrder and attributes for sales orders and sales order items

ecommerceOrderis added as new field with the the following attributes:

  • ecommerceId ->Shop-ID for this sales order
  • externalConnectionId-> weclapp ID for external connection 
  • externalConnectionName -> name external connection
  • ecommerceOrderItemId -> for shops OrderId and for Amazon OrderItemId is listed

Custom Attributes

systemCustomAttribute is a new boolean attribute of /customAttributeDefinition. It’s not changeable or setable via the API (New creation sets “false”).

New fields & endpoint for articles

New fields expenseAccountId and expenseAccountNumber for endpoint /article.

New field customsDescription in endpoint /article.

Party Salutation

The field “salutation” in /party now also accepts the value “NO_SALUTATION”.

Shipments

New endpoint for shipments

Create an invoice from shipment by using POST /shipment/id/{id}/createSalesInvoice

Thus an invoice can be created directly from shipment, before it was only possible from sales order.

New fields for shipment addresses

Incoming Goods

  • customerDeliveryAddress: Primary shipping address of the customer in case of a return
  • customerInvoiceAddress:Primary billing address of the customer in case of a return
  • invoiceAddress:Billing address

 Shipments

  • invoiceAddress: Different billing address
  • shippedFromAddress: Own company address

Additionally all fields are available via PUT.

Improved validation for /contact

When creating a contact, the API now tells the requester which mandatory field is not filled.

Italy

Fattura Elettronica

Breaking API Change: The field fatturaElettronicaXmlDocumentType in endpoint salesInvoice is removed and instead an additional attribute can be filled with the same values.

Habitual Exporter

New fields for endpoint /party

  • habitualExporter writable for customers
  • purchaseViaPlafond writable for suppliers
  • partyHabitualExporterLettersOfIntent writable for customers with habitualExporter = true and for suppliers with purchaseViaPlafond = true

New field for endpoints /purchaseInvoice and /purchaseOrder

  • supplierHabitualExporterLetterOfIntentId writable to select a letter of intent in purchase order or purchase invoice

New field for /salesInvoice and /salesOrder

  • customerHabitualExporterLetterOfIntentId writable to select a letter of intent in sales order or sales invoice

To write all of the above fields, “Habitual Exporter & Purchase via Plafond” needs to be enabled in CRM settings.

Version 21.15.1 – September 16th, 2021

Description for sales and purchase prices

The field name has been added for reductionAdditions.

Available for endpoints:
/articlePrice
/articleSupplySource
/article

 

Reference between shipments and purchase orders

For shipments, the reference to a purchase order was added.

This is relevant for supplier returns.

The purchase orders are referenced via: purchaseOrders (Array[id])

Version 21.14.1 – September 2nd, 2021

Unification of the field type “description”

  • html tags are now included for /description and can be passed to weclapp via PUT.
  • description field  is added for /purchaseOrderRequest, /productionOrder, /shipment.
  • description can now be edited by API, if the document is no longer in capture (previously this was only possible in the application)

HTML text editor for form texts

  • html text editor available for all form texts
  • API fields/recordComment, /recordFreeText, /recordOpening:html tags are now included, via PUT they can also be passed to weclapp accordingly.

Version 21.13.2 – August 26th, 2021

New fieldadvancePaymentStatus for endpoint /salesOrder

advancePaymentStatus as new property for sales orders.

Possible values are: null, OPEN or PAID

Version 21.13.1 – August 19th, 2021

User Setting: Not allowed to use API token

Decide if specific users should not be able to use the API token (My weclapp > User).

New fieldreservationsfor endpoint/warehouseStock

Reservations show the reserved quantity of the stock and the production order or shipment item for which the reservation is made.

"reservations": [
{"productionOrderItemId": "X",
"shipmentItemId": "X",
"reservedQuantity": "X" }
]

 

New field customerBusinessType for endpoint /party

New field customerBusinessType for the endpoint /party.
Possible values are: B2B, B2C, B2G

Version 21.12.1 – August 5th, 2021

Invoices

SalesInvoice can now be canceled via API by using the “VOID” status.

Incoming Goods

incomingGoods can be cancelled by using the status “INCOMING_CANCELLED”.

New endpoint: legalForm

New endpoint legalForm is available with: GET, PUT, POST, DELETE

With this endpoint, legal forms can be created and edited.

Purchase Order Request

New fields for endpoint purchaseOrderRequest

* purchaseOrderRequestNumber
* salesOrderId
* salesOrderNumber
* quotationId
* quotationNumber

API Changes only for italian customers (using FatturaPA)

  • validation for sales invoice/credit note number range
  • deactivation of invoices/credit notes cancellation for italian tenants

Further details can be read in our Changelog as soon as published.

Version 21.10.1 – July 8th, 2021

Sales order items

  • The fields invoicedQuantity and shippedQuantity are now available for sales order items. The fields show how much has already been shipped/invoiced.

Version 21.09.1 – June 24th, 2021

Party

The supplier number of customer (customerSupplierNumber) has been added to the party entity. The field is available as GET and PUT.

Article

The “revenue account field” (accountId) has been added and is available via GET and PUT.

Quotations

Accept or reject quotations by API. Set the field status to ACCEPTED or REJECTED. When accepting a quotation all items will be transfered to the next record, for example sales order.

Shipments

The declared value amount of shipments is now availably by API. The fields declaredValueAmount, declaredValueAmountCurrencyId and declaredValueAmountCurrencyName have been added to /shipment.

Customer Return

The differing invoice recipient for customer returns is now available by API. UseinvoiceRecipientId for /incomingGoods for incomingGoodsType = “CUSTOMER_RETURN”.

Sales Invoices

New read-only field paymentStatus for /salesInvoice.

Read by API if the sales invoice or credit note has no open item, has an open item, is paid, or cleared (with a credit note).

Quotation-, Sales Order- and Sales Invoice Items

The fields ServicePeriodFrom and ServicePeriodTo are available via GET, PUT, POST for quotation-/ salesOrder- and salesInvoiceItems.

Purchase Order & Purchase Invoice

The fields ServicePeriodFrom and ServicePeriodTo are available via GET, PUT, POST.

Version 21.08.1 – June 10th, 2021

Supplier requests

Supplier requests are now available via API with the new endpoint /purchaseOrderRequest

This endpoint can be used to read, edit or create supplier requests.

Available for: GET, POST, PUT, DELETE

Possible status:

  • NEW
  • CLOSED
  • CANCELLED
  • DOCUMENT_PRINTED
  • OFFER_RECEIVED

Status for purchaseOrderRequestOffers:

  • OPEN
  • REQUESTED
  • OFFER_RECEIVED
  • ACCEPTED

You can create a purchase order or a blanket purchase order from the supplier request:

POST /purchaseOrderRequest/id/{id}/createPurchaseOrder

POST /purchaseOrderRequest/id/{id}/createBlanketPurchaseOrder

Purchase order items

The fields plannedDeliveryDate and plannedShippingDate have been added to purchaseOrderItems.

Quotations

The fields warehouseId and warehouseName have been added to /quotation.

Shipments

The link of shipment items to sales order items is now available by API.

New field salesOrderItemId in shipmentItems in /shipment (read-only).

Version 21.07.1 – May 27th, 2021

New endpoint for  sales orders (salesOrder)

POST /createDropshipping
POST /createPurchaseOrder

This endpoint can be used to create a purchase order or a dropshipping from a sales order.

Upload shipping labels for shipments

Shipping labels (only PDF files) can now be uploaded for shipments. Use the parameters name and description (optional).
POST /shipment/id/{ID}/createShippingLabelPdf?name=XYZ&description=XYZ

Article cost centers

Article cost centers are now available via the API. Extension of the endpoint /article with the fields:

  • purchaseCostCenterId
  • purchaseCostCenterNumber
  • salesCostCenterId and
  • salesCostCenterNumber

 

Accounting transactions (accountingTransaction)

Next to the transactionDetails, the currency is now also part of the /accountingTransaction. New fields currencyId and currencyName in endpoint /accountingTransaction.

Changing the data types of some properties from integer to string

  • /incomingGoods
    purchaseOrderId (int -> string)
  • /salesOrder
    defaultShippingCarrierId,defaultShippingReturnCarrierId (int -> string)
  • /shipment
    shippingCarrierId, shippingReturnCarrierId (int -> string)

Version 21.06.1 – May 12th, 2021

Opportunities
Opportunities can be filtered by topics and topics can be used as referenced entities:
/webapp/api/v1/opportunity?topics.name-eq=<name>&includeReferencedEntities=topics.id

Version 21.05.1 – April 29th, 2021

Sales Order
New endpoint /salesOrder/id/{id}/shipOrderForExternalFulfillment
available for: POST

 

Sales and Purchase Invoices
Extension to up to five “costCenterItems” per “salesInvoiceItems” or per “purchaseInvoiceItems”.

Version 21.04.1 – April 15th, 2021

Phone Number in Addresses
The field “phoneNumber” has been added to all addresses (e.g. for the endpoints/party, /salesOrder, /salesInvoice).

 

Opportunities

New endpoint /opportunityTopic (topics of opportunities)

Available for: GET, POST, PUT, DELETE

Extension of the opportunity endpoint /opportunity with the array field “topics”.

 

Tasks

Pivate tasks must have an agent.